Having to read some uploaded files, perform operations on them ( basically attach them on a single file ), and then save the resulting file using ftp, and trying to have the php page as general as possible ( I mean have it work on the larger number of server possible and without configuration settings ):
1) Could it be possible to have a php or server config that doesn't allow at all to write and read files on the server( I'm afraid yes) and how can I detect this situation from code, at least to show a "this script can't run here" message?
2) All the upload_and_copy_files_somewhere_else examples relay on a destination directory explicitly set in the script. How can i have my php discover on its own where it can write and read, no matter the position since it is a kind of temporary and working folder, and I'll delete all files used when finished?
3) Which security settings ( safe_mode and so on ) should I be aware of?
Some good tutorial somewhere?
Thank you so much,
Giulio
Cantoberon Multimedia srl http://www.cantoberon.it Tel. 06 39737052
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php