GENERACJA.pl - Your Internet access GENERACJA.pl - Your Internet access
GENERACJA.pl - Your Internet access GENERACJA.pl - Your Internet access help work contact
GENERACJA.pl - Your Internet access
Polski English
Download
HelpDesk
+48 71 71 55 555

Subscription

Subscription is a very useful service, because it enables the people watching websites to leave their e-mail addresses for the purpose of being informed about the changes on the website.

You can use the subscription through the form with set field action on http://www.generacja.pl/cgi-bin/subscr.pl. To send e-mail to all the people registered on the list of a given account, you should log in to the Account Management System and choose the bookmark subscription.

Sample use: <form action="http://pro.do.pl/cgi-bin/subscr.pl" method="post"></form>

Particular fields description: (*means that the field is required)

  • adres* - text field allowing the visitor to leave the e-mail address
    Sample: <input type="text: name="adres" value="[email protected]" />

  • ac* - this field defines the account name in the system, on which the website is located (login given in FTP program during placing websites on the server)
    Sample: <input type="hidden" name="ac" value="wwwkonto" />

  • type* - this field is used to define the action, that is to be done with the given e-mail address - the address will be added, if the field contains text 'add' or 'dodaj', or usuniety, if the field contains the text 'usun' or 'usun' or 'del'
    Sample 1: <select name="type"><option value="add" />dodaj<option value="del" />usuń</select>
    Sample 2: <input type="submit" name="type" value="Dodaj" /><input type="submit" name="type" value="Usuń" />

  • redir_ok_add - in this field it is possible to define what website will be opened after correct adding the address
    Sample: <input type="hidden" name="redir_ok_add" value="http://your.host.com/to/file.php?email=##" />

  • redir_ok_del - in this field it is possible to define what website will be opened after correct deleting the address
    Sample: <input type="hidden" name="redir_ok_del" value="http://your.host.com/to/file.php?email=##" />

  • redir_bad - in this field it is possible to define what website will be opened after if the user adds incorrect address
    Sample: <input type="hidden" name="redir_bad" value="http://your.host.com/to/file.php?email=##" />

In all redir_ the first occurence of characters '##' will be changed by the entered e-mail address. It makes sense in redirecting PHP websites or CGI scripts, because it enables preparation of detailed messages faciliating the management.