1

(4 replies, posted in PHP)

Pakeiciau execution time visuose 3 php ini failuosi i 60 bet vistiek gaunu error

2

(4 replies, posted in PHP)

Sveiki taigi localhoste bandau pasijungti travian zaidima.
Ir yra toks etapas kaip skriptas prisijungia prie nurodyto db sukelia visas lenteles tik gaunu error del execution time 30sec.
Kuri cia faila reiketu atsidaryti ir paieskot to execution time?

3

(9 replies, posted in PHP)

Jo bandziau sita irgi nesuejo

4

(9 replies, posted in PHP)

Man atrodo kad zinau nes ash fopen("$nick.txt","w"); o hostinge reik http visa rasyt ar klystu? bent php net raso $a = fopen("/home/blabla");

5

(9 replies, posted in PHP)

Warning: fopen(asdsa.txt) [function.fopen]: failed to open stream: Permission denied in /home/afterfx/domains/blahas.ipy.lt/public_html/index2.php on line 49

Warning: fwrite(): supplied argument is not a valid stream resource in /home/afterfx/domains/blahas.ipy.lt/public_html/index2.php on line 50

Warning: fclose(): supplied argument is not a valid stream resource in /home/afterfx/domains/blahas.ipy.lt/public_html/index2.php on line 51

Is pirmos klaidos suprantu kad neturiu teisiu kokiu teisiu????
Cia rasau ant ipy.lt hostingo

6

(9 replies, posted in PHP)

Sveiki esu naujokas kuriu registracija ant TXT ir iskilo beda kad kai visi duomenys suvedami skriptas turi $nick $pass $email irasyt i $nick.txt bet jis net nesukuria to failo kodas zemiau nezinau ka daryt bandziau daryt ant localhost tai irgi neveikia toks jausmas kad neveiktu txt funkcijos nors weikia

<?php
{
$nick = $_POST['name'];
$pass = $_POST['password'];
$mail = $_POST['email'];

$nick = preg_replace("[^A-Za-z0-9]", "", $nick);
if($nick == "" or $pass == "" or $mail == "")
{
print "
<b>BUTINA</b> ivesti visus duomenys!<a href='index2.php?psl=reg'>atgal</a>
";
}else{
if(file_exists("$nick.txt")){
echo "Toks vartotojas jau uzsiregistraves";
}else{
print "Registracija sekminga<br><a href='index2.php?psl=log'>Prisijungti</a>";
$atidaryti = fopen("$nick.txt","w");
fwrite($atidaryti, "$nick|$pass|$mail");
fclose($atidaryti);
}
}
}
?>