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 ideas?  I can off course write to the hosting company but what exactly
do i ask them anyway?

Thanks,
-Ryan




We will slaughter you all! - The Iraqi (Dis)information ministers site
http://MrSahaf.com




> This
> /usr163/home/r/y/ryanknig/
>
> would be your real path i think. Please try to set this as your base
directory. If you are interested in a progress bar for your uploads check
out http://www.sourceforge.net/projects/megaupload
>
> all the best
>
>
>
> Ryan A wrote:
>
> >Hey,
> >Thanks for replying.
> >
> >What should i do then? how do i find out my real path?
> >
> >Thanks,
> >-Ryan
> >
> >
> >>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 need to double check your paths.
> >>
> >>For example the phpinfo you refered to shows that the script path is
> >>/usr163/home/r/y/ryanknig/public_html/ and my guess is that this is not
> >>what appears as your home page.  (eg you might know it as
> >>/home/ryanknig/public_html )
> >>
> >>Confused? these lousy virtual hosting setups are very confusing indeed.
> >>Most people get by with them for static websites but when you do file
> >>handling and stuff like that all kinds of complications pop up.
> >>
> >>
> >>Ryan A wrote:
> >>
> >>
> >>
> >>>Hi,
> >>>I am trying to upload something into a directory on my server but
always
> >>>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 server.
> >>>I have looked at the folder permissions and CHMODED/changed them from
644
> >to
> >>>766 and finally 777 but am getting the same error, i then had a look at
> >the
> >>>php info file (http://jumac.com/phpinfo.php) and i see file_uploading
is
> >set
> >>>to 1 and 1, safe mode is off, i am not too familier with file uploading
> >so
> >>>is this right? if not, how can i change it? hopefully via a .htaccess
as
> >I
> >>>dont have access to the php.ini file directly.
> >>>Let me again point out that this problem only seems to be on this
server,
> >>>the scripts including the upload is working perfectly on the other test
> >>>servers/sites.
> >>>
> >>>Kindly reply,
> >>>-Ryan A.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to