Jump to content

Recommended Posts

Hey guys im having this problem, im using this content blocker on my website so people have to enter their email address when they click the link..but the link that is on the content blocker page is a link to a php file that automatically rotates urls's for me.

 

<?php

$random_url = array("http://www.site1.com",
"http://www.site2.com","http://www.site3.com","http://www.site4.com");
            srand(time());
            $random = (rand()%count($random_url));
        
            header ("Location: $random_url[$random]");
?>

 

see what i want to know how can i have a smaller window pop up when some one clicks the link to my php file..please someone help me!!!

Link to comment
https://forums.phpfreaks.com/topic/187958-open-smaller-window/
Share on other sites

--BUMP-- anyone can help?

 

This is sort of out of the scope for a PHP help question. Why not use this magical site to find the oh so many answers to your question already nicely written?

 

I All ready searched on google for hours nothing comes up..I came to this forum thinking people that know stuff like this would no how to do it..

Link to comment
https://forums.phpfreaks.com/topic/187958-open-smaller-window/#findComment-992450
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.