Code:
$sql="INSERT INTO user_details (uname,email,re_email,pass1,pass2,phone,ustate,cit y,street,pin) VALUES ('$name1','$email1','$re_email1','$npass1','$npass 2','$phone1','$state1','$city1','$street1','$pin1' )";
$sql="INSERT INTO user_details (uname,email,re_email,pass1,pass2,phone,ustate,cit y,street,pin) VALUES ('$name1','$email1','$re_email1','$npass1','$npass 2','$phone1','$state1','$city1','$street1','$pin1' )";
else { echo 'Error! Failed to insert the file' . "<pre>{$dbLink->error}</pre>"; }
else {
header("Location:/wediscuss%20forum/index.php?signupsuccess=false&error= $showError ");
... // After checking against database We set session variable to 0 when logged out and 1 when logged in $_SESSION['login'] === foo; //We then evaluate for login: if ($_SESSION['login']
<?php function validate_email($email){ $exp = "^[a-z\'0-9]+([._-][a-z\'0-9]+)*@([a-z0-9]+([._-][a-z0-9]+))+$"; if(eregi($exp,$email)){ if(checkdnsrr(array_pop(explode("@",$email)),"MX")){
global $image; $image = $row['image]'; ... this->Image(
function privcheck() { $priv = $_SESSION['priv']; [B] return $priv;[/B] }
if ( $priv === foo) { }
if ( privcheck() === foo) { }
<?php session_start(); if ( !isset ($_POST['carid'] )) { exit('please input a carid'); } $username = $_SESSION['username'];
Leave a comment: