Re: [PHP] Help with header function

2002-06-11 Thread Shane Kelly
LOL...thanks ed...figured it out last night... don't need to do a file_exists since i capture file_name in my db...I do a query before the insert to see if the file_name entered in the form, matches any of the file_names stored in mySQL. if the count of the record set 0 then the file exists,

Re: [PHP] Help with header function

2002-06-10 Thread Stuart Dallas
On Monday, June 10, 2002 at 8:03:40 PM, you wrote: header(Location:http://www.mysite.com/file_exists.php;); You should have a space after Location:... header(Location: http://www.mysite.com/file_exists.php;); If that's not it, please post the error/what happens. We are not mind readers. --

Re: [PHP] Help with header function

2002-06-10 Thread Shane Kelly
I don't get an error message...but the page doesn't automatically forward to the redirected url. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Help with header function

2002-06-10 Thread Lazor, Ed
I'm pretty sure it was the lack of a space in the header field between Location: and the actual url. -Original Message- The only thing I can think of is that you have a syntax error in the header. -Kevin

Re: [PHP] Help with header function

2002-06-10 Thread Kevin Stone
Stone' [EMAIL PROTECTED]; PHP-general [EMAIL PROTECTED] Sent: Monday, June 10, 2002 2:00 PM Subject: RE: [PHP] Help with header function I'm pretty sure it was the lack of a space in the header field between Location: and the actual url. -Original Message- The only thing I can think

RE: [PHP] Help with header function

2002-06-10 Thread Lazor, Ed
LOL Yea, it's always much easier if we have actual code to work from rather than taking guesses in the dark. -Original Message- Why do I get the feeling I'm playing that mind bender game where you have to guess the right combination within so many turns? LOL