A
Anonymous
Guest
Howdy
I'm trying to build a tool to allow users to store any type of file in a database.
I'm building the prototype on my laptop, running php 4.2.1, and mysql 3.23 something.
Here's the problem.. I've built a simple upload form, with a File input form element. I can't figure out how to correctly set the path in php.ini so that my code can find the uploaded files.
If anyone has insight into this, I'm specifically looking for help with the followoing:
1. What is the default upload directory for Personal Web Server, and can it be changed?
2. How do I correctly format the path to this directory in the php.ini file so that my code can get at these files, including any slashes and dots? (I'm *nix challenged when it comes to file names..)
3. Any other info or insights that might apply would be greatly appreciated.
Thx in advance!
I'm trying to build a tool to allow users to store any type of file in a database.
I'm building the prototype on my laptop, running php 4.2.1, and mysql 3.23 something.
Here's the problem.. I've built a simple upload form, with a File input form element. I can't figure out how to correctly set the path in php.ini so that my code can find the uploaded files.
If anyone has insight into this, I'm specifically looking for help with the followoing:
1. What is the default upload directory for Personal Web Server, and can it be changed?
2. How do I correctly format the path to this directory in the php.ini file so that my code can get at these files, including any slashes and dots? (I'm *nix challenged when it comes to file names..)
3. Any other info or insights that might apply would be greatly appreciated.
Thx in advance!