|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
create directory onupload
im looking to create a folder for images posted by a user (1 user, eventually will be multiple folders)
i would like the folder to be created on upload of images, and also deletable using a link on the webpage is this possible? |
|
#2
|
||||
|
||||
|
RE: create directory onupload
Don't see why not.
|
|
#3
|
||||
|
||||
|
RE: create directory onupload
lets attempt this again...
how? |
|
#4
|
||||
|
||||
|
RE: create directory onupload
do you want me to spell it out or just give you the manual page? How about I give you the manual page and you tell me what your basic logic will be.
Reference: http://www.php.net/manual/en/ref.filesystem.php |
|
#5
|
||||
|
||||
|
RE: create directory onupload
ok
logic.. whats that? anyways.. Gamer of the month, vital data in SQL database Image file to upload (possibly up to 3 or 4 screen shots from game) - load images to a folder (so less worry about naming conventions, and when user is deleted then the folder goes, not a image that may h have been overwritten) so what i need to learn how to do is create that directory (make it writable and deletable [chmod it 777?]) have directory named off of unique feature from database upload (unique id#?) have folder deletable via a link in admin section |
|
#6
|
||||
|
||||
|
RE: create directory onupload
In the tutorials/basics section check out the "Working with Text Files" and "Uploading Files with Forms and PHP". Between the 2 of them you should be able to get 80% of what you need.
Please come back when you have more specific questions. |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Programming Theory > create directory onupload |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|