phierce
-
Posts
2 -
Joined
-
Last visited
Never
Posts posted by phierce
-
-
I have a question about uploading a file. I have the code to upload a file and it works, but I need something a little different.
What I am working on is a script to read a txt file and manipulate it. I got all that working but I would like to be able to do 2 things...
1 - I would like to allow only .txt files to be uploaded.
2 - I would like the file to be saved not only to a certain directory but named as a certain file. for example if they upload a file SOMEFILENAME.TXT I would like to be able to save it as ANOTHERFILENAME.TXT
is this possible? can anyone show me the code or where to find it? Thanks
upload file help
in PHP Coding Help
Posted
Im not technically "new" to php, I have been dabbling with it a while I am just not pro at it.
thanks again.