|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Where to place files?
OK, I got the hard part done and am now working on the user interface. I currently have this set up for the user to upload a file but now realized that I dont know where to place the file on the system.
It was my understanding that we are to submit the source code and that code will run on three (3) different boxes. If this is false and the code is actually going to be run from my web server then there is no problem but somebody please let me know. Otherwise I have no idea where to place the file when I do a move_uploaded_file(). Could somebody please advise of the directory structure that I have missed. Thanks. |
|
#2
|
|||
|
|||
|
RE: Where to place files?
If you are going to do something like an uploaded file, the best bet would be to place a variable at the top of your code that I can change to whatever directory is necessary.....
|
|
#3
|
|||
|
|||
|
RE: Where to place files?
Is it necessary to move the file? My script uses file upload and it parses the temporary file that is passed to me by PHP after the upload completes.
This works for me because once the file is parsed I don't need it anymore, so it's okay if the file goes away after that. At least this works on my machine, I hope it works on Matt's ;) -jam |
|
#4
|
|||
|
|||
|
RE: Where to place files?
Yep, that sounds fine to me
|
|
#5
|
|||
|
|||
|
RE: Where to place files?
How 'bout that, just use the tmp file. Thanks.
|
|
#6
|
|||
|
|||
|
RE: Where to place files?
I simply ised Textarea ti enter the maze. Hope this is also fine
|
|
#7
|
|||
|
|||
|
RE: Where to place files?
Yep, it sure is....
|
![]() |
| Viewing: Codewalkers Forums > PHP Contests > Older Contests > Where to place files? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|