[PHP] File Copy

2004-10-20 Thread Aidal
to use chmod('the_new_file', 0777); but it doesn't work, because chmod() wont let me change the permissions since I'm not the owner of this new file. The server runs on some kind of UNIX based system... Any help or suggestions would be much appreciated, thanks. /Aidal -- PHP General Mailing List

Re: [PHP] File Copy

2004-10-20 Thread Aidal
ftp_chmod() is part of PHP 5 and I'm working with PHP 4.3.1. I tried the ftp_raw('CHMOD 777 filename.jpg'); doesn't work either though :( Silvio Porcellana [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Aidal wrote: Hi NG. I'm experiencing some problems when trying to copy

Re: [PHP] File Copy

2004-10-20 Thread Aidal
ERR, I meant I tried ftp_exec(), ftp_raw() is a PHP 5 function too... Aidal [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] ftp_chmod() is part of PHP 5 and I'm working with PHP 4.3.1. I tried the ftp_raw('CHMOD 777 filename.jpg'); doesn't work either though :( Silvio Porcellana

Re: [PHP] how to create files??

2002-10-10 Thread Aidal
to function. The calling script: http-server-root The include class: http-server-root\nef Where I want to create files: http-server-root\nef\articles Hope this gave you a better chance of helping me out :) ~ Aidal Timothy J Hitchens [EMAIL PROTECTED] wrote in message 006b01c26f7a$28ffa110

[PHP] how to create files??

2002-10-09 Thread Aidal
File 54.txt gets created but not at the intented location, instead it gets created in htdocs. Can anyone help me by telling me how I'm suppose to do this? I'm running PHP on Win98 with Apache. ~ Aidal -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net