#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2000
    Posts
    3
    Rep Power
    0
    I would like to pass a parametr from SITE1 to SITE2

    SITE1
    <a href=SITE2.html><img src="Img1.gif"></a>
    . . . . . . . . .
    <a href=SITE2.html><img src="Img9.gif"></a>

    SITE2
    <a href= (If press SITE1Img1 Go SITE3 Else Go SITE4)
    . . . . . . . . . . . . . . . . .
    <a href= (If press SITE1Img9 Go SITE9 Else Go SITE4)

    Can i do this without CGI ?
  2. #2
  3. Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2000
    Location
    Perth West Australia
    Posts
    757
    Rep Power
    15
    you can pass a variable in the URL ie:
    <a href="blah.html?yourvar=9"><img src etc - and in blah.html the var yourvar will be automatically set to 9 or whatever.

    You can then do an if else on 'yourvar'.

    Multiples can be set as follows,
    <a href="blah.html?yourvar=9&anothervar=hello&thisone=boo">etc.

    Simon

    ------------------
    Simon Wheeler
    FirePages -DHTML/PHP/MySQL
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2000
    Posts
    3
    Rep Power
    0
    Thanks for your help

    But variable will be processed on side of server, rather then client.
    Interesting, I has visitted beside 10 conferences, 20 persons have
    assigned the similar question. 200 persons have answerred "how send variable",
    nobody did not answer "HOW PROCESS VARIABLE ON SIDE of CLIENT" !!!

    Best Regards Valeri

Similar Threads

  1. ipfilter ruleset review please
    By tlthomas in forum BSD Help
    Replies: 11
    Last Post: March 20th, 2004, 04:51 PM
  2. Dynamic DNS to local web server
    By uniopp in forum DNS
    Replies: 9
    Last Post: February 1st, 2004, 05:26 AM
  3. Proper way to pass arrays
    By strimp099 in forum PHP Development
    Replies: 5
    Last Post: December 17th, 2003, 09:34 AM
  4. creating sql pass thru for access using VBA - help!!
    By Glenstr in forum Database Management
    Replies: 0
    Last Post: May 8th, 2003, 05:12 PM
  5. ipf filter ruleset for masquerading/NAT
    By munkfish in forum BSD Help
    Replies: 16
    Last Post: January 28th, 2002, 03:42 PM

IMN logo majestic logo threadwatch logo seochat tools logo