Re: [PHP-WIN] vbscript not running in php but running as a vbs file

2009-05-23 Thread Rui
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 an

[PHP-WIN] Re: vbscript not running in php but running as a vbs file

2009-05-23 Thread Geoff Lane
On Saturday, May 23, 2009, Sascha Meyer wrote: > Doh! > Now I found the error: >> if i add this to a php page with the tags >> >> .. >> > 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 (

Re: [PHP-WIN] vbscript not running in php but running as a vbs file

2009-05-23 Thread Sascha Meyer
Doh! Now I found the error: if i add this to a php page with the tags .. 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

Re: [PHP-WIN] vbscript not running in php but running as a vbs file

Hi Rui, Rui wrote: hi im having a problem with a vbscript that sends mail . first of all, why do you try to send a mail through the use of a vbs file? Consider switching to php's mail function (http://www.php.net/mail), with your preferred mail server set up in php.ini (or you can dynamically

[PHP-WIN] vbscript not running in php but running as a vbs file

hi im having a problem with a vbscript that sends mail . Set objMessage = CreateObject("CDO.Message") objMessage.Subject = "mysubject" objMessage.From = "mymail" objMessage.To = "destinator" objMessage.TextBody = "mytextbody" objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/