As far as checking to see if it's a number, note that you can get the
following
"10" = string that contains 10
10 = integer that contains 10.
You can verify that a variable contains numbers or numeric data by using
if (is_numeric($variable))
{
$variable is either a number variable or a string
If you want to use older functions without upgrading your version of PHP,
try PHP_Compat.
Here's file_get_contents which is comparable in speed to the native version:
http://cvs.php.net/co.php/pear/PHP_Compat/Compat/Function/file_get_contents.php?r=1.19
Most information can be found at http://pe
If it throws out garbage, you should be able to execute the "who" command on
the remote system, which should show users that are currently signed on to a
Unix or Linux system and if you do it all in the perl script, you can format
the output to look pretty much the same (in case you haven't figured
101 - 103 of 103 matches
Mail list logo