Re: include() images

From: Date: Sat, 04 Nov 2000 11:53:12 +0000
Subject: Re: include() images
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-23723@lists.php.net to get a copy of this message
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 > >

« previous php.general (#23723) next »