Passing URL value

Discussion in 'Web Design & Coding' started by Nismo83, Oct 19, 2002.

  1. Nismo83

    Nismo83 OSNN AZN Addict

    Messages:
    383
    How do we pass a URL value from one page to another? I know its using session but how??

    I am currently { [​IMG] | | [​IMG] | | [​IMG] }
    =========================
    Intel P4 1.5 Ghz
    Intel D850GB MOBO
    256MB PC 800 RDRAM
    20GB Maxtor HDD (5400 RPM)
    40GB Maxtor HDD (7200 RPM)
    52X Creative CDROM
    8X4X32 Creative CDRW
    16X ASUS DVD ROM
    Iomega 100 MB USB Zip Drive
    SYBA Ultra ATA IDE controller card
    SB live 5.1 DE
    Ageing Gainward 64MB GF2MX400 --> | Upgrading to GF4 Ti4 series |
    Altec Lansing ACS 56
    Dlink D538TX NIC

    =========================
     
  2. Zedric

    Zedric NTFS Guru Folding Team

    Messages:
    4,006
    Location:
    Sweden
    One way is http://server/path/page.ext?variable1=value1&variable2=value2 I guess. Is that what you mean?
     
  3. Nismo83

    Nismo83 OSNN AZN Addict

    Messages:
    383
  4. Nismo83

    Nismo83 OSNN AZN Addict

    Messages:
    383
    This 1 i know about it.. The one i mean is the whole URL http://www.xp-erience.org/forum/showthread.php?s=&threadid=22846 for example as a link on a new page.

    I am currently { [​IMG] | | [​IMG] | | [​IMG] }
    =========================
    Intel P4 1.5 Ghz
    Intel D850GB MOBO
    256MB PC 800 RDRAM
    20GB Maxtor HDD (5400 RPM)
    40GB Maxtor HDD (7200 RPM)
    52X Creative CDROM
    8X4X32 Creative CDRW
    16X ASUS DVD ROM
    Iomega 100 MB USB Zip Drive
    SYBA Ultra ATA IDE controller card
    SB live 5.1 DE
    Ageing Gainward 64MB GF2MX400 --> | Upgrading to GF4 Ti4 series |
    Altec Lansing ACS 56
    Dlink D538TX NIC

    =========================
     
  5. mcdruid

    mcdruid Guest

    Nismo - you can use HTML form 'hidden' component:

    <input type="hidden" name="myURL" value="http://www.xp-erience.org/forum/etc.....">

    (obviously you have to give the URL of the page you want to pass this to in the

    <form action="myPage.php" method="post">

    bit)

    I know that this works fine when you're using php to parse the parameters at the other end (where the URL will be automatically assigned to the variable $myURL), but I think it should work okay in JavaScript etc.. too.

    ' hope that helps.


    mcdruid.