Can anyone help my put this together?
uploading test form
I want to store the information in a database so that I can reference the images later...
But for now, I want to know how I can make directories and upload images to those directories.
If you can help in anyway, let me know
Thanks
Read this from the Manual mkdir.. http://www.php.net/manual/en/function.mkdir.php that will make the directory
then use move_uploaded_file
Read these From the Manual Also. Theres also a few posts on move_uploaded_file.
http://www.php.net/manual/en/function.move-uploaded-file.php & http://www.php.net/manual/en/features.file-upload.php
You should use multipart form at first:
<form action=".." method="POST" enctype="multipart/form-data">
With best regards, Serge Bulanov AlarIT Web developer, www.AlarIT.com
Alright,
I now have the create directory part created, and it works.
Now I just need help with adding in the images to a selected folder, and saving the data in a database.
Thanks planetsim for your tip