GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Tech Is there a more secure way of doing this? (https://gfy.com/showthread.php?t=1364201)

Publisher Bucks 04-21-2023 10:18 PM

Is there a more secure way of doing this?
 
When it comes to hosted promo tools like FHGs, free sites, reviews and blogs etc?

Quote:

<?php $query=getenv("QUERY_STRING");
$query = (int)$query;
?>
Quote:

<a href="<?php
if ($query!=NULL)
echo 'http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=000000-0000&PA='.$query.'&HTML=http://www.domain.com';
else
echo 'http://www.domain.com';
?>">
Thanks :)

Klen 04-22-2023 01:48 AM

Try this;
Quote:

$query = filter_input(INPUT_GET, 'QUERY_STRING', FILTER_SANITIZE_NUMBER_INT);


Publisher Bucks 04-22-2023 11:57 AM

Quote:

Originally Posted by Klen (Post 23126913)
Try this;

Much appreciated, thank you 👍


All times are GMT -7. The time now is 01:32 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc