Re: Execute a mySql sript file directly from PHP
| From: | Jason Wong | Date: | Tue, 10 Jun 2003 20:40:57 +0000 |
| Subject: | Re: Execute a mySql sript file directly from PHP | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-28506@lists.php.net to get a copy of this message | ||
On Wednesday 11 June 2003 04:21, Gustavo Del Castillo Meza wrote:
> I need to execute a very large script file on my hosting server, i dont
> have shell access and the file is too large to execute using phpMyAdmin. I
> wonder if i could upload the file by FTP and then execute it with a php
> script directly, without opening the file and go thru every line.
You can try:
upload file
chmod so it is executable
then exec() it from another php page
May not work if your host has safe mode enabled.
--
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-db
------------------------------------------
/*
How much does it cost to entice a dope-smoking UNIX system guru to Dayton?
-- Brian Boyle, UNIX/WORLD's First Annual Salary Survey
*/