Hello.
I have a problem. I'm trying to write a simple user-level plugin that requires a domain param in the url (?domain=my-example-domain.com).
In user/index.html I have:
My question is simple, how can I check (be sure) in dosomething.php, that the domain found in $_SERVER['QUERY_STRING'] belongs to getenv('USERNAME')?
TIA
I have a problem. I'm trying to write a simple user-level plugin that requires a domain param in the url (?domain=my-example-domain.com).
In user/index.html I have:
Code:
#!/usr/local/bin/php
<?php
include dirname(__FILE__) . '/../plugin/dosomething.php';
?>
My question is simple, how can I check (be sure) in dosomething.php, that the domain found in $_SERVER['QUERY_STRING'] belongs to getenv('USERNAME')?
TIA