Invoking the PHP script
In order to invoke the script I put this into a temporary web page...
<script src="http://www.sbu.ac.uk/php-cgiwrap/bushm/expirychecker.cgi?
expiry=30/09/02&owner=bushm@sbu.ac.uk&message=testing"></script>
|
 
Calling the page this way actually rendered the echo statements ineffective, so instead I typed the url together with the query string directly into the brower's url entry field. The echo statements then produced results like this...
This should be the expiry date... 30/08/02
This should be the owner... bushm@sbu.ac.uk
This should be the message... testing
Parse error: parse error in /users/cam/cam/bushm/
.public_html/cgi-bin/expirychecker.php3 on line 15
|
 
I discovered a variety of faults. I couldn't resist the temptation of "hacking" the code to try to to fix it. However, as usual on such occasions, after a while I was beginning to have the feeling that I was getting further away from a solution rather closer to one, so I decided to log off and print out my code ready for studying another day.
|
|