javascript/php

gemini

Client
Регистрация
10.03.2011
Сообщения
160
Благодарностей
31
Баллы
28
Is that possible somehow to pass multiline string to JavaScript?

I'm using such code:

{-JS.Execute-|-var strin="{-File.GetBlock-|-\Results\web20\acccounts.txt-|--|-random-|-false-}";-}
And when result is multiline (which is the purpose of using JS) I'm getting an error.

Macros execution JS.Execute step: zmienne_post field: ≡8≡2≡2≡9≡6≡0≡2≡6≡7≡ Target object raised exception
And a second thing.
There is php interpreter embeded within zennoposter installation.
I tried to use it to handle my problem from php, however when I use
"own program" (I'd rather avoid using web server for doing this since script should read local files), execution result of the script is "0".
I thought execution result will be STDOUT output generated by php script. Shouldn't that be?

As a binary path I used:
"C:\Program Files (x86)\ZennoLab\ZennoPoster Lite\Progs\Bin\3rdparty\PHP\php.exe" "C:\Program Files (x86)\ZennoLab\ZennoPoster Lite\Progs\web20\create\go.php"
Paths are correct - after pasting that into command line I see desired result. While after executing in Zenno the result is 0.
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)