Re: Repost URGENT: Can't see picture!!!!!!!!
| From: | Jason Stechschulte | Date: | Mon, 19 Mar 2001 14:59:33 +0000 |
| Subject: | Re: Repost URGENT: Can't see picture!!!!!!!! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-44561@lists.php.net to get a copy of this message | ||
On Sat, Mar 17, 2001 at 01:16:16AM -0700, Mike Yuen wrote:
>
> Hi, this is a repost and nothing i've tried is working. Basically, I
> allow people to upload pictures and they all go to the proper
> directories but I can't see the picture. I can see the pictures great
> on my windows server but no one else can see it. Obviously the path to
> the images is screwed but I can't figure it out. The $picdir i've tried
> are:
> $picdir = "./userpics";
> $picdir = "c:/phpweb/userpics/"
> $picdir = "/userpics";
> $picdir = "../userpics";
> All of the above don't work. I'll post my code below:
The directory is probably not viewable from the web. Try putting the
folder somewhere in the web tree.
--
Jason Stechschulte
jpstech@unoh.edu
--
No, that'd be silly.
-- Larry Wall in <199710221710.KAA24242@wall.org>