Re[2]: [PHP] running a php script in /cgi from /web
| From: | Tom Rogers | Date: | Mon, 21 Jul 2003 05:36:52 +0000 |
| Subject: | Re[2]: [PHP] running a php script in /cgi from /web | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-156013@lists.php.net to get a copy of this message | ||
Hi,
Sunday, July 20, 2003, 12:30:30 AM, you wrote:
DW> Thanks for the response Tom. Unfortunately, that won't work either. A
DW> little background.... I'm using Dreamweaver and their template feature.
DW> for the site. I want to read some info out of a text file and format it
DW> into the web page. (the hosting company doesn't support any db
DW> either... I wish I COULD change companies, but...) So, if I use your
DW> idea, when the html file is included in my php script in /cgi, the
DW> images in the html file will be relative, not absolute (../images/***).
DW> The only solution I can think of is to call the php script, have it
DW> extract the info I need and deposit it (with html-formatting) into a
DW> file, then have the html file include that file. Course, this will blow
DW> up if more than one person accesses the site at the same time.
DW> Anybody with any other thoughts?
DW> Thanks
DW> Dale
Can you set the path type to 'Site Root Relative' in Dreamveaver ?
--
regards,
Tom