Hello all,

I'm have a PHP script that works in a folder.. for the sake of clarity we'll
call it c:\project

In c:\project\htmls there are several HTML documents which refer to images
in the project\htmls directory with tags like <img src="file.gif">

In my PHP script in c:\project I include "htmls/file.html" and the HTML file
renders alright from the script, but the image's path is c:\project\file.gif
when the page is rendered, not c:\project\htmls\file.gif like it should be.
Is there any way to change the "working directory" so when I include a file
images are on the page, too?

Thanks in advance!

--
Ryan Cassin
[EMAIL PROTECTED]



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

Reply via email to