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, a
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
t;Lazor, Ed" <[EMAIL PROTECTED]>
To: "'Kevin 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
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
***
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
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.
6 matches
Mail list logo