Search Results

Search: Posts Made By: real_mc
16,804
Posted By real_mc
Another IP for which this script would fail:...
Another IP for which this script would fail: 0.1.2.3

adding this helps:

if [ "$1" -eq "0" ]
then
echo "First octet must not be zero (0)..."
exit 1
fi
Forum: UNIX and Linux Applications 04-28-2008
3,480
Posted By real_mc
simple
I don't know if I'm close to what you need, but try creating a script like below:
#!/usr/local/bin/php -q
<?
some php commands here

?>

and run this script whenever you want (user login/user...
8,941
Posted By real_mc
It works very well
It works very well
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 01:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy