Results 1 to 3 of 3

Thread: Ajax Tabs Content Script load unix timestamp on tab

  1. #1
    Join Date
    Oct 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Ajax Tabs Content Script load unix timestamp on tab

    1) Script Title: Ajax Tabs Content Script (v 2.2)

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...tent/index.htm

    3) Describe problem:
    see it here that ajax cant load javascript, so i write a php file to get url parameters, and hope it can load on tabs.
    the php file:
    Code:
    <?php 
    echo $_SERVER["QUERY_STRING"]."<br>"; 
    ?>
    <?php 
    $id = $_SERVER["QUERY_STRING"];
    ?>
    <a href="http://www.site.com/index.php?id=<?php echo $id;?>">a link here</a>
    it can get the url parameters in the externalpage.html fine, but it add a "&current unix timestamp" string after the parameters the php file got. so it cant work in tabs.


    works in single externalpage


    cant work in tabs

    can anyone help? thx!
    Last edited by passt; 10-09-2010 at 07:19 AM. Reason: resolved! thanks!

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Use $_GET instead.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Oct 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by jscheuer1 View Post
    Use $_GET instead.
    it works!!
    thank you for your help!

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
  •