Hi there. So i need an upload system for my website but the thing is i don't know how to make all things work. So my question here would be a little large and that is how to make easy php upload work!?? but on a more specific note this is what i need to know: The thing i've done is created MySQL database and added one table in it. So on the php file where the "include ($_SERVER['DOCUMENT_ROOT']" is what path do i write, MySQL database path or host-domain path?! here is what the explanation in the php says: //classes is the map where the class file is stored (one above the root)... Second question would be what path do i put here: $my_upload->upload_dir = $_SERVER['DOCUMENT_ROOT']."/files/new/" -again what do i write? and if you can enlight me on a general MySQL functioning, will the MySQL database function just by creating it or do i need to make something specific!? thanks in advance!
if you're onj a linux box, you need to direct the path to the folder like this: /home/public_html/sitename/folder/ the DOC ROOT will do this for you, and then addpeds /files/new/ so, in your public_html or htdocs (or whatever its called on your host) you will find a dir called files and a dir called new in side it.
so if i understand right you are basicly saying this: make the first path /home/public_html/sitename/folder/ then go in that path and create a new folder "files"... And put this path as the second !?