FIle Upload and Form submissions

This is a discussion on FIle Upload and Form submissions within the PHP General forums, part of the PHP Programming Forums category; Hi, I am using PHP_SELF to submit a form. I check for all required conditions and set unset the submit.....


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-23-2005
HyperJiver
 
Posts: n/a
Default FIle Upload and Form submissions

Hi,

I am using PHP_SELF to submit a form. I check for all required
conditions and set unset the submit..if errors are found. The trouble I
have is, I also have file upload fields in this form. Though the file
submission fails, the file gets uploaded. I tried to @unlink('file')
but this does not delete the file.

how do you handle file uploads in file submissions?

thanks for your time!

Reply With Quote
  #2 (permalink)  
Old 11-24-2005
daveholden60@hotmail.com
 
Posts: n/a
Default Re: FIle Upload and Form submissions

The temp files that are uploaded in your post request should be
automatically deleted when your script ends.

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:23 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0