Kullanıcı adı yoksa kullanıcı adına txt oluşturma.

mustin03Mustafa
2012-01-11 18:54:44

Php

theSinanSinan AY

$kullanici=$_GET["kullanici"];

$sorgula=mysql_query("select * from kullanicilar where adi='".$kullanici."');

$bul=mysql_num_row($sorgula);

if($bul <= 0)
    {

touch("diziadi/".$kullanici.".txt");

print "kullanıcı yoktu bende $kullanici .txt adında dosya oluşturdum :)";

}

2012-01-27 19:50:36

phpkodlari.com © 2009 Herkes Php öğrenecek
Eglence ve Oyun: Gamikro