Subscribe
Tutorial search

An efficient way to check prime number in PHP - PHP tutorial


An efficient way to check prime number in PHP
Category: PHP > Basics - Difficulty:


More cool PHP tutorials:



Create SEO friendly URL`s using mod rewrite in PHP (.htaccess)
Create SEO friendly URL`s using mod rewrite in PHP (.htaccess)
In this tutorial I will show you how to convert dynamic URL`s into Search Engine Friendly and easy to understand both for humans and machines URL`s. To change the URL`s we will use the Apache`s mod_rewrite function what can easily match URL`s using regular expressions. If it sounds confusing don`t worry, I will explain everything step-by-step and you can always leave a comment!
Difficulty:
Working With Time Zones in PHP
Working With Time Zones in PHP
This tutorial explains how to handle converting times to different time zones using the DateTime and DateTimeZone classes provided by PHP 5.2.0+.
Difficulty:
PHP generating random char(s)
PHP generating random char(s)
In this tutorial you'll learn how to use different functions to create a system which will generate random chars which you can use for example for random generrated passwords or a captcha system, etc..
Difficulty:
Customizing PHP Safe Mode
Customizing PHP Safe Mode
We'll guide you through using PHP safe_mode and how-to enable it and to customize it for certain sites on your server. If a client needs it turned off for just one site and you have it turned on for the entire server what can you do?
Difficulty:
How to get the users IP Address
How to get the users IP Address
The simple version of code used to obtain the users IP address is used to output their IP in a browser. Very simple, but if you did not know how to do it, now you do!
Difficulty: