
May 10th, 2004, 01:47 AM
|
|
Registered User
|
|
Join Date: May 2004
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
Blobbing Data With PHP and MySQL
I read this article and was very impressed with it. It was well set out and very easy to understand.
However, when I went to try the scripts out two things happened.
In my Apache server:
When I opened the uploadfile.php and keyed a filename and entered a file it kept returning the message "you have to enter both fields" even though I had done both these things correctly
So I renamed uploadfile.php to .html and the same thing happened through the server BUT when I opened the html page in my browser and keyed the necessary inputs it started the download file process which would allow me to download it to a folder.
I may be wrong but through my server it appears that either the <input type="text" name="strDesc" size="20" maxlength="50"> is not parsing to the grabfile.php script or the <input type="file" name="fileUpload" size="20"></font> is not parsing to the grabfile.php file or both.
Can anyone help me? I'm having a braindead day to go with my braindead week!
Just in case you haven't seen this article it's at http://www.devarticles.com/c/a/MySQL/Blobbing-Data-With-PHP-and-MySQL/2/
Thanks Hoppy
|