I have this URL address in address bar:
http://localhost/mk2000_php/scan2.php?I ... 1111111111
Now I need php function that fetch ItemNum. I tray with:
$thispage = $_SERVER['SERVER_NAME'] . $_SERVER['SCRIPT_NAME'];
but this return only http://localhost/mk2000_php/scan2.php
thanks[/b]
need function
Moderator: General Moderators
to get just the item num?
to get the entire path?
use $_SERVER['QUERY_STRING'] in addition to what you have
Code: Select all
echo $_GET['ItemNum'];use $_SERVER['QUERY_STRING'] in addition to what you have
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.