Results 1 to 6 of 6

Thread: PHP Links

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2003
    Posts
    137

    Resolved PHP Links

    Ok i want to make a link but to set a variable or a $_POST variable. Can someone help? ok let me explain futher.

    I want a link like.
    www.mydomain.com
    or a image link like this smilie or something

    now i want it to navigate to the same page but set a variable like $w_link //which would be What_link

    now i want $w_link to equal a number like $w_link = 3;

    How can i do this
    Last edited by AtomSoft; Sep 28th, 2004 at 06:06 PM.
    Live to love, Not to hate

  2. #2
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    I have no idea what you're talking about. Is the page you are linking to external, or is it one of your own?
    My evil laugh has a squeak in it.

    kristopherwilson.com

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Nov 2003
    Posts
    137
    ok lets say i have 1 page called index.php
    now i want to send data to this page from image.php Now i want to send the index.php the below data:

    image: someimage.gif
    sizeH: 64
    sizeW: 128

    now i want that info to come from image.php to index.php and i want it in a link not in a form. How do i get this done
    Live to love, Not to hate

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Nov 2003
    Posts
    137
    ok since no reply yet does anyone really understand what i want done or need help with? let me show you a sample.

    ok maybe you will understand this
    <a href="index.php?File=image.gif_64_64">Some Link</a>

    something like that but i want the user to be unable to see it. you understand
    Live to love, Not to hate

  5. #5
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Originally posted by AtomSoft
    ok since no reply yet does anyone really understand what i want done or need help with? let me show you a sample.

    ok maybe you will understand this
    <a href="index.php?File=image.gif_64_64">Some Link</a>

    something like that but i want the user to be unable to see it. you understand
    There's no way for the user to not be able to see it. Your options are either GET or POST. If it's GET, it'll be in the link. If it's POST, you'll need a form.

    I don't know exactly what you're doing, but you could also try storing the values in a session or cookie in index.php, and then pulling them up in image.php
    My evil laugh has a squeak in it.

    kristopherwilson.com

  6. #6

    Thread Starter
    Addicted Member
    Join Date
    Nov 2003
    Posts
    137
    thx... you can check out my homepage and goto the art work section to see what i was trying to do. Well i was trying to load a image from a click like if i click on a image it will load @ the bottom of the page. Well i succeeded
    Live to love, Not to hate

Posting Permissions

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



Click Here to Expand Forum to Full Width