It is not working... :-(
Here is what my variable file looks like:
%hash = (
---hash---
);
$UBBCodeAllow = "yes";
1;
I sucessfully made these if things correctly before. But this time it's just not working right...
First I have this:
if ($UBBCodeAllow eq "yes") {
$UBBCodeyes = "CHECKED";
} else {
$UBBCodeno = "CHECKED";
}
Then after I have:
<td width=50% valign=top>
<FONT SIZE="2" FACE="Verdana, Arial"><B><INPUT TYPE="RADIO"...
UGH... I can't get the form parts to work. :-(
I'm making an admin logging part on my script and it looks like:
open (FILE, ">>/home/puremadnezz/cgi-bin/test/variables/vars_log.cgi") or die("Unable to open vars_log.cgi file for writing.");
flock(FILE,LOCK_EX);
print FILE...
Thanks! I'll try the form method later.
I tried the localtime thing before, but I don't really like it because it doesn't show it in the 12hr format. Can you tell me how to do that? Thanks again. :-D
I have questions:
1. How do I print current time? Like the following format: 12:09:45
2. How do I get input from a form as well as writing to a file? (<>> won't work)
Thank you. :-)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.