Im making a script that automatically resets the HabboSoft UserSystem!
So far, i have this code
The SQL.txt file is CHMODDed to 0644PHP Code:<?php
require("config.php");
$dump = @file_get_contents("SQL.txt");
mysql_query($dump);
?>
And ive tried running the file in phpmyadmin seperately and it works fine, however, the script doesnt affect the database at all. It just seems to do nothing.
Ive tried print_r'ing the $dump variable and all the SQL is there.
Any suggestions?
Moved by Agesilaus (Forum Moderator) from Designing & Development: Please post in the correct forum next time.![]()






Reply With Quote


