Reply to chmod help

Your name:

Reply:


Posted by Freebird on 11/10/05 17:28

Hello everyone, =]


I need your help,

I'm creating a script that will work in many servers, and there's this part,
where you can update a list, so the script goes from the client's machine to
the central server, opens the file, and in adda line by line in the client
server, it's all working fine, but there's a problem, this list, can't be
available to others, because if I do this:


www.test.com/list/test.txt

I can see the hole list, if I remove the permissions, my script wont work
anymore, what can I do ?

I've thought that I could chmod the file to 0777, make it a copy, and remove
the permission, so the file would't be available for others that just enter
the URL.
But it doesn't work at all, here's the error I get:


Warning: chmod(): Unable to access www.test.com/proxy/ in
/home/test/public_html/clicksentinel/form_classes.php on line 859

Warning: chmod(): No such file or directory in
/home/test/public_html/clicksentinel/form_classes.php on line 859
Sorry, try again later, error at data number5You have an error in your SQL
syntax. Check the manual that corresponds to your MySQL server version for
the right syntax to use near 't have permission to access
/proxy/proxylist.txt')' at line 1


Please, I really need some help,

tks a lot

Freebird

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация