You could easily make this authentication more dynamic by checking a database for the username and password. We can get whatever the user typed into the dropdown box by specifying the following superglobals.
Category Archives: PHP
ffmpeg_movie object methods
PHP ffmpeg methods
Inline Images with Data URLs
Inline images use the data URI scheme to embed images directly within web pages. As defined by RFC 2397, data URIs are designed to embed small data items as "immediate" data, as if they were referenced externally. Using inline images saves HTTP requests over externally referenced objects.
Base64 Image Encoder
Base64 Image Encoder
PHP regular expressions for web developers
Regular expressions are a very useful tool for developers. They allow to find, identify or replace text, words or any kind of characters. In this article, I have compiled 15+ extremely useful regular expressions that any web developer should have in his toolkit.
How to Fix and Cleanup the TimThumb Hack in WordPress
So if you remember correctly, there was a security issue with the TimThumb script in August which was fixed. However still to our surprise, many sites are still using the old version. We have fixed three sites so far in the past month, one being yesterday. So it makes sense to simply write a step …
Continue reading “How to Fix and Cleanup the TimThumb Hack in WordPress”