Difference between revisions of "ASP Query String"
From TMM Wiki
Jump to navigationJump to searchm |
|||
(One intermediate revision by one other user not shown) | |||
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> | ||
Line 15: | Line 15: | ||
[[Category:Also NATS4 Article]] | [[Category:Also NATS4 Article]] | ||
+ | [[Category:NATS4 Affiliate Information]] |
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.