explore build interact shop
General  
Technical  
HTML  
Uploading  
Advertising/
Banners
 
CGI Scripts  
E-mail  
Chat  
Password  
 


  1. Can I use my own CGI scripts?
  2. How do I put a counter on my page?
  3. How do I change the style of my counter?
  4. How do I put a clock on my page?
  5. How do I put the date on my page?
  6. How do I put a FormMail on my page?
  7. How do I set up a guestbook?
  8. Are there going to be any other scripts that I can use?


1) Can I use my own CGI scripts?

We do not allow people to use their own script or to have access to our CGI-BIN as it would compromise the security of our site.



2) How do I put a counter on my page?

To insert a counter onto your page you need to put the following code
    <IMG SRC="lahttp://cgi.fortunecity.com/user-cgi/Count.cgi?df=username.xxx">
Where "username" is replaced by the username you have chosen for Fortunecity and the "xxx" is replaced by a unique three digit number of your choice. If my username is "Homer" then my counter code would be as follows
    <IMG SRC="http://cgi.fortunecity.com/user-cgi/Count.cgi?df=Homer.001">
If I wanted to put a second counter on a different page within my site the code would be
    <IMG SRC="http://cgi.fortunecity.com/user-cgi/Count.cgi?df=Homer.002">
You can have as many counters on as many different pages as you want, as long as each one has a different three digit number to identify it.

NB. If you username has spaces in it such as "Homer Simpson" then the spaces must be replaced by a full stop (.) in the counter code, otherwise the counter will not work correctly:
    <IMG SRC="http://cgi.fortunecity.com/user-cgi/Count.cgi?df=Homer.Simpson.001">
If my username was "The Mighty Quinn" then my counter code would be
    <IMG SRC="http://cgi.fortunecity.com/user-cgi/Count.cgi?df=The.Mighty.Quinn.001">



3) How do I change the style of my counter?

There are four different counter styles available. In order to change the counter style you must use the style command. If someone with the USERNAME Homer wanted to change the style of his counter the tags would read:


<IMG SRC="http://cgi.fortunecity.com/user-cgi/Count.cgi?df=Homer.001&style=a">


<IMG SRC="http://cgi.fortunecity.com/user-cgi/Count.cgi?df=Homer.001&style=b">


<IMG SRC="http://cgi.fortunecity.com/user-cgi/Count.cgi?df=Homer.001&style=c">


<IMG SRC="http://cgi.fortunecity.com/user-cgi/Count.cgi?df=Homer.001&style=d">



4) How do I put a clock on my page?

Follow the procedure as you would to put a counter on you page but add in the following code:

&display=time

If someone with the USERNAME Homer wanted to put a clock on his page the tag would read

<img src="http://cgi.fortunecity.com/user-cgi/Count.cgi?df=Homer.001&display=time">



5) How do I put the date on my page?

Follow the procedure as you would to put a counter on you page but add in the following code

&display=date

If someone with the USERNAME Homer wanted to put the date on his page the tag would read

<img src="http://cgi.fortunecity.com/user-cgi/Count.cgi?df=Homer.001&display=date">



6) How do I put a FormMail on my page?

Put the following HTML onto your page

<FORM ACTION="http://cgi.fortunecity.com/user-cgi/FormMail.pl" METHOD=GET>
<INPUT TYPE=HIDDEN name="recipient" VALUE="[email protected]">
Please enter the subject of your mail: <BR>
<INPUT TYPE=TEXT NAME="subject" ><BR>
Please enter your email address: <BR>
<INPUT TYPE=TEXT NAME="email"><BR>
Please enter the content of your email: <BR>
<TEXTAREA NAME="content" ROWS=9 COLS=45 ></TEXTAREA><BR>
<INPUT TYPE=SUBMIT><INPUT TYPE=RESET> </FORM>

YOU MUST HOWEVER CHANGE THE EMAIL ADDRESS (WHICH IS HIGHLIGHTED IN RED) TO YOUR EMAIL ADDRESS.

If you want to redirect to a particular URL once the email has been sent you must enter another line of code tag:

<input type=hidden name="redirect" value="anotherpage.html">

ie. if you wanted to redirect to http://www.fortunecity.com then you would use the tag:

<input type=hidden name="redirect" value="http://www.fortunecity.com">

This tag must be inserted between the the first FORM tag and the last one.

There are lots of other things you can do with this form. If you wish to learn more click here to see the Form Mail Read Me text file.



7) How do I set up a guestbook?

To set up a guestbook go to the following URL:

http://cgi.fortunecity.com/user-cgi/buildGuestbook.cgi?username=USERNAME

ie. if your USERNAME is cyberdude, then you would goto the URL

http://cgi.fortunecity.com/user-cgi/buildGuestbook.cgi?username=cyberdude



Once there you will be asked to enter your PASSWORD. Once you have entered the correct PASSWORD your guestbook is automatically set up. The URL for people to leave messages is

http://cgi.fortunecity.com/user-cgi/getentry.pl?username=USERNAME

ie. if your USERNAME is cyberdude, then you would goto the URL

http://cgi.fortunecity.com/user-cgi/getentry.pl?username=cyberdude

Click here to see an example of the page where you leave a message.



and the URL to view the messages is

http://cgi.fortunecity.com/user-cgi/report.pl?username=USERNAME&reporttype=simple

ie. if your USERNAME is cyberdude, then you would goto the URL

http://cgi.fortunecity.com/user-cgi/report.pl?username=cyberdude&reporttype=simple

Click here to see an example of the page where you read the messages.



There is also an admin URL, that allows you to search through and delete your messages. This is

http://cgi.fortunecity.com/user-cgi/report.pl?username=USERNAME

ie. if your USERNAME is cyberdude, then you would goto the URL

http://cgi.fortunecity.com/user-cgi/report.pl?username=cyberdude

Click here to see an example of the administration page where you can search and delete messages.



8) Are there going to be any other scripts that I can use?

We are going to write a notice board.

If you have any further questions please contact
[email protected]

SITE TOURMAPWHAT'S NEW
HELPABOUT FCADVERTISE
 
FORTUNE CITY THE WEB
Cool Citizen
Check out this month's winner from Victoria Park.



News
Get the latest headlines and find out what's happening in FortuneCity.



Suggestions
Tell us what YOU want from FortuneCity!