| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read | ![]() |
|
||||||
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I've just moved E.S.Photography over to my reseller account and everything worked perfectly. There is one problem however with the scripts the owners use to edit content. On my previous host PHP was able to create files and edit the files it has created. On my reseller account PHP is unable to create files even when a file of the same name doesn't exist. (note: I think your way is better for security reasons)
I can get around this by manually changing the permission of the folder in which the file is going to be created to allow Public permission to Write. The trouble is that the owner uploads files and folders and then needs to use PHP to create a new file in one of those folders, this means that I would need to manually edit the permissions each time they upload a new show. Is there a way around this, like making the PHP script run as the Owner? Cheers! |
|
|||
|
Cancel that. I've worked out that I can run PHP scripts as owner via Cron Jobs. For the other I'll just have to get my brother (my client :p) to change the folder's permission via Filezilla when he uploads a new show.
|
|
|||
|
Good to hear that. If you continue to face the problem then open a ticket on our helpdesk and one of our system admins will solve your problem.
__________________
Web Hosting UK - ASP MSSQL Hosting - cPanel Linux Hosting AIM : webredback || msn : andrew @ webhosting.uk.com Toll Free : 0808 262 0855 |
|
|||
|
Good idea, I'll look into that. Thanks.
![]() |
|
|||
|
ftp_chmod() works like a charm, this is going to be very useful. *thumbs up*
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|