I would like to know what I have to change to add new links from other site(s) to mine database with regular ID and Date field. I have a problem with ID and Date fields, which are now set to 0.
If the field ID is set to <%ID%> and a new link is added, this field will have in validation form a value <%ID%> and not numeric one (from linksid.txt file). The strangest thing is also that the content of the linksid.txt file is removed. The similar problem is with the Date field.
In links.cfg I have the following:
# Referers -- which hosts are allowed to add to your database.
@db_referers = ('abak.net','povezave.com','ksop-cscp.si');
(Povezave.com is mine)
In add.html of site on other server is the following:
<INPUT TYPE="Hidden" NAME="ID" VALUE="0">
<INPUT TYPE="Hidden" NAME="Date" VALUE="0">
<INPUT TYPE="Hidden" NAME="Hits" VALUE="0">
<INPUT TYPE="Hidden" NAME="isNew" VALUE="No">
<INPUT TYPE="Hidden" NAME="isPopular" VALUE="No">
<INPUT TYPE="Hidden" NAME="Rating" VALUE="0">
<INPUT TYPE="Hidden" NAME="Votes" VALUE="0">
<INPUT TYPE="Hidden" NAME="ReceiveMail" VALUE="Yes">
<INPUT TYPE="Hidden" NAME="isPick" VALUE="No">
Title: <input name="Title" size="50">
URL: <input name="URL" value="http://" size="50">
Kategory: <font face="Verdana" size=2> <select name="Category">
<option>---
<option value="Domace_strani/Flash">Domace strani : Flash
<option value="Domace_strani/Osebne">Domace strani : Osebne
<option value="Druzba/Klubi">Druzba : Klubi
<option value="Druzba/Ljudje">Druzba : Ljudje> ...
Description: <textarea wrap="virtual" name="Description" value="" rows="3" cols="42"></textarea>
Name: <input name="Contact Name" value="" size="40">
E-mail: <input name="Contact Email" value="" size="40">
<INPUT TYPE="Submit" NAME="send_form" VALUE="Add this site!">
Thanks in advance!
If the field ID is set to <%ID%> and a new link is added, this field will have in validation form a value <%ID%> and not numeric one (from linksid.txt file). The strangest thing is also that the content of the linksid.txt file is removed. The similar problem is with the Date field.
In links.cfg I have the following:
# Referers -- which hosts are allowed to add to your database.
@db_referers = ('abak.net','povezave.com','ksop-cscp.si');
(Povezave.com is mine)
In add.html of site on other server is the following:
<INPUT TYPE="Hidden" NAME="ID" VALUE="0">
<INPUT TYPE="Hidden" NAME="Date" VALUE="0">
<INPUT TYPE="Hidden" NAME="Hits" VALUE="0">
<INPUT TYPE="Hidden" NAME="isNew" VALUE="No">
<INPUT TYPE="Hidden" NAME="isPopular" VALUE="No">
<INPUT TYPE="Hidden" NAME="Rating" VALUE="0">
<INPUT TYPE="Hidden" NAME="Votes" VALUE="0">
<INPUT TYPE="Hidden" NAME="ReceiveMail" VALUE="Yes">
<INPUT TYPE="Hidden" NAME="isPick" VALUE="No">
Title: <input name="Title" size="50">
URL: <input name="URL" value="http://" size="50">
Kategory: <font face="Verdana" size=2> <select name="Category">
<option>---
<option value="Domace_strani/Flash">Domace strani : Flash
<option value="Domace_strani/Osebne">Domace strani : Osebne
<option value="Druzba/Klubi">Druzba : Klubi
<option value="Druzba/Ljudje">Druzba : Ljudje> ...
Description: <textarea wrap="virtual" name="Description" value="" rows="3" cols="42"></textarea>
Name: <input name="Contact Name" value="" size="40">
E-mail: <input name="Contact Email" value="" size="40">
<INPUT TYPE="Submit" NAME="send_form" VALUE="Add this site!">
Thanks in advance!