Related Content
Creating An Authentication System With PHP and MariaDB
Using frameworks to handle the authentication of your PHP application is perfectly fine to do, and normally encouraged. They abstract away all of the complexity of managing users and sessions that need to work in order to allow your application to function.
Creating Sparklines In PHP
A sparkline is a very small line graph that is intended to convey some simple information, usually in terms of a numeric value over time. They tend to lack axes or other labels and are added to information readouts in order to expand on numbers in order to give them more context.
PHP:CSI - Improving Bad PHP Logging Code
I read The Daily WTF every now and then and one story about bad logging code in PHP stood out to me. The post looked at some PHP code that was created to log a string to a file, but would have progressively slowed down the application every time a log was generated.
Generating Histogram Colour Analysis Graphs From Images In PHP
If you've ever looked at the settings in a digital camera, or have experience with image processing programs like GIMP, then you may have seen a colour histogram. This is a simple graph that shows the amount of different shades of colour are present in the image.
PHP:CSI - To Switch, Or Not To Switch?
I was writing unit tests for a API mapping function recently and came across this interesting issue. The code I was writing tests for was in a legacy codebase that I was making changes to, and it made sense to have some unit tests in there before I started work to ensure everything worked before and after.
Drupal 9: Generating Header Images For Pages Of Content Using PHP
Embedding image within pages of content helps both within the design of the page and when shared on social media. If you set up meta tags to point at a particular image then that image will appear when the page is shared on social media. This makes your page stand out more.
Comments
Submitted by W3c Validation on Tue, 08/10/2010 - 13:33
PermalinkOne of the basic reasons why websites often do not pass the W3C validation check is due to the fact that there are several programs and scripts that are running on the web pages and many of them do not comply with the web standards.
Submitted by Free Stuff on Mon, 03/14/2011 - 12:19
PermalinkThe class works well, provided you make one tiny change. Currently the regular expression only matches 2 or more errors because it looks for the "s" at the end of errors. You could make this change to handle detecting a single error.
The question mark just makes the 's' optional. Works perfectly after that.
Submitted by Anonymous on Tue, 03/27/2012 - 15:12
PermalinkCorrected. Thanks for the input! :)
Submitted by philipnorton42 on Tue, 03/27/2012 - 15:55
PermalinkGracias..
Submitted by Amigo on Wed, 03/28/2012 - 19:26
PermalinkSubmitted by d3iti on Tue, 08/19/2014 - 10:36
PermalinkSubmitted by Sandeep pattanaik on Tue, 07/28/2015 - 16:43
PermalinkAdd new comment