Re: include() images
| From: | jeremy brand | Date: | Sat, 04 Nov 2000 12:02:34 +0000 |
| Subject: | Re: include() images | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-23726@lists.php.net to get a copy of this message | ||
Ian,
Sleep, never! (well sometime, only when I can't help it).
eww.. I'm at a loss now. I've never use PHP on windows. I've never
used windows (just kidding -- I wish that were true).
I suppose in windows, are you doing all those weird path tricks, like
doing include('C:/path/to/file.inc'); ?
-jeremy brand
_______________________________________________________________________
GnuPG Fingerprint: 9F5E 95E0 1CC2 E054 84EA 6099 8ACD 9DBA D2C0 5EA9
_ http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html
for more __
On Sun, 5 Nov 2000, Ian Gan wrote:
> Date: Sun, 5 Nov 2000 04:04:38 -0800
> From: Ian Gan <woktoc@pd.jaring.my>
> To: php-general@lists.php.net
> Subject: Re: [PHP] include() images
>
> OK, here is the wierd path - hardcoding the full path only works when I
> upload the files to the apache 'live' server. But on my development server
> (PHP4, win98, PWS), I get the problems I mentioned earlier, the images in
> the .inc files don't link properly when included in other .php files?
> Enlighten me!! Thanks, ian
>
> p/s Jeremy, don't you sleep? :P
>
> ----- Original Message -----
> From: jeremy brand <jeremy@nirvani.net>
> To: Ian Gan <woktoc@pd.jaring.my>
> Cc: <php-general@lists.php.net>
> Sent: Saturday, November 04, 2000 3:53 AM
> Subject: Re: [PHP] include() images
>
>
> In this case, you may have to hard code the entire path:
>
> include('/your/path/to/the/file.inc');
>
> :)
> -jeremy brand
> _______________________________________________________________________
> GnuPG Fingerprint: 9F5E 95E0 1CC2 E054 84EA 6099 8ACD 9DBA D2C0 5EA9
> _ http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for
> more __
>
> On Sat, 4 Nov 2000, Ian Gan wrote:
>
> > Date: Sat, 4 Nov 2000 19:00:03 -0800
> > From: Ian Gan <woktoc@pd.jaring.my>
> > To: php-general@lists.php.net
> > Subject: Re: [PHP] include() images
> >
> > Jeremy, Thanks -What if i don't have access to the php.ini file? Is there
> a
> > way I can get the include() files to pull in the correct image?
> >
> > When I include the header in index.php
> >
> > <?PHP
> > include("./phpinc/header.inc");
> > ?>
> >
> > The image used in the header doesn't read the correct directory - the
> image
> > directory now has to be according to index.php?? Will changing the path in
> > php.ini fix this? Thanks, ian
> >
> >
> > ----- Original Message -----
> > From: jeremy brand <jeremy@nirvani.net>
> > To: Ian Gan <woktoc@pd.jaring.my>
> > Cc: <php-general@lists.php.net>
> > Sent: Saturday, November 04, 2000 2:42 AM
> > Subject: Re: [PHP] include() images
> >
> >
> > Make sure your include_path in your php.ini is what you expect it to
> > be. This isn't specific to images.
> >
> > -jeremy brand
> > _______________________________________________________________________
> > GnuPG Fingerprint: 9F5E 95E0 1CC2 E054 84EA 6099 8ACD 9DBA D2C0 5EA9
> > _
> > http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more
> > __
> >
> > On Sat, 4 Nov 2000, Ian Gan wrote:
> >
> > > Date: Sat, 4 Nov 2000 18:48:32 -0800
> > > From: Ian Gan <woktoc@pd.jaring.my>
> > > To: php-general@lists.php.net
> > > Subject: [PHP] include() images
> > >
> > > Hi List - when using images in include() files, the images don't use the
> > > correct directory. What am I missing here? Thanks, ian
> > >
> > >
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > > For additional commands, e-mail: php-general-help@lists.php.net
> > > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> > >
> > >
> >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
> >
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>