daily pastebin goal
19%
SHARE
TWEET

[PHP]: Criar arquivo em php

garfield Feb 5th, 2012 578 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2.                 @Nome: Criar arquivo em php
  3.                 @Créditos: SuYaNw
  4.  
  5.  
  6.                 Visite: http://suyanwdacio.blogspot.com
  7.                 o blog fala sobre: programação,design, dicas para blog
  8.                 e códigos para orkut.
  9.  
  10. */
  11. // caso o arquivo já existir, returna 0.
  12. function CriarArquivo($file)
  13. {
  14.         return !file_exists($file) ? @fopen($file, 'x') : 0;
  15. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top