RE: [PHP] RE: [PHP-DEV] WEIRD, WEIRD problem with upgrade to 4.0.5
wel then it's up to you.. goodluck! =) -Original Message- From: Maxim Maletsky [mailto:[EMAIL PROTECTED]] Sent: Friday, May 11, 2001 11:25 AM To: '[EMAIL PROTECTED]'; 'Vlad Krupin' Cc: 'PHP General List. (E-mail)'; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP] RE: [PHP-DEV] WEIRD, WEIRD problem with upgrade to 4.0.5 nope, I won't give up. disabling '//' is so bad.. just think how much trouble I'm creating for my team. (Although, I in fact never use '//', I use '#' instead. That is why I noticed the problem so late = 20 minutes of downtime yesterday) Cheers, Maxim Maletsky -Original Message- From: Jude [mailto:[EMAIL PROTECTED]] Sent: Sunday, May 06, 2001 6:53 PM To: Maxim Maletsky; 'Vlad Krupin' Cc: 'PHP General List. (E-mail)'; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP] RE: [PHP-DEV] WEIRD, WEIRD problem with upgrade to 4.0.5 or simply you can use another comment tags.. like /* */ =) -Original Message- From: Maxim Maletsky [mailto:[EMAIL PROTECTED]] Sent: Friday, May 11, 2001 11:09 AM To: '[EMAIL PROTECTED]'; 'Vlad Krupin' Cc: 'PHP General List. (E-mail)'; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP] RE: [PHP-DEV] WEIRD, WEIRD problem with upgrade to 4.0.5 But why? 1. on 4.0.1pl2 it worked. 2. I noticed it even on a function(); // comment as well. I will restart experimenting later again. I think I should upgrade my apache first, then recompile PHP, and try it again. It seems to me more of a stupid problem, I have no idea why that happen. Everything works unless there's an '//', then it starts showing the code up. Cheers, Maxim Maletsky -Original Message- From: Jude [mailto:[EMAIL PROTECTED]] Sent: Sunday, May 06, 2001 6:37 PM To: Maxim Maletsky; 'Vlad Krupin' Cc: 'PHP General List. (E-mail)'; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP] RE: [PHP-DEV] WEIRD, WEIRD problem with upgrade to 4.0.5 hi why not try to enclose the parameters to () or try this? "); ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] RE: [PHP-DEV] WEIRD, WEIRD problem with upgrade to 4.0.5
hi why not try to enclose the parameters to () or try this? "); ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] RE: [PHP-DEV] WEIRD, WEIRD problem with upgrade to 4.0.5
or simply you can use another comment tags.. like /* */ =) -Original Message- From: Maxim Maletsky [mailto:[EMAIL PROTECTED]] Sent: Friday, May 11, 2001 11:09 AM To: '[EMAIL PROTECTED]'; 'Vlad Krupin' Cc: 'PHP General List. (E-mail)'; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP] RE: [PHP-DEV] WEIRD, WEIRD problem with upgrade to 4.0.5 But why? 1. on 4.0.1pl2 it worked. 2. I noticed it even on a function(); // comment as well. I will restart experimenting later again. I think I should upgrade my apache first, then recompile PHP, and try it again. It seems to me more of a stupid problem, I have no idea why that happen. Everything works unless there's an '//', then it starts showing the code up. Cheers, Maxim Maletsky -Original Message- From: Jude [mailto:[EMAIL PROTECTED]] Sent: Sunday, May 06, 2001 6:37 PM To: Maxim Maletsky; 'Vlad Krupin' Cc: 'PHP General List. (E-mail)'; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP] RE: [PHP-DEV] WEIRD, WEIRD problem with upgrade to 4.0.5 hi why not try to enclose the parameters to () or try this? "); ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] How to let PHP cgi find oracle TNS?
I use PHP (version 4.0.3pl1) as a cgi on my IIS web server with NT4.0. But I find when I try to connect a distant Oracle database, PHP can not find the correct TNS name, quoted as followings: Warning: Unable to connect to ORACLE (ORA-12154: TNS:could not resolve service name) in E:\website\yktest\web\includes\db\dbenv.php on line 4 But I have the correct TNS, through which I can connect to Oracle using SQL*PLUS, configured on the machine, using SQL*NET configuration tool. I don't know why, can anyone help me?
[PHP] How to let PHP cgi find oracle TNS?
I use PHP (version 4.0.3pl1) as a cgi on my IIS web server with NT4.0. But I find when I try to connect a distant Oracle database, PHP can not find the correct TNS name, quoted as followings: Warning: Unable to connect to ORACLE (ORA-12154: TNS:could not resolve service name) in E:\website\yktest\web\includes\db\dbenv.php on line 4 But I have the correct TNS, through which I can connect to Oracle using SQL*PLUS, configured on the machine, using SQL*NET configuration tool. I don't know why, can anyone help me? Jude Chen
[PHP] sending mail.. PLEASE HELP!
If I was to send mail could I possibly send it using mail() function or I need to setup some things to make it work properly? Everytime I run my PHP script, it always gives me an Error: Failed to Connect to c:\inetpub\wwwroot\ and it was pointing to my mail() function. I just followed what the book says and I guess there is a part of it that I missed or whatever. Could someone help me? Thanks!!! Jithy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] sending mail.. PLEASE HELP!
Hi thanks!!! I should've change my SMTP first.. geezz!! That makes me 10 times smarter than before. It is working now.! Thanks a lot! -Original Message- From: Plutarck [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 12, 2001 10:12 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] sending mail.. PLEASE HELP! You need to alter your php.ini file in the mail section to point the proper path to sendmail, and you need some form of sendmail there for PHP to point to in the first place! So there's no just calling mail() without setting stuff up. -- Plutarck Should be working on something... ...but forgot what it was. ""Jude Sanglitan"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > If I was to send mail could I possibly send it using mail() function or I > need to setup some things to make it work properly? Everytime I run my PHP > script, it always gives me an Error: Failed to Connect to > c:\inetpub\wwwroot\ and it was pointing to my mail() function. > > I just followed what the book says and I guess there is a part of it that I > missed or whatever. Could someone help me? Thanks!!! > > > Jithy > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] sending mail.. PLEASE HELP!
Oops! How can I prevent this? Fatal error: Maximum execution time of 30 seconds exceeded in C:\Inetpub\wwwroot\TFC Survey Form\mailform.php on line 17 -JS -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] sending mail.. PLEASE HELP!
It might be a time-out but can I avoid this message by writing an Error handler to my PHP script? f it is possible, how? Thanks -Original Message- From: Michael Hall [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 12, 2001 9:05 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: [PHP] sending mail.. PLEASE HELP! Are you doing a bulk mail out or something like that? Your script is timing out. The max_execution_time can be changed in php.ini Mick On Thu, 12 Apr 2001, Jude Sanglitan wrote: > Oops! How can I prevent this? > > Fatal error: Maximum execution time of 30 seconds exceeded in > C:\Inetpub\wwwroot\TFC Survey Form\mailform.php on line 17 > > > -JS > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]