www.webdeveloper.com
Results 1 to 2 of 2

Thread: A Problem with Apache + PHP.

  1. #1
    Join Date
    May 2013
    Posts
    119

    A Problem with Apache + PHP.

    Hello Guys,
    I've installed Apache server (2.0.48) and PHP (4.3.4) and I've encountered this problem when trying to get variables from the address bar (don't know any other way to describe it). it can't get the id variable from there. i don't know if the problem is with apache settings or php.ini.
    thanks in advance.
    Last edited by noahwilson; 05-17-2013 at 07:48 AM.

  2. #2
    Join Date
    Mar 2013
    Location
    Iasi, Romania
    Posts
    53
    So you are trying to retrieve variables from an URL?
    Like www.example.com?id=4 ?
    For that you could use either
    PHP Code:
    $x=$_REQUEST['id'
    or
    PHP Code:
    $x=$_GET['id'
    .
    You are not very explicit so I'm just guessing

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles