SiperNet
06-01-2002, 08:39 AM
Ok guys I don`t know why the hell I can`t get this to work but I thought I`d ask here. :D
Here is a piece of code that I know is wrong but I can`t seem to make it right. This is for the password protect on cpanel.
<form action="changepro.html">
<center>
<hr width="50%"><input type="checkbox" name="protected"
><cpanel Htaccess="checkprotected($FORM{'dir'})"> value="1">
<img align=absmiddle src="images/Padlock.gif" border=0>
Folder requires a password to access via http://<br>
Protected Resource Name:
<input type="text" name="resname" value="<cpanel Htaccess="resname($FORM{'dir'})">"> <br>
<input type="hidden" name="dir" value="<cpanel print="$FORM{'dir'}">">
<input type="submit" name="action" value="Save">
</center>
</form>
If anyone can lend a hand it would be appreciated. :)
Here is a piece of code that I know is wrong but I can`t seem to make it right. This is for the password protect on cpanel.
<form action="changepro.html">
<center>
<hr width="50%"><input type="checkbox" name="protected"
><cpanel Htaccess="checkprotected($FORM{'dir'})"> value="1">
<img align=absmiddle src="images/Padlock.gif" border=0>
Folder requires a password to access via http://<br>
Protected Resource Name:
<input type="text" name="resname" value="<cpanel Htaccess="resname($FORM{'dir'})">"> <br>
<input type="hidden" name="dir" value="<cpanel print="$FORM{'dir'}">">
<input type="submit" name="action" value="Save">
</center>
</form>
If anyone can lend a hand it would be appreciated. :)
