Re: Help with header function
| From: | Shane Kelly | Date: | Tue, 11 Jun 2002 13:11:24 +0000 |
| Subject: | Re: Help with header function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-101542@lists.php.net to get a copy of this message | ||
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, and
redirect using header: Location...etc,etc.
If count=0 then insert form contents into docuemnt and copy file to folder.
Thanks
Shane
"Ed Lazor" <ELazor@providence.org> wrote in message
news:C8891DEC2698D411A91B00508BF9898806E11734@phsormsg04.phsor.org...
> 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
>
>
****************************************************************************
> This message is intended for the sole use of the individual and entity to
> whom it is addressed, and may contain information that is privileged,
> confidential and exempt from disclosure under applicable law. If you are
> not the intended addressee, nor authorized to receive for the intended
> addressee, you are hereby notified that you may not use, copy, disclose or
> distribute to anyone the message or any information contained in the
> message. If you have received this message in error, please immediately
> advise the sender by reply email and delete the message. Thank you very
> much.
>