Click here to Skip to main content
15,883,896 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
1) Write a PHP script that will run on server side which accepts text file and saves it in server.

****************************

What I understand here:
1) One PHP script will run on server side.
2) I have to send (HTTP POST or by any other method) a *txt file from client side.
3) PHP site, running on server side will accept this file saves in server.

NOTE: FTP not allowed here in this project.


Can any one help me here? Can any one give me example of this PHP script.
Posted
Updated 23-Dec-12 22:59pm
v3
Comments
OriginalGriff 24-Dec-12 4:49am    
DON'T SHOUT. Using all capitals is considered shouting on the internet, and rude (using all lower case is considered childish). Use proper capitalisation if you want to be taken seriously.

1 solution

We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.

Try it yourself, you may find it is not as difficult as you think!
 
Share this answer
 
Comments
[no name] 24-Dec-12 5:09am    
@OriginalGriff what u r doing in codeproject? Time pass?
[no name] 24-Dec-12 5:50am    
@OriginalGriff

This is also a very good solution...U should learn this instead of wasting your time

http://www.qtcentre.org/threads/18452-How-to-upload-file-to-HTTP-server-(POST-Method)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900