Upload the cag.pl file to you cgi-bin directory.
CHMOD cag.pl to 7-5-5
Navigate to www.YOURDOMAIN.com/cgi-bin/cag.pl
To add the script to your website, once you have
generated the code, just paste it above the closing
</body> tag in you webpage.
To Customize:
Open up cag.pl in text editor
Press Edit > Find...
Search for <h1>ConTEXT Ad Generator</h1>
Put your own title inside the <h1> </h1> tags