Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- @Nome: Criar arquivo em php
- @Créditos: SuYaNw
- Visite: http://suyanwdacio.blogspot.com
- o blog fala sobre: programação,design, dicas para blog
- e códigos para orkut.
- */
- // caso o arquivo já existir, returna 0.
- function CriarArquivo($file)
- {
- return !file_exists($file) ? @fopen($file, 'x') : 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement