Re: [PHP] Error that I can't find causing header() to fail

2003-12-10 Thread TheHeadSage
Is the HTML code before or after the header? As the header(); function should be before any output is passed to the browser. I advise you read about the header() function in the PHP manual. - Original Message - From: "rogue" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, Dece

Re: [PHP] Random Numbers.. [Solved, Ignore]

2003-12-06 Thread TheHeadSage
Sorry for this e-mail, When I wrote this, my e-mail server was down, and it was archived for sending. By the time the e-mail server was restored, I had solved this problem. - TheHeadSage - Original Message - From: "TheHeadSage" <[EMAIL PROTECTED]> To: <[EMAIL PROTE

[PHP] Random Numbers..

2003-12-06 Thread TheHeadSage
Hey, I've got a script which used to generate a random quote. It worked fine untill this problem occurred.. Say we have 4 quotes with QuoteID's of 1 through to 4 The script would grab a number of rows, and generate a random number between 1 and this value (being 4 in this case) This worked fine u

[PHP] Re: Strange file upload problem in php 4.2.3

2003-01-08 Thread theheadsage
Try using the $_files['photo']['error'] variable to see if the file is acutaly being uploaded correctly. I had the same problem on Windows XP, but i discovered the file was only half-uploaded using this. - Daniel "TheHeadSage" Spain Founder of Voidsoft. [EMAIL PROT