Re: Re: Inserting a php file into a mysql database

From: Date: Mon, 26 Dec 2005 15:31:41 +0000
Subject: Re: Re: Inserting a php file into a mysql database
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-227877@lists.php.net to get a copy of this message
On Monday 26 December 2005 8:26 am, El Bekko wrote: > > Use file_get_contents() I'd say... but you'll have the problem the file > executes :S Which is why I told him just to treat the php file like a text file (which is what it really is) and use fopen to grab the file, read its contents into a string, and insert that into the database. -- 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.

« previous php.general (#227877) next »