chopSent is very simplistic script/function intended to limit the character output of a given string and emphasize that the string does indeed continue, however input source
is NOT limited, so use your imagination.
Shows the steps involved in converting a number from a given base to base 10. I wrote the example for a book, but after I was mostly finished it, it seemed too off topic. I
hope that someone finds it useful. :)
Below are two functions I use to create unique ids: The first uses unique_id() and md5(). (I think I copied it from the manual). The second is useful if you want to restrict
the unique id to a specific length and character set ( I think I copied it from Core PHP).
This class returns the whois information an checks the availability of at least 250 different top level domains. Also it validates the domains name (Thought have been given to
the new IDN special chars). CNO WHOIS informations where returned completely.
This runs as a cron job and notifies the administrator of all the php fatal errors that happened in the last specified time. This is a low-overhead solution to fatal error
reporting.... some solutions suggested output buffering each page, running a regex, but that has huge overhead. Others say no production code should ever have fatal errors.
However, in my business we maintain many different sites each low budget and testing may not always be efficent. Sometimes a change on one file affects our code in more than
one place and we forget to look somewhere and fatal errors happen. This has saved our butt a few times.
this class i made when i learning data structure and algorithm . linked list usually made from compiled programming language or programming language that have Pointer. but i
try to make linkedlist using PHP nothing diference . this class implements single linked list that just have one pointer (next). this class can use to make stack or queue
using linkedlist more info please contact me
The query builder builds a query as per the previous HTML page selections /* previous HTML page */ create an html page with multiple select boxes (multiple select) and put
three radio buttons as for operators (and, or , none). As per the users selection the query will be generated on this page. This tools uses a fixed query string and also an
array. All the conditions are pushed into an array.After the conditions are decided the arroy is converted into a ',' comma separated string containing the conditions. here
$access is a variable through which we control the access to the system
A very easy to use RC4 function, written entirely in php, using the function on plaintext returns the Encrypted string and using it on encrypted text returns the plaintext...
its that simple. The security of the algorythmn is dependant on the size of the key used and any size key can be used with this function.