i'm on apache. i can see permission denied. i'm going to ask the administrator to give me permissions to the folder to write.
the m2.txt does not have to exist at the beginning does it. the script will create a file what ever name i give it from fresh?
dumping to text file
Moderator: General Moderators
i got the folders and files to create. thank you for your help. The only problem is that i cant delete them because when it creates the files it gives permissions only for apache user to delete. anyway of over coming this?
also in the $string i want to store the output from a function. this is how i echo the function normally
how can i store it in the $string variable????
also in the $string i want to store the output from a function. this is how i echo the function normally
Code: Select all
<?php
echo "<html><body><pre>";
echo htmlspecialchars(mysqlbackup($host,$dbname,$uname,$upass,$structure_only,$crlf));
echo "</PRE></BODY></HTML>";
?>how can i store it in the $string variable????
-
malcolmboston
- DevNet Resident
- Posts: 1826
- Joined: Tue Nov 18, 2003 1:09 pm
- Location: Middlesbrough, UK