specifying paths using shell_exec

currently i use:

shell_exec (“c:xampplitemysqlbinmysqldump.exe --opt -uroot bcms6 > mydump.sql”)

in a file i created called backup.php to create dump files on my local server. i need to upload backup.php to my web server, but what path should i use for mysqldump? any “magical path” that works on any server, regardless of operating systeM?

i found the answer to my question

in Linux, just use mysqldump, no path. my web host is linux :)

Sponsor our Newsletter | Privacy Policy | Terms of Service