Announcement

Collapse
No announcement yet.

how to retrieve URL Parameters

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • how to retrieve URL Parameters

    How do you retrieve URL parameters in a control?

    I have a control written in SC that needs to retrieve the URL parameters.

    The URL is formed like this:

    control.php?Username=Name&ID=1234

    thank you

  • #2
    Small sample from http://php.net/manual/en/reserved.variables.get.php <?php
    echo 'Hello ' . htmlspecialchars($_GET["Username"]) . '!';
    ?>


    Giorgio Bravi
    Dolphin Software & Thinkware
    www.dolphin.it

    Comment


    • #3
      just use the $_GET['myvar']. It's just the standard php way.
      Albert Drent
      aducom software netherlands
      scriptcase partner, reseller, support and (turn-key) development
      www.scriptcase.eu / www.scriptcase.nl

      Comment


      • #4
        thanks gbravi and aducom for the replies

        Comment

        Working...
        X