Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Linux, Apache, MySQL, PHP
  4. php website with parameters

php website with parameters

Scheduled Pinned Locked Moved Linux, Apache, MySQL, PHP
csharpphpcomquestion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MacIntyre
    wrote on last edited by
    #1

    I have a great website that is my capture page. Others would like to use it also. How do I add a parameter that would allow me to add a user to my site like website.com/username.. I'm normally a .net programmer, this is my first php programm.. Could I have an code sample too... Thanks..

    D 1 Reply Last reply
    0
    • M MacIntyre

      I have a great website that is my capture page. Others would like to use it also. How do I add a parameter that would allow me to add a user to my site like website.com/username.. I'm normally a .net programmer, this is my first php programm.. Could I have an code sample too... Thanks..

      D Offline
      D Offline
      Dr Walt Fair PE
      wrote on last edited by
      #2

      Are you talking about a parameter (GET or POST) or somehow fiddling with the URL? I'm not sure I follow what you want to do.

      CQ de W5ALT

      Walt Fair, Jr., P. E. Comport Computing Specializing in Technical Engineering Software

      M 1 Reply Last reply
      0
      • D Dr Walt Fair PE

        Are you talking about a parameter (GET or POST) or somehow fiddling with the URL? I'm not sure I follow what you want to do.

        CQ de W5ALT

        Walt Fair, Jr., P. E. Comport Computing Specializing in Technical Engineering Software

        M Offline
        M Offline
        MacIntyre
        wrote on last edited by
        #3

        I want to have 3 or 4 people to sell products from my website by sending others to view it. They need to send them there with a link that contains an input parameter that is their id so they can get credit for the online sale. So what is the best way to do this?

        D 1 Reply Last reply
        0
        • M MacIntyre

          I want to have 3 or 4 people to sell products from my website by sending others to view it. They need to send them there with a link that contains an input parameter that is their id so they can get credit for the online sale. So what is the best way to do this?

          D Offline
          D Offline
          Dr Walt Fair PE
          wrote on last edited by
          #4

          I'd probably use a HIDDEN field to send a GET or POST parameter to a PHP page that looks at the parameter and figures out who to give credit to, then sends them on to the link.

          CQ de W5ALT

          Walt Fair, Jr., P. E. Comport Computing Specializing in Technical Engineering Software

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups