View Full Version : HELP form processing

06-09-2006, 11:25 AM
HI guys i have a form that is actions is php:

<?php echo $_SERVER['SCRIPT_NAME']; ?>

but i have a variable $send in url


how can i do to process the data form in the same page with ?send=n? I tried this

<?php echo $_SERVER['SCRIPT_NAME'] . "?send=" . $_GET['send'];?>

But dont work.

Thanks in advance

06-09-2006, 01:03 PM
Try this,

<?php echo $_SERVER['PHP_SELF'] . "?" . $_SERVER['QUERY_STRING'];?>

06-09-2006, 01:06 PM
thank you very much
Its working

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum