yes include("filename.php"); 1. its in the php manual 2. you posted the same question twice already i think (unless 1 was a original post and one was a reply)
sorry getting a little tired here its almost 1am here and still working for the last 2 days straight with 0% sleep and 100% caffine.. (sorry wrong list for that but...) ----- Original Message ----- From: "Rohin Gosling" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, February 23, 2003 4:32 PM Subject: [PHP] Is it possible to "Include" a php source file ? > First up, I sent this same message a few hours ago, but I do not see it in > the news group, and neither does it appear in my sent messages folder. > Therefore I am presuming that it never made it to the news group. How ever, > if it did get to the news group and I am just unable to see it, then just > ignore this message and hopefully my first attempt to post this question > will show up latter. I did receive a warning message saying that the message > may not appear strait away. So I'm not quite sure what's it going on here. > > Anyway, back to my question. Hopefully it will make it into the news group > this time ! > > Is it possible to "include" a *.php source file from inside another php > source file, an a fashion similar to that of using the include directive in > C or C++ ? > > Or alternatively, is there a way to call a php script stored in another file > from inside a php script. > > Rohin > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.443 / Virus Database: 248 - Release Date: 1/11/2003 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php