How Can I Make My Pop-Up Form Available Each Time For Registration And/Or Login?
I just want to make my Pop-Up Form available each time for registration and/or login?
Is there anyone out there that can help me with this?
Here is my code:
Please Advise I would be most thankful!
Cid
Email:
Kirkpatrick.rich7@gmail.com
<?php
// Kir Ric (script for pop up )
//if($_SERVER['REMOTE_ADDR']=='115.240.51.183'){
if(!isset($_COOKIE['user_id']) &&($_COOKIE['user_id']<1)){
require('reg_form_detail.php');
}
//}
?>
Don't post your email or you will get a ton of spam!
Do this instead:
Email me
You can make popup with server side code such as php.
You need clientside codes like javascript to do so.
How do I convert my php code to Javascript?
Originally Posted by
saranuts
You can make popup with server side code such as php.
You need clientside codes like javascript to do so.
Thanks for your help!
Can you show me an example of using javascript?
Heres my code:
<?php
//Kir Ric (script for pop up )
//if(!empty($_SERVER['REMOTE_ADDR']=='115.240.51.183'){
if(@!isset($_COOKIE['user_id']) || ($_COOKIE['user_id']<1)){
setCOOKIE('user_id', true, time() + 60); // Sets a 60-seconds long COOKIE called "user_id" to
equal true;
require('reg_form_detail.php'); // require your form detail page
}
//}
?>
Thanks for your help!
Can you show me an example of using javascript?
Heres my code:
<?php
//Kir Ric (script for pop up )
//if(!empty($_SERVER['REMOTE_ADDR']=='115.240.51.183'){
if(@!isset($_COOKIE['user_id']) || ($_COOKIE['user_id']<1)){
setCOOKIE('user_id', true, time() + 60); // Sets a 60-seconds long COOKIE called "user_id" to
equal true;
require('reg_form_detail.php'); // require your form detail page
}
//}
?>
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Bookmarks