Difference between revisions of "ASP Query String"
From TMM Wiki
Jump to navigationJump to searchTMMStephenY (talk | contribs) m |
|||
Line 6: | Line 6: | ||
}} | }} | ||
− | On ASP servers, use the following code instead of PHP's ''?<?=$ | + | On ASP servers, use the following code instead of PHP's ''?<?=(!empty($_REQUEST['nats']) && !preg_match('/[\'\"<>()\\\+\[\]]/', $_REQUEST['nats']))?'&nats='.$_REQUEST['nats']:''?>'': |
<pre> | <pre> |
Latest revision as of 10:36, 24 May 2017
NATS 3
|
---|
On ASP servers, use the following code instead of PHP's ?<?=(!empty($_REQUEST['nats']) && !preg_match('/[\'\"<>()\\\+\[\]]/', $_REQUEST['nats']))?'&nats='.$_REQUEST['nats']:?>:
?<%=Request.QueryString%>
Both do exactly the same thing.