Tagged "PHP"
Passing Email Addresses in URLs With CodeIgniter
#PHP #configuration #security #CodeIgniter
CodeIgniter has some handy security features that sometimes get in the way. One such feature is URI scrubbing for disallowed characters. There are probably more secure ways to tell a script what email address to use than to pass it directly via URI. I'm using this for a simple intranet application to manage email recipients for a UPS & FedEx tracking emailer. So it is not important to cloak the email address being passed. Make sure this method is right for your project before you use it. It can expose email addresses to being indexed by spam bots or intercepted by hackers. Note: Ian Huet has provided a great solution using jQuery's AJAX functionality to pass the email in a POST request which bypasses the issue covered in this article entirely. Find it in the comments.
Basic Cryptography With PHP - shift and unshift
I just started reading Dan Brown's, "Digital Fortress" which is an excellent read so far. Early on in the novel, we are introduced to some very basic cryptography. Nothing like the FBI Cryptography Challenge, mind you. This is much simpler. So, what is the cypher? It's simple. Just shift each letter of the "clear text" message by minus one. So, 'a' becomes 'z', 'b' becomes 'a', 'c' becomes 'b', and so on. First, we'll need a script to encrypt the message. We'll also need a script to decrypt the message just for good measure. So I give you, shift.php and unshift.php.
Fun with CodeIgniter 1.7.0
#web #development #PHP #technique #CodeIgniter #Framework #Open Source
I find I enjoy programming with PHP much better than I do with VB .NET. Despite the fact that I like some aspects of VB.NET I still have more control with PHP and CodeIgniter.
Project Announcement: ELK Lighting Inc.
I have been contracted to program the wholesale functionality of the new ElkLighting.com. The project is slated to be completed in two weeks. Beta versions not available to the public are to be finish...
Gracefully Degrading AJAX with PHP and jQuery
#PHP #tutorial #Code #jQuery #AJAX #JavaScript
The intention here is to augment the form rather than force it into behavior we want.