You can silently post variables like this:
Create a file /dothis.php with contents
Code:
<?php
$ch = curl_init('http://mysite.com/index.php');
curl_setopt ($ch, CURLOPT_POST, 1);
curl_setopt ($ch, CURLOPT_POSTFIELDS, "option=com_content&task=blogcategory&id=24&Itemid=55");
curl_exec ($ch);
curl_close ($ch);
?>
or to use GET instead of POST
Code:
<?php
$ch = curl_init('http://www.mysite.com/index.php?option=com_content&task=blogcategory&id=24&Itemid=55');
curl_exec ($ch);
curl_close ($ch);
?>
Then in your .htaccess file do this
Code:
RewriteEngine On
RewriteBase /
RewriteRule ^thispage$ /dothis.php
But the solution in the post above this does the same thing..
Sending POST form data with php CURL