2012-05-16 07:31:36 +02:00
|
|
|
<?php
|
|
|
|
|
2014-07-01 03:27:56 +02:00
|
|
|
require_once('include/submit.php');
|
2014-08-09 00:46:53 +02:00
|
|
|
require_once('include/sync.php');
|
2012-05-16 07:31:36 +02:00
|
|
|
|
|
|
|
function submit_content(&$a) {
|
|
|
|
|
2014-07-11 19:30:02 +02:00
|
|
|
//Decode the URL.
|
2014-07-01 03:27:56 +02:00
|
|
|
$url = hex2bin(notags(trim($_GET['url'])));
|
2014-07-11 19:30:02 +02:00
|
|
|
|
|
|
|
//Currently we simply push RAW URL's to our targets.
|
2014-08-09 00:46:53 +02:00
|
|
|
sync_push($url);
|
2014-07-11 19:30:02 +02:00
|
|
|
|
|
|
|
//Run the submit sequence.
|
2014-07-10 23:43:25 +02:00
|
|
|
run_submit($url);
|
2012-05-16 07:31:36 +02:00
|
|
|
exit;
|
|
|
|
|
|
|
|
}
|