Re: include like function
| From: | Gabor Hojtsy | Date: | Sat, 05 Jul 2003 18:51:33 +0000 |
| Subject: | Re: include like function | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-19183@lists.php.net to get a copy of this message | ||
Please ask support questions at php-general@lists.php.net
Goba
----- Original Message -----
From: "sgeorge9q" <sgeorge9q@ntlworld.com>
To: <webmaster@php.net>
Sent: Friday, July 04, 2003 3:18 PM
Subject: include like function
Hello, i need a function that gets a internal file say news.php, and follows
the urls from its copied location,
say if i am in
/pages/
and i need a file from
/pages/php/wow
i put
include('php/wow/news.php')
But the news.php file needs a file in the /php/wow directory called
news.inc.php
how can the php copy every thing accross so a error is not shown
so the
script could read
include('php/wow/news.php', point_links_to('php/wow/')
Thank You,
Sam George.
ktcsc.co.uk