Hi guys
Im trying to backup a database from a php script using the following, it runs ok & creates the file backup.sql but the file is 0 bytes, can anyone tell me where ive gone wrong please?
Thanx everyone
system ("mysqldump -uUSERNAME -pPASSWORD DATABASENAME > /home/MYSITE/public_html/backupsql/backup.sql");