I am having some permission problems and the site is on a hosted machine so
I have to work around the problems rather than fix it.  I can only get
commands such as mkdir() and fopen() work if I set the directory I am
working in to 777.  I am getting an empty file after uploading writing and
renaming my file.  fopen() is creating a new file and setting the
permissions rw-r--r-- and I think this is causing the remaining file
operations to fail.

Now for the question:
Is piping to the shell ( ie popen=("chmod 777 " . $upfile); ) the right way
to change permissions back and forth?

Thanks,
Chuck



> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Chuck Gartland
> Sent: Wednesday, October 18, 2000 12:57 PM
> To: FreeTrade
> Subject: [FreeTrade] Image uploads
>
>
> I know talk as crossed the list before of adding image uploads to
> admin.  I
> did some searching with google and did not find any hint that
> this was ever
> completed by everyone.  Before I recreate the wheel has anyone
> have working
> code for this already?
>
> Thanks,
> Chuck
>
>
> -------------------------------------------------
> Chuck Gartland                ||      [EMAIL PROTECTED]
> Project 27                    ||      www.project27.com
> 1836 Palm Avenue              ||      808 465-1381
> Pearl City, HI  96782 ||      GMT -10:00 hours
> -------------------------------------------------
>
>
>
> ------------------------------------------------------------
> To subscribe:    [EMAIL PROTECTED]
> To unsubscribe:  [EMAIL PROTECTED]
> Site:            http://www.working-dogs.com/freetrade/
> Problems?:       [EMAIL PROTECTED]
>



------------------------------------------------------------
To subscribe:    [EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Site:            http://www.working-dogs.com/freetrade/
Problems?:       [EMAIL PROTECTED]

Reply via email to