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.
Using PSR-4 With Composer
The PHP Standards Recommendations (called PSR) are a set of standards that aim to make certain aspects of working with PHP easier.
Comments
Submitted by Rix on Tue, 02/16/2010 - 15:46
PermalinkSubmitted by philipnorton42 on Tue, 02/16/2010 - 15:51
PermalinkSubmitted by Rix on Tue, 02/16/2010 - 16:04
PermalinkSubmitted by philipnorton42 on Tue, 02/16/2010 - 16:18
PermalinkSubmitted by Rix on Tue, 02/16/2010 - 16:33
PermalinkSubmitted by Anonymous on Thu, 09/30/2010 - 21:25
PermalinkSubmitted by muthuraj on Fri, 11/19/2010 - 05:36
PermalinkSubmitted by Bernhard Zürn on Sat, 03/30/2013 - 12:12
PermalinkSubmitted by Francisco on Thu, 05/30/2013 - 20:53
PermalinkSubmitted by Jason on Wed, 07/03/2013 - 18:14
PermalinkSubmitted by Mark on Thu, 09/04/2014 - 20:20
PermalinkSubmitted by Sourav Basak on Fri, 01/09/2015 - 12:57
PermalinkSubmitted by Anonymous on Mon, 07/03/2017 - 08:43
PermalinkSubmitted by M S Labba on Wed, 07/05/2017 - 12:45
PermalinkPeculiar article, just what I was looking for.
Submitted by janacleary82125 on Wed, 06/20/2018 - 06:23
PermalinkI like this internet site because so much useful material on here :D.
Submitted by rufusvogt01061390631 on Wed, 07/11/2018 - 09:53
PermalinkHi Philipnorton42,
I am trying to use your authentication code on my website (into WPCODE Snippets Plugin), but I cant able to login and the login form is shown.
Could you help me to solve please?
Best regards,
Nicola
Submitted by Nicola on Tue, 05/09/2023 - 08:49
PermalinkHi Nicola,
This code is to be used when you want to download a web page that is held behind an authentication layer. It isn't an authentication system in itself.
I hope that helps.
Phil
Submitted by philipnorton42 on Tue, 05/09/2023 - 08:55
PermalinkAdd new comment