Re: [PHP] Server error

2007-08-26 Thread Richard Lynch
On Tue, August 21, 2007 6:14 am, Humani Power wrote: > Hi everybody. I have a Fedora Core 7 with php 5, and I want to upload > an > image. > The funniest thing is that my script works fine in other computer but > not in > this one. > I look for the error in /var/log/httpd/error.log and I found th

Re: [PHP] Server error

2007-08-21 Thread Borokov Smith
Hi dr Nick, The $_FILES autoglobal contains an error code if something went wrong. What is the code set to ? Regards, boro Humani Power schreef: Hi everybody. I have a Fedora Core 7 with php 5, and I want to upload an image. The funniest thing is that my script works fine in other computer bu

[PHP] Server error

2007-08-21 Thread Humani Power
Hi everybody. I have a Fedora Core 7 with php 5, and I want to upload an image. The funniest thing is that my script works fine in other computer but not in this one. I look for the error in /var/log/httpd/error.log and I found this [Tue Aug 21 15:52:46 2007] [notice] caught SIGTERM, shutting down

Re: [PHP] server error or script error

2007-03-12 Thread Richard Lynch
On Thu, March 8, 2007 3:38 am, Ross wrote: > > include ('../phpscripts/connect.php'); > $id = $_GET['id']; > > $query = "SELECT * FROM mypdfs WHERE id =$id"; > > $result= mysql_query($query) or die('Error, query failed'); > > if (!mysql_num_rows($result)) > { >die("No matching records were fou

Re: [PHP] server error or script error

2007-03-08 Thread Tijnema !
On 3/8/07, Ross <[EMAIL PROTECTED]> wrote: I use this script but is had sudenly stop working. I think it is a config change on the remote server. The porblem is the file either doesn't open or downloads as download.php Can anyone suggest a way to improve this script or debug to fins out if it

Re: [PHP] server error or script error

2007-03-08 Thread Ross
guess the problem is here : $query = "SELECT * FROM mypdfs WHERE id =$id"; Change it to : $query = "SELECT * FROM mypdfs WHERE id =".$id; -Message d'origine- De : Ross [mailto:[EMAIL PROTECTED] Envoyé : jeudi 8 mars 2007 09:39 À : php-general@lists.php.net Objet : [PHP

RE: [PHP] server error or script error

2007-03-08 Thread Flavien CHANTELOT
I guess the problem is here : $query = "SELECT * FROM mypdfs WHERE id =$id"; Change it to : $query = "SELECT * FROM mypdfs WHERE id =".$id; -Message d'origine- De : Ross [mailto:[EMAIL PROTECTED] Envoyé : jeudi 8 mars 2007 09:39 À : php-general@lists.php

[PHP] server error or script error

2007-03-08 Thread Ross
I use this script but is had sudenly stop working. I think it is a config change on the remote server. The porblem is the file either doesn't open or downloads as download.php Can anyone suggest a way to improve this script or debug to fins out if it is a script error or server error. R.

Re: [PHP] Server Error : Premature end of script headers: php-engine

2004-08-24 Thread Karam Chand
Hi, Thanks for your continued help. Even I was wondering the same problem. So I went ahead to look into the ini settings. My local memory limit is 8M as well as the ISP one. The timeout for my local PHP is 300 secs and timeout for my ISP is 30 secs. Even if I try to reduce my local timeout valu

Re: [PHP] Server Error : Premature end of script headers: php-engine

2004-08-24 Thread Curt Zirzow
* Thus wrote Karam Chand: > Hello, > > Connecting to the PHP using Windows WinInet APIs. Mine > is a C++ app that connects to the PHP and gets data. > > The above probcess works like a cheese for tables upto > 10-20K but when I put on more heavy load like the > table described, WinInetAPI returns

Re: [PHP] Server Error : Premature end of script headers: php-engine

2004-08-24 Thread Karam Chand
Hello, Connecting to the PHP using Windows WinInet APIs. Mine is a C++ app that connects to the PHP and gets data. The above probcess works like a cheese for tables upto 10-20K but when I put on more heavy load like the table described, WinInetAPI returns with the following error. Regards, Karam

Re: [PHP] Server Error : Premature end of script headers: php-engine

2004-08-24 Thread Curt Zirzow
* Thus wrote Karam Chand: > Hello, > > I have a fairly big table of 60K rows with 9 cols. > > I have a C++ app that connects to a PHP page. This PHP > page in turn connects to the above table and outputs > all the row in form of XML. I get all this data in my > C++ app, parse it with an XML pars

[PHP] Server Error : Premature end of script headers: php-engine

2004-08-24 Thread Karam Chand
Hello, I have a fairly big table of 60K rows with 9 cols. I have a C++ app that connects to a PHP page. This PHP page in turn connects to the above table and outputs all the row in form of XML. I get all this data in my C++ app, parse it with an XML parser and do my work. My PHP source looks som

RE: [PHP] server error sending email from script

2002-10-06 Thread Timothy J Hitchens
--Original Message- From: John [mailto:[EMAIL PROTECTED]] Sent: Monday, 7 October 2002 12:32 PM To: [EMAIL PROTECTED] Subject: [PHP] server error sending email from script Q: If I'm not on the server that is to be used to send the email, how can I configure PHP to send from a certain ser

Re: [PHP] server error sending email from script

2002-10-06 Thread Jason Reid
CTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, October 06, 2002 8:31 PM Subject: [PHP] server error sending email from script Q: If I'm not on the server that is to be used to send the email, how can I configure PHP to send from a certain server? thanks all Warning: Server Error in c:\p

[PHP] server error sending email from script

2002-10-06 Thread John
Q: If I'm not on the server that is to be used to send the email, how can I configure PHP to send from a certain server? thanks all Warning: Server Error in c:\program files\apache group\apache\htdocs\sonicmailer\sonicadmin.php on line 276 and line 276 is mail($address, stripslashes($subject)

RE: [PHP] PHP server error...

2002-06-24 Thread John Holmes
TECTED] > Subject: [PHP] PHP server error... > > Okay, I am a total pussy and gave up on Linux to run my PHP server. I'm > back to Win98, and everything is working fine except... > > For some reason, anytime I have a script that tries to set/access a > session variable, I

[PHP] PHP server error...

2002-06-24 Thread Phil Schwarzmann
Okay, I am a total pussy and gave up on Linux to run my PHP server. I'm back to Win98, and everything is working fine except... For some reason, anytime I have a script that tries to set/access a session variable, I get this error Warning: open(/tmp\sess_slkfjsdkjfljfk, O_RDWR) failed: m

Re: [PHP] Server error when executing mail() function

2002-05-28 Thread Paul Cuthbertson
hbertson > To: [EMAIL PROTECTED] ; Tyler Longren > Sent: Tuesday, May 28, 2002 10:27 AM > Subject: Re: [PHP] Server error when executing mail() function > > > I'm afraid all I get is: > > Warning: Server Error in d:\htdocs\scriptname.php on line 19 > > Line 19 being

RE: [PHP] Server error when executing mail() function

2002-05-28 Thread Jared Boelens
are like 10 headers but none of them are ended properly with CRLF. Hope this helps -Jared -Original Message- From: Paul Cuthbertson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 28, 2002 11:49 AM To: Tyler Longren; [EMAIL PROTECTED] Subject: Re: [PHP] Server error when executing mail

Re: [PHP] Server error when executing mail() function

2002-05-28 Thread Paul Cuthbertson
To: "Paul Cuthbertson" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: 28 May 2002 16:34 Subject: Re: [PHP] Server error when executing mail() function > Try this thread on phpbuilder.com: > http://www.phpbuilder.com/forum/read.php3?num=4&id=6681&loc=0&threa

Re: [PHP] Server error when executing mail() function

2002-05-28 Thread Tyler Longren
ck Communications www.captainjack.com [EMAIL PROTECTED] - Original Message - From: Paul Cuthbertson To: [EMAIL PROTECTED] ; Tyler Longren Sent: Tuesday, May 28, 2002 10:27 AM Subject: Re: [PHP] Server error when executing mail() function I'm afraid all I get is: Warning: Server Error in d:\ht

Re: [PHP] Server error when executing mail() function

2002-05-28 Thread Paul Cuthbertson
;Paul Cuthbertson" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: 28 May 2002 16:14 Subject: Re: [PHP] Server error when executing mail() function > Is 'Server Error' all you get? > If there's more, please post the whole error message. ;-) > > thanks! > t

Re: [PHP] Server error when executing mail() function

2002-05-28 Thread Tyler Longren
Is 'Server Error' all you get? If there's more, please post the whole error message. ;-) thanks! tyler - Original Message - From: "Paul Cuthbertson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 28, 2002 9:06 AM Subject: [

[PHP] Server error when executing mail() function

2002-05-28 Thread Paul Cuthbertson
Hi, I keep getting a 'Server Error' when executing the mail() function. I thought the problem was the SMTP server in php.ini, so I've tried several alternatives (including my Outlook smtp and free smtp servers). I'm starting to think that it's not that that's causing the problem. Is there anyt