[client 127.0.0.1] PHP Notice: Undefined index: name in
/home/www/reformcagunlaws .com/new.php on line 6
[client 127.0.0.1] PHP Notice: Undefined index: address in
/home/www/reformcagunlaws .com/new.php on line 7
[client 127.0.0.1] PHP Notice: Undefined index: city in
/home/www/reformcagunlaws .com/new.php on line 8
[client 127.0.0.1] PHP Notice: Undefined index: county in
/home/www/reformcagunlaws .com/new.php on line 9
[client 127.0.0.1] PHP Notice: Undefined index: zip in
/home/www/reformcagunlaws .com/new.php on line 10
[client 127.0.0.1] PHP Notice: Undefined index: phone in
/home/www/reformcagunlaws .com/new.php on line 11
[client 127.0.0.1] PHP Notice: Undefined index: email in
/home/www/reformcagunlaws .com/new.php on line 12
[client 127.0.0.1] PHP Notice: Undefined index: volunteer in
/home/www/reformcagunlaws .com/new.php on line 13
[client 127.0.0.1] PHP Notice: Undefined index: contacted in
/home/www/reformcagunlaws .com/new.php on line 14
[client 127.0.0.1] PHP Notice: Undefined index: delivered in
/home/www/reformcagunlaws .com/new.php on line 15
-bash-2.05b$ cat new.php
<?
$user="root";
#$password="pas sword";
$database="rcgl-petitions";
$name=$_POST['name'];
$address=$_POST['address'];
$city=$_POST['city'];
$county=$_POST['county'];
$zip=$_POST['zip'];
$phone=$_POST['phone'];
$email=$_POST['email'];
$volunteer=$_PO ST['volunteer'];
$contacted=$_PO ST['contacted'];
$delivered=$_PO ST['delivered'];
#mysql_connect( localhost,$user ,$password);
mysql_connect(' localhost',$use r);
@mysql_select_d b($database) or die( "Unable to select database");
$query = "INSERT INTO petitions VALUES
('','$name','$a ddress','city', 'county','zip', '$phone','$emai l','$volunteer' ,'contacted','d eliverd')";
mysql_query($qu ery);
mysql_close();
?>
--
* John Oliver http://www.john-oliver.net/ *
* Reform California gun laws - http://www.reformcagunlaws.com/ *
* http://www.gunownersca.com - http://www.crpa.org/ *
* San Diego shooters come to http://shooting.forsandiego.com/ *
/home/www/reformcagunlaws .com/new.php on line 6
[client 127.0.0.1] PHP Notice: Undefined index: address in
/home/www/reformcagunlaws .com/new.php on line 7
[client 127.0.0.1] PHP Notice: Undefined index: city in
/home/www/reformcagunlaws .com/new.php on line 8
[client 127.0.0.1] PHP Notice: Undefined index: county in
/home/www/reformcagunlaws .com/new.php on line 9
[client 127.0.0.1] PHP Notice: Undefined index: zip in
/home/www/reformcagunlaws .com/new.php on line 10
[client 127.0.0.1] PHP Notice: Undefined index: phone in
/home/www/reformcagunlaws .com/new.php on line 11
[client 127.0.0.1] PHP Notice: Undefined index: email in
/home/www/reformcagunlaws .com/new.php on line 12
[client 127.0.0.1] PHP Notice: Undefined index: volunteer in
/home/www/reformcagunlaws .com/new.php on line 13
[client 127.0.0.1] PHP Notice: Undefined index: contacted in
/home/www/reformcagunlaws .com/new.php on line 14
[client 127.0.0.1] PHP Notice: Undefined index: delivered in
/home/www/reformcagunlaws .com/new.php on line 15
-bash-2.05b$ cat new.php
<?
$user="root";
#$password="pas sword";
$database="rcgl-petitions";
$name=$_POST['name'];
$address=$_POST['address'];
$city=$_POST['city'];
$county=$_POST['county'];
$zip=$_POST['zip'];
$phone=$_POST['phone'];
$email=$_POST['email'];
$volunteer=$_PO ST['volunteer'];
$contacted=$_PO ST['contacted'];
$delivered=$_PO ST['delivered'];
#mysql_connect( localhost,$user ,$password);
mysql_connect(' localhost',$use r);
@mysql_select_d b($database) or die( "Unable to select database");
$query = "INSERT INTO petitions VALUES
('','$name','$a ddress','city', 'county','zip', '$phone','$emai l','$volunteer' ,'contacted','d eliverd')";
mysql_query($qu ery);
mysql_close();
?>
--
* John Oliver http://www.john-oliver.net/ *
* Reform California gun laws - http://www.reformcagunlaws.com/ *
* http://www.gunownersca.com - http://www.crpa.org/ *
* San Diego shooters come to http://shooting.forsandiego.com/ *
Comment