That isn't really a php-install question, but anyway.
use include() or require().
readfile() isn't supposed to execute the code, it just reads it in and spits
it out.
----- Original Message -----
From: "Matthew Lautz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 06, 2001 4:45 PM
Subject: [PHP-INST] readfile ()
> I am using the readfile ("something.html or php3");
>
> However, if I do a readfile ("testing.php3");
>
> and testing.php3 has a connection to a MySQL database and queries the
> database, it does not perform these functions, since it just reads in the
> page. Is there anyway to have it read it in, and perform the php3
functions
> that are within the readfile page.
>
> Thank You
> matthew lautz
>
> ----------------------------------------------
> Matthew Lautz www.reflectionmedia.com
> President [EMAIL PROTECTED]
> Reflection Media 262.923.4002 x 1 or
> 877.256.6728
> ----------------------------------------------
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]