Jump to content

One IP


jj20051

Recommended Posts

Hello,

 

I Made The Script Bellow To Make Sure Only One Person Could Signup Per IP. ( It's Very Basic, I Know )...

Anyway no matter what i try it gives me a error that says:

 

Parse error: syntax error, unexpected T_IS_EQUAL in /home/jobfinda/public_html/employers/employer_registration2.php on line 8

 

if ($Db1->querySingle("SELECT ip FROM ips WHERE ips='$ips' ")>0?true:false) == true){
$error="Your IP address is already in use! We only allow 1 account per IP address.";
}

Link to comment
https://forums.phpfreaks.com/topic/125619-one-ip/
Share on other sites

Well That Helped Alot Believe It or Not... I'm Still Getting One More Error, but At Least The Page Is Visible... So If I Could Get Some Help Yet Again That Would Be Gr8...

 

 

Fatal error: Call to a member function querySingle() on a non-object in /home/jobfinda/public_html/employers/employer_registration2.php on line 8

 

 

Link to comment
https://forums.phpfreaks.com/topic/125619-one-ip/#findComment-649476
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.