![]() |
|
#1
|
|||
|
|||
File editing and uploading?Hi guys,
I'm very unsure on how to go about achieving this. I'd like to have a page where a user is able to: 1. Upload a file (.doc file, .txt file, images) and preferrably store these files somewhere in a sub-folder (all are done through a web interface, not ftp). 2. Post texts - Just one big piece of text, and the ability to edit it themself (as in update). So its like one big textbox. I'm open to any solutions. Thank you in advance for any help. =). |
|||
|
#2
|
||||
|
||||
|
Hello PenguinJr,
I am doing some of this kind of thing right now. I am not sure how you want to approach it. I am doing it through cgi server scripts written and compiled in c.
The biggest question is what kind of scripting/programming experience do you have? There are several ways to do this, but you should use a language/approach that you have some experience with. Good Luck! d |
|
#3
|
|||
|
|||
|
Hmmmmmmmm....
I'm more inclined to doing PHP for both.. and for no.2. do you know of a way for it to be linked to a .txt file? would make it easier. But php/mysql sounds good too. |
|
#4
|
||||
|
||||
|
For part 1 of your question try the following:
PHP Code:
hope this helps! sorry about the (still) dodgy spacing in the script - looked right at the time! Last edited by gardolas : 31-Mar-2004 at 08:29.
Reason: Dodgy spacing
|
|
#5
|
|||
|
|||
|
Thanx for the help! i'll be sure to test that out =D
|
Recent GIDBlog
Programming ebook direct download available by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The