Re: vbscript not running in php but running as a vbs file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi all

thks all for the pointers .

sascha for sure you are a PHP Most Value Professional :)
i was not aware that i could set the values dynamically with init_set ....that is way i didnt go for the php mail function as i didnt want to be dependant on php configuration .

i will try both vbs and phpmail to keep my options open and of course just for the fun of it .

thks again
rgds
rui


"Sascha Meyer" <harlequin2@xxxxxx> wrote in message news:4A17C09F.5010409@xxxxxxxxx
Doh!

Now I found the error:

if i add this to a php page with the tags
<SCRIPT LANGUAGE="VBScript">
......
</SCRIPT>

these lines will not be rendered by the server, the will directly be send to the browser, so the browser will try to execute this part of code (and only IE will process vbscript tags).
If you want the server to process the code, switch to:

> <SCRIPT LANGUAGE="VBScript" RUNAT="Server">
> ......
> </SCRIPT>

but to be honest, I don't know if these lines will be parsed if they are part of a php script file (which will be handled by php-cgi.exe); if they were part of an asp script file, they will likely work.

Regards,

Sascha


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux