Jump to content
GIGN Forum

Registācijas Skripts


ExTent
 Share

Recommended Posts

Sveiki taisu registācijas sriptu.

bet met ārā šādu kļūdu

Parse error: parse error, unexpected '|' in C:\AppServ\www\sisteema\register.php on line 3

redzkur kods. viss taisīts pēv video. video viss strādā bet man met eroru

<?php

include |"include/config.php"| ;

session_start || ;

if|isset|$_GET['darbiiba']| and $_GET['darbiiba'] == "reg"|

{

if|!emty|$_POST['vārds']| and !emty|$_POST['uzvards']| and !emty|$_POST['epasts']| and !emty|$_POST['parole']| and $_POST['parole'] == $_POST['parole_conf'] and $_POST['epasts'] == $_POST['epasts_conf']|

}

{

else

{

$kluda = "Kāds lauks/-i tika aizpildīti nepareizi<br />";

}

}

?>

Link to comment
Share on other sites

Čalīt, kopš kura laika iekavu ( ) vietā izmanto kaut kādu mistisku | | ??

PHP

<?

include("include/config.php") ;

session_start() ;

if(isset(

$_GET['darbiiba']) and $_GET['darbiiba'] == "reg")

{

    if(!empty(

$_POST['vārds']) 

        and !empty(

$_POST['uzvards']) 

        and !empty(

$_POST['epasts']) 

        and !empty(

$_POST['parole']) 

        and 

$_POST['parole'] == $_POST['parole_conf'

        and 

$_POST['epasts'] == $_POST['epasts_conf'])

    {

        

// te jābūt kaut kam, ja viss ir ok

    

}

    else

    {

        

$kluda "Kāds lauks/-i tika aizpildīti nepareizi<br />";

    }

}

?>

Tu pat nemāki norakstīt pareizi!

Link to comment
Share on other sites

  • 2 weeks later...

No kurienes tu izravi | ?

Errora tev pasaka priekshaa: negaidiits simbols "|" 3 rindinjaa.

tava rindina

include |"include/config.php"|;

nomaini uz

include ("include/config.php");

P.S Gadijumaa taa nav OWNMEN'a pamaciba ? Un ja taa ir vina pamaciba tad es labi zinu ka tur nebija |

Edited by sPankijs
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...