By betz on
Hi,
how do i get a url argument in php?
i want to get it in a computed field of cck
I tried $arg, but he dont get it by this
greets,
tom
Hi,
how do i get a url argument in php?
i want to get it in a computed field of cck
I tried $arg, but he dont get it by this
greets,
tom
Comments
Arguments passed to PHP via
Arguments passed to PHP via a URL are stored in $_GET array, e.g.,
$_GET['varname']. Always validate and sanitize user input.--
Erik
To get a value passed to
To get a value passed to Drupal via a URL, you'll usually want to use Drupal function arg(). See, http://api.drupal.org/api/function/arg.
--
Erik