Quantcast
Channel: Julius Beckmann » PHP
Browsing all 10 articles
Browse latest View live

PHP: Everything you need to know about secure password hashing

On each site you need to register, your password has to be saved. This is typically done in a database. There are several ways to do this and some of them are good practice, other a very bad idea. Lets...

View Article



PHP: Benchmark Inkrement und Dekrement

Wir haben alle in der Schule das kleine EinMalEins gelernt, doch selbst bei den simpelsten Anweisungen in Programmiersprachen gibt es noch Wissenlücken über Verwendung und Laufzeitunterschiede. Im...

View Article

PHP: List of common pitfalls

I have seen a lot of PHP code, good and bad ones. Even some exploits for pretty common things that were just careless implemented. In this post i want to share some of these pitfalls so you dont have...

View Article

Facebook: Like Buttons uses wrong url

I use the digg-digg Wordpress Plugin on this blog and found a annoying error - the like button does not use the correct url. I found out why and how to correct it. What happened I wrote a new article...

View Article

Whiz: Simple cURL PHP wrapper class

I worked on a project where i needed to handle a lot with cURL request. At first i tried to use Zend_Http_Client, but it was too limited for my purpose. So i wrote my own cURL handler php class. I...

View Article


Image may be NSFW.
Clik here to view.

PHP: Doing some cool things with references and destructors

Not everybody of you might know, that there are references in PHP too, like in many other languages. I wondered if there is something these references might be really good for and came up with the...

View Article

PHP: Universal NULL Object

When working with interfaces you sometimes need a object as parameter. Thats why i wrote this primity universal null object that does nothing at all and does not throw any errors: <?php /** *...

View Article

Image may be NSFW.
Clik here to view.

PHP: Playing with stdClass

I wrote some code to check what PHP included stdClass is capeable of. You can find the code at gisthub: https://gist.github.com/1309031 stdClass is really just a wrapper around a array that can be...

View Article


Image may be NSFW.
Clik here to view.

PHP: The big php variable type casting!

I wrote a small script that does every available cast in PHP on every datattype. Check it out on GistHub: https://gist.github.com/1341572 The output of the script should be the following: $ php...

View Article


Image may be NSFW.
Clik here to view.

PHP: Uncomment PHP Code

If you want to uncomment your PHP Code, have a look at my script: https://gist.github.com/1375986 Usage: # php uncomment /path/to/file.php The script will read the content of the file, remove the...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images