Re: Problem with uploading Files with PHP 4.1.2 on IIS

From: Date: Sat, 20 Apr 2002 14:56:09 +0000
Subject: Re: Problem with uploading Files with PHP 4.1.2 on IIS
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-13210@lists.php.net to get a copy of this message
Dear Myke I have this problem too. When I save the uploaded file im Mysql it save the path of the file and not the image itself. How cam I read the file and save into a BLOB field. Thanks. Waldemar ----- Original Message ----- From: "Mike Flynn" <mike@mikeflynn.net> To: "Uhaj" <uhaj@atlas.cz>; <php-windows@lists.php.net> Sent: Tuesday, April 16, 2002 11:10 AM Subject: Re: [PHP-WIN] Problem with uploading Files with PHP 4.1.2 on IIS > The temp file is deleted after the script is run. So if you're checking > for the presence of that .TMP file after you have run your page, then you > won't find it. For security reasons (and also to save hard drive space), > the file is only there during the execution of the script. It is during > the execution of the script that you have to do something with the > temporary file before it is deleted, like copy it to a permanent file, or > read the file and insert the binary data as a BLOB into your database. > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.windows (#13210) next »