|
-
April 18th, 2011, 07:44 AM
#1
Write image to AFS directory
I am writing a script that creates a CAPTCHA image via randomly assigned numbers from a php script and i am having trouble figuring out the last part of the program which is to write the image to an AFS directory by changing the http write privileges, but im not sure how to go about this from the PHP/HTTP side or the AFS side so any help would be great. I'll make the current code available if necessary, thanks in advance.
-
April 18th, 2011, 12:50 PM
#2
Re: Write image to AFS directory
You have to set the permissions for PHP on the AFS server. This cannot be done through PHP code itself.
http://moronicbajebus.com/blog/php-u...rmissions-afs/
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
April 19th, 2011, 02:03 PM
#3
Re: Write image to AFS directory
Great thanks for the response to clarify the permission problems which is probably going to be my next step but, i've been struggling to find the correct PHP command to post or upload the file to the directory in order to get to the incorrect permission problem. The image itself is created within the PHP and displayed via the HTML and should automatically be uploaded to an AFS directory but other examples ive looked up have been long winded and not automatic so any further assistance would be great.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|