Make your own php image resizer tools.

Make your own php image resizer tools.
Today I am going to share a new php script, by which you can resize your image without croping image. You may know that php is a strong programing language, by using it, you can solve your any problem. Now, Let's start our tutorial. 1st, Create 3 file and 2 folder for this. 3 filesresize.php - the main file of resize image. index.php - for use resize.php style.css - The file for design (css) 2...

How to create captcha image by php

How to create captcha image by php
Hello guys, how are you? May god keep better you at this moment. However, We see the captcha varification in many website.You can create it using php very easily. I have added the php code which will create a captcha image. Let's view the code <?php session_start(); $md5_hash = md5(rand(0,9999)); $security_code = substr($md5_hash, 25, 5); $enc=md5($security_code); $_SESSION['count']...

PHP email sending script

PHP email sending script
Php mail sender script → send email what you need.Php have a function to send email and it is mail() The strocture is mail(to,subject,messege,from); Okey, now I start my tutorial. First create a html file and save file with this code. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><br /> <html xmlns="http://www.w3.org/1999/xhtml"><br...

How to protect a php file with password by php

How to protect a php file with password by php
Hello everybody, How are you? EID  MUBARAK to all. Today I am going to show you how can you protect a php file by php. If you want the file will only show for you or by entering password, then you can follow the tutorial.For this work, You must know the basic php. Paste this code in your php file <?php $view = header(location: #allcode); $passMain = yourpasswordhere; echo "<form method='post'...

Random number tutorial in php

Random number tutorial in php
There are many use of random number. In php, there are a function to create random number and it is rand(); ex: <?php echo rand(); ?> It will output a number and refresh the page it will output deferent number. You can create many random number by using bellow code: <?php echo rand(). "\n"; echo rand(). "\n"; echo rand(). "\n"; echo rand(). "\n"; ?> It will output deferent 4 random number. If...

Make Your own PHP Hit Counter

Make Your own PHP Hit Counter
This is a basic site hit counter. What it does is take a few lines of code that open up a file called ( countlog.txt) and changes a simple number in it. First off, what you need to do is make a new ( .php) file in your text editor and place this code in it. The only thing you may need to change is the parts of the code that says ( /countlog.txt ). That’s only if you plan to put your files in a different...

Popular Posts

Post Category

Blog Statistics

Now online

Page views
Powered by Blogger.