Rofl, np.
Rofl, np.
Sometimes I wounder...Just a nicer touch D:PHP Code:<?PHP
require('includes/config.php');
for($K = 0; $K<sizeof($query); $K++)
{
$query = mysql_query($query[$K]) or die('Error: '. mysql_error());
chmod("install.php", 0777);
unlink("install.php");
if(file_exists("install.php")) {
echo("Tables created! Now please delete this file.");
}
else {
echo("Tables created! This file has been deleted automatically for security reasons.");
}
?>
Why let PHP CHMOD the files to 777, if the CHMOD facility is to keep files 'safe'. lol
I was going to say that Tom but I realised that isn't going to help him or this thread in anyway.
@Jaffa:
You are allowed to CHMOD to 0777 because a file's pemissions have to be set to 0777 for you to write to it or change its properties [:
Last edited by Invent; 20-04-2007 at 08:38 PM.
The purpose of me doing it is to learnThanks for your concern though.
James
Connected to reality through a proxy server.
Exactly what came to my negative mind tbh.
You just said you're no expert, so why try to act smart about it?
Its easier to learn if your enjoying what your doing.I enjoy doing big projects like this.Not little forms and echoing Hello World![]()
James
Connected to reality through a proxy server.
Hello worlds are the best things you can EVER make ^^.
Lol![]()
James
Connected to reality through a proxy server.
Want to hide these adverts? Register an account for free!