php script to open second window

4 replies
Hi
I am looking for a script that will open a second url in a new tab or window when a link is clicked

ie: person presses yourdomain.com/1.php and as well as opening that url it also opens yourdomain.com/2.php in a second window/tab

I have seen this all the time online
But cant find any source
#open #php #script #window
  • Profile picture of the author MikeTucker
    You probably want to delete this and re-post it in the proper forum...
    It's going to get lost in here.

    On the other hand, I have found the warriors in the programming
    forum to be VERY helpful and friendly!

    Programming Talk
    Signature

    The bartender says: "We don't serve faster-than-light particles here."

    ...A tachyon enters a bar.

    {{ DiscussionBoard.errors[7640398].message }}
  • Profile picture of the author dad2four
    <a href="http://www.example.org" onclick="window.open('http://www.google.com','newwin');">click me</a>
    Signature
    {{ DiscussionBoard.errors[7640408].message }}
  • Profile picture of the author espresso
    thanks man
    Thats easier than I thought
    {{ DiscussionBoard.errors[7640459].message }}
    • Profile picture of the author dad2four
      Anything else I can help with you can PM me or email me anytime. My email is icode.iam at gmail
      Signature
      {{ DiscussionBoard.errors[7640480].message }}

Trending Topics