Re: [PHP-DB] Inserting a php file into a mysql database

2005-12-25 Thread Julien Bonastre

Yes.. Odd to say the least

:-)
---oOo--- Allowing users to execute CGI scripts in any directory should only 
be considered if: ... a.. You have no users, and nobody ever visits your 
server. ... Extracted Quote: Security Tips - Apache HTTP 
Server ---oOo--- --oOo---oOo-- Julien Bonastre 
[The_RadiX] The-Spectrum Network CEO ABN: 64 235 749 494 
[EMAIL PROTECTED] 
www.the-spectrum.org --oOo---oOo-- 
- Original Message - 
From: "John Meyer" <[EMAIL PROTECTED]>

To: 
Sent: Monday, December 26, 2005 8:07 AM
Subject: Re: [PHP-DB] Inserting a php file into a mysql database



On Sunday 25 December 2005 3:01 pm, Thomas Bonham wrote:

Hello,

I am trying to insert a php page into a database. I need to know if
there is something that I need to do when setting up the table, also is
there something to do with the code.

Thank You for your help

Thomas



Well, you could use fopen() to open the file, get a pointer, then insert 
the
contents into the database.  I'm wondering why you need to insert a php 
page

into a database, though.
--
Dr. Joseph Dolan: Isn't there a children's book about an elephant named 
Babar?

Fletch: I don't know. I don't have any.
Dr. Joseph Dolan: No children?
Fletch: No, elephant books.

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




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



Re: [PHP-DB] Inserting a php file into a mysql database

2005-12-25 Thread John Meyer
On Sunday 25 December 2005 3:01 pm, Thomas Bonham wrote:
> Hello,
>
> I am trying to insert a php page into a database. I need to know if
> there is something that I need to do when setting up the table, also is
> there something to do with the code.
>
> Thank You for your help
>
> Thomas


Well, you could use fopen() to open the file, get a pointer, then insert the 
contents into the database.  I'm wondering why you need to insert a php page 
into a database, though.
-- 
Dr. Joseph Dolan: Isn't there a children's book about an elephant named Babar? 
Fletch: I don't know. I don't have any. 
Dr. Joseph Dolan: No children? 
Fletch: No, elephant books.

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