Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.