804 projects tagged "php classes"
Easy Debugger is a simple class that makes debugging complex sites very simple. The class allows you to clearly and easily output strings, variables, and objects and color code them for easier reading. It also makes it incredibly simple to output strings, variables, or even objects to email for simple troubleshooting or AJAX pages and pages where reload doesn't allow debugging. It saves debug output until the end of the page; groups all outputs from a page together; groups all outputs from specific files together; has easy color coding for advanced troubleshooting; shows line numbers and file names so you don't lose debug items; and has simple helper functions to speed up use. Debugs can be left on while the site is live, with no unwanted interruption. This code has been used on over 100 sites, from simple HTML pages to complex Web applications.
crXml is an all-in-one, easy-to-use XML parser, generator, and editor created using PHP's DOM XML functions. The functionality of this class is similar to simpleXML. It differs from simpleXML in the way in which namespaced nodes are addressed. In simpleXML, namespaced nodes cannot be addressed directly. In this class, a namespaced node can be addressed directly as $crxmlObject->{'prefix:nodeName'}. It can also generate PHP code to access any of the nodes. It can also generate or manipulate any type of XML document. Please check the live demo so that you can try the class without downloading anything.
Huxley is a set of classes that makes it trivial to produce legitimate output for queries made by the prevailing standard of REST queries. Instead of writing a network API with many methods, being run over RPC, you instead write only a couple of methods that are accessed by HTTP GET requests. You then return the results (in either XML, JSON, or text) for processing. XML and JSON are chosen because of the ease by which they can be parsed by most languages. In this way, you open up the scope of your network services to many more people than would otherwise have access to it.
Simple Login Class is a PHP class that can be used to prevent unauthorized access of Web pages. A simple user management system can be implemented with this class very quickly. It does not use databases or database queries to store the user details. Instead of a database, it uses a text file to store the details. An access encoding technique (Base64), two hashing techniques (SHA1 and MD5), an a built-in PHP function (StrRev) are used here to store passwords more securely in the text file. Simple Login Class can be used in any PHP page just by embedding a snippet at the top of a the page to be protected. Any number of user logins can be stored more securely in a single file. The sessions are handled more safely in this system than some other login systems. The user registration system applied here is simplified. In certain cases, no configuration is needed to use this class.
A Web-based enterprise project server with a focus on finance and collaboration.