Help with php upload

Started on the old forum in November 2011 · view the original in the archive · old links redirect here

9 replies · 506 views · started 15 years ago · 1 min read

6 participants
Sifat3d Developer · 66 posts #1

How can i make a php upload in which: *upload.php does all the work. *Upload.php has the upload button and lists all the directories inside the directory upload.php is in. *user selects a directory a uploads a file, the file is automaticaly uploaded to the selected directory.

*Whenever a user upload a file into a directory and writes something in the description field. A folder named "description" is created alongside it in the same directory.and a txt file file named as the uploaded file(with extension) is created and the user given description is written in it. I know i made it sound very complex, but it should be easy 4 u experts. If u dnt have time/patience to write whole php code, detailed hints will be enough. I am a idiotic newbie in php, so please give easy hints. 🙂

**by directory i mean folder.

Fake hack any website,even coding-talk for some clean FUN!!! Try: fake hacking website Mig33 Software for pc: Mig33 for PC mobile games and software download

mFreak Developer · 66 posts #2

All of that is quite easy,no need to be an expert

$("#mfreak").find(".head brain").clone();

Progress:

[|||___________________________] : 5%

Output:

Memory limit reached, unable to complete operation.

Support answer:

Try using a super uber strong mega computer to reach at least 10%.

👋

ogah Junior · 17 posts #5

you can do it with php shell or php file manager with your own risk 🙂

mFreak Developer · 66 posts #6

first of all you need to know how to upload a file and how to set up a proper form for it,there are a lot of tutorials for that just use google.

second are if statements and collecting data which user posted so that your script know where to move uploaded file in which directory

then again collect that description and file name to make a text file for description you need fopen fwrite functions or file_put_content that's for uploading.

$("#mfreak").find(".head brain").clone();

Progress:

[|||___________________________] : 5%

Output:

Memory limit reached, unable to complete operation.

Support answer:

Try using a super uber strong mega computer to reach at least 10%.

👋

Sifat3d Developer · 66 posts #8

Thanks mfreak bro. Using ur instructions, i have made very good progress and the script is almost done:-). Im just having a little trouble with creating the directory automatically. Im trying to solve this.Thanks wapmetal bro, funny 4 u, nt 4 me cz im trying to learn and im a newbie.:-)

Fake hack any website,even coding-talk for some clean FUN!!! Try: fake hacking website Mig33 Software for pc: Mig33 for PC mobile games and software download

mFreak Developer · 66 posts #9

use mkdir function to make directories. clicking on the thanks button is enough. when you finish uploading ill tell you how to make directory listings

$("#mfreak").find(".head brain").clone();

Progress:

[|||___________________________] : 5%

Output:

Memory limit reached, unable to complete operation.

Support answer:

Try using a super uber strong mega computer to reach at least 10%.

👋

arnage Lead · 811 posts #10

Sifat3d wrote: How can i make a php upload in which: *upload.php does all the work. *Upload.php has the upload button and lists all the directories inside the directory upload.php is in. *user selects a directory a uploads a file, the file is automaticaly uploaded to the selected directory.

*Whenever a user upload a file into a directory and writes something in the description field. A folder named "description" is created alongside it in the same directory.and a txt file file named as the uploaded file(with extension) is created and the user given description is written in it. I know i made it sound very complex, but it should be easy 4 u experts. If u dnt have time/patience to write whole php code, detailed hints will be enough. I am a idiotic newbie in php, so please give easy hints. 🙂

**by directory i mean folder.

There is quite list u have, i think that this script is good for start. directory-listing-with-upload

<!DOCTYPE html PUBLIC "-//***WAPFORUM**.**RS***

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close