[PHP] numbers problem
Hi, I'm using a mysql connection to dinamically fill a table with descriptions, prices, and so on... But when the script takes the price of a Plasma Monitor, that costs 8025.00 $, it outputs only 8,00. I recall it by typing : echo $row_Recordset1['Prezzo'] And please note that I've seen that it happens only when $row_Recordset1['Prezzo'] > 1000 Can anyone tell me why and what can I do ? Please answer me, it's very important... Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] send a mail
Hi, I am new of php I have a file: send.php3 c:\type f:/http/php/send.php3 c:\ when I get the page from my web server(apache under Win NT), the mail is sent correctly, but the browser is hung for 30 seconds, and after I have the following error: Fatal error: Maximum execution time of 30 seconds exceeded in f:/http/php/send.php3 on line 4 Someone can help me? Thanks Emanuele -- 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] send a mail
the smtp part is configured like this: [mail function] SMTP = mysmtpserver sendmail_from = [EMAIL PROTECTED] there something else inside php.ini that I should change? P.S. other scripts work fine...I have this error just in using mail(); Delbono wrote: > To me, the SMTP in php.ini is wrongly configured. > > Secondo me รจ settato male l'SMTP nel php ini. > Ciao > > > Hi, I am new of php > > > > I have a file: send.php3 > > > > c:\type f:/http/php/send.php3 > > > mail("[EMAIL PROTECTED]", "Subject test", "test text"); > > ?> > > c:\ > > > > when I get the page from my web server(apache under Win NT), the mail is > > sent correctly, but the browser is hung for 30 seconds, and after I > > have the following error: > > > > Fatal error: Maximum execution time of 30 seconds exceeded in > > f:/http/php/send.php3 on line 4 > > > > Someone can help me? > > > > Thanks > > > > Emanuele > > > > > > -- > > 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] where does the visitor come from?
Hi, I call a script from an html page (for example "test.htm") in this way: This script returns at the end an image, but before it takes and save to a file some informations like the visitor's ip and where he comes from ($refer=$HTTP_USER_AGENT). My problem is that $refer gives me always "http:///test.htm";(that's normal by the way) which is the page who call the script with the "img" html tag. What I want to have in $refer is the url of the page that contain the link who has direct the visitor in my page "test.htm" which will call then the script myscript.php. There is a way for do this?(I guess yes, but I find nothing about this) Thanks --- *Emanuele De Fazio* Unix Administrator SchlumbergerSema - Sema S.p.A. Viale Carlo Viola, 76 11026 Pont Saint Martin (AO) Italy Phone: + 39.0125.810373 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]