Re: LOAD_FILE and PHP

From: Date: Fri, 16 Jan 2004 21:15:38 +0000
Subject: Re: LOAD_FILE and PHP
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-174879@lists.php.net to get a copy of this message
On Saturday 17 January 2004 03:44, Jough P wrote: > On Jan 16, 2004, at 9:12 AM, Jough P wrote: > > Greetings all, I can't get LOAD_FILE to work in an INSERT statement > > from PHP. The generated sql works when you're in mysql but won't work > > from PHP. Are you using the same user in both cases? The use of LOAD_FILE() requires that the user has the 'FILE' privilege. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* If God hadn't wanted you to be paranoid, He wouldn't have given you such a vivid imagination. */

« previous php.general (#174879) next »