Skip to content

Instantly share code, notes, and snippets.

@anderson-mota
Created October 31, 2012 17:38
Show Gist options
  • Save anderson-mota/3988556 to your computer and use it in GitHub Desktop.
Save anderson-mota/3988556 to your computer and use it in GitHub Desktop.
Gabriel
<?php
function Gerar(){
mkdir('site');
mkdir('site/css');
mkdir('site/include');
mkdir('site/images');
mkdir('site/js');
$head = fopen("site/index.php", "a");
$escreve_head = fwrite($head, '
<?php
print"
<!doctype html>
<meta charset=\'UTF-8\'>";
?>');
}
Gerar();
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment