SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    May 2001
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Smile auto redirect with popup/popunder

    Hi,

    Can somebody kindly teach me how i can do a auto-redirect to another url with another separate popup/popunder?

    Currently i only know how to do an auto-redirect by having a index.php containing only the following...

    <?
    header("Location: http://www.destination_url.com");
    ?>

    My .htaccess file has this entry....
    DirectoryIndex index.php index.htm

    How do I mix the popup/popunder javascripts with the above php? Or does anyone have a popup/popunder script in php?

    Please help me.
    Thank you very much
    Last edited by bongGbong; Apr 25, 2002 at 08:34.

  2. #2
    SitePoint Member
    Join Date
    Feb 2002
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There is a HTML redirect avialable but you are better off using what you have and placing the popup code in the destination page. If this is not possible place this HTML code in the <HEAD> area:

    <meta HTTP-EQUIV="REFRESH" CONTENT="10;URL=http://newsite.com/newpage.html">

    The '10' is a delay in seconds. for instant redirect use '0'.

    For the JS for the popup you're best using something like what is found at:

    http://www.cgiscript.net/site_software.htm
    Mike H.
    http://IBiz-Tools.com
    http://vestudiohost.com


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •