Re: php include problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When including try using ./new/images instead of /new/images

the . should tell it to start at root level.



On 29/03/2007, at 7:42 AM, Pivi wrote:

Hi!

I have this files in my root folder

index.php
header.php
footer.php
"images" folder

then i made one new folder "new" and i copied index.php, header.php and footer.php in this new folder (also leaving this files in root folder, too).

Now header.php and footer.php files in folder "new" are searching for images
in folder /new/images

and it shoud be looking for images in root folder/images

How can i fix this, so that all files in root folder and same files in new
folder retrieve images from the same location?

Thanks!

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






Regards,
Hartleigh Burton
Resident Geek

MRA Entertainment Pty Ltd
5 Dividend St | Mansfield | QLD 4122 | Australia
Phone: (07) 3457 5041
Fax: (07) 3349 8806
Mobile: 0421 646 978

www.mraentertainment.com



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux