getenv ... i think
| From: | Steven Macintyre | Date: | Thu, 22 Nov 2007 10:47:07 +0000 |
| Subject: | getenv ... i think | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-264959@lists.php.net to get a copy of this message | ||
Hi all,
http://steven.macintyre.name/myscript.phps
is my code as it stands
The purpose of the code is as follows;
Its for a non-profit company - wanting to offer "support" banners for users
who pay for them right ... as in donation.
They want to be able to restrict those banners to a certain period "the
bought period" and I want to restrict them to only access the banners from
the specified URL when they signed up.
IE ... if you signed up with http://www.yourlovelydomain.com i want to be
able to limit the display of these banners depending on the hash and somehow
- checking the domain its coming from
Any ideas - am i on the right track ?
If i take OUT the getenv if then, it works ... so i know that is where the
problem is.
S