Php

Using The Date Command In PHP

Posted on by Fadıl

Make your site look like you actually update it! In php create a script that receives the date current date! So people might actually think you update it. Well, …

Continue reading

HTTP Authentications using PHP

Posted on by Fadıl

The HTTP Authentication hooks in PHP are only available when it is running as an Apache module and is hence not available in the CGI version. In an Apache …

Continue reading

Email Validation In PHP

Posted on by Fadıl

Ever have those annoying spammers sign up for something with their email addy and always make up some donkey crap? Well, here is a script that will allow you to …

Continue reading

How To Set A Cookie

Posted on by Fadıl

What’s a cookie you ask? Cookies are little pieces of text that are sent to a user’s Web browser. Cookies can help you create shopping carts, user communities, …

Continue reading

Writing To A File Using Fopen

Posted on by Fadıl

Their will be many different instances when you might need to write to a file. What we are going to do now is create an HTML form, and a PHP code so when you …

Continue reading

How to Sending E-mail With PHP?

Posted on by Fadıl

Every web site has email. Rather it being a feedback form of some sort or a mailto: tag, why make it hard for the visitor to contact you? When you can take 3 …

Continue reading

Ip Check Using PHP

Posted on by Fadıl

If you have ever had the need to validate an IP address then this small script is for you. function validate_ip($ip) { if (is_string($ip) && …

Continue reading