RE: Rounding a number

2002-09-12 Thread Mike Craig
Hi, Unless I have missed exactly what you need, this should work take the int of Snum + 1 Mike Craig www.UltraTextPro.biz -Original Message- From: Bob Showalter [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 12, 2002 4:42 PM To: 'Octavian Rasnita'; [EMAIL PROTECTE

How can I call a Perl function from HTML?

2002-09-19 Thread Mike Craig
else return false; } //--> //// Best regards Mike Craig -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Encoding text

2002-09-21 Thread Mike Craig
Hi, I want to encode a string using the translate function. decoding is well documented by $value =~ tr/+/ /; $value = s/%([a-fA-F0-9][a-fA-F0-9])/pack("C",hex($1))/eg; what i would like to do is to use the translate command to replace just the special

Cookies and IP Addresses

2002-10-03 Thread Mike Craig
Hi all, Can you help me with this? I want to get the servers IP address and the IP address of the referrer. Is there a reliable way to do this? When I used 'REMOTE_ADDR' I get different values even when I go directly to my site and then call 'REMOTE_ADDR'. Does anyone know why? I