Re: Execute a mySql sript file directly from PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
*/


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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux