Re: [PHP] File upload + permissions + .htaccess in php

2003-08-22 Thread Nicholas Robinson
I've had this problem twice recently. Once it was because I'd foolishly moved a script that used relative pathnames. The result was that I was trying to access a file outside the DocumentRoot and it didn't matter what the permissions on the file were, it wasn't trying to open that one at all!

Re: [PHP] File upload + permissions + .htaccess in php

2003-08-22 Thread Ryan A
Hey, Thanks for replying. the paths i am using are as follows: $UserUploadDir=/usr163/home/r/y/ryanknig/public_html/BWH-Ads-Images; $UserUploadURL = http://jumac.com/BWH-Ads-Images;; But they still dont workany ideas? Thanks, -Ryan I've had this problem twice recently. Once it was

[PHP] File upload + permissions + .htaccess in php

2003-08-21 Thread Ryan A
Hi, I am trying to upload something into a directory on my server but always i am getting a permission denied ONLY from this server...i have tried it on 2 other servers and they seem to be working fine but i have to get it working on this server as this server is the fastest and our production

Re: [PHP] File upload + permissions + .htaccess in php

2003-08-21 Thread [EMAIL PROTECTED]
Hello, It could be because your server is using some out of the box virtual hosting setup like ensim or cpanel. This usually means your home path is not what it appears to be. That in turn means that if you use absolute pathnames with your file upload handler it's bound to fail. So you will

[PHP] Re: Jabber-Re: [PHP] File upload + permissions + .htaccess in php

2003-08-21 Thread Ryan A
Hi, When i FTP in cuteftp is showing me this path: /usr163/home/r/y/ryanknig/public_html/BWH-Ads-Images and i am using this in my php script: $UserUploadDir=/usr163/home/r/y/ryanknig/public_html/BWH-Ads-Images; I tried to cut out the public_html too but it does not seem to be working Any