A very simple method to add the tags on to a wordpress theme.Its pretty simple just add the below lines to the file you want it to appear, prefferably SIDEBAR.PHP.This can be easily done using wp_tag_cloud(), Here the smallest means... (Continue reading)
I came across different wordpress themes where they wont provide the popular post catogory, so this a simple tip to help you guys regarding the addition of how to display popular posts in wordpress themes.Usually the SIDEBAR.PHP is the is... (Continue reading)
Here i will explain a simple php script which will upload files to a particular directory specified. <?php session_start(); if(!isset($_POST['upload'])) { echo ‘ <form name=”upload” enctype=”multipart/form-data” method=”POST” action=”‘.$_SERVER['REQUEST_URI'].’”> <input type=”file” name=”file” size=”13″ value=”"> <br /><input type=”submit” name=”upload” value=”Upload”> </form>... (Continue reading)
Simple PHP mail scriptThe script will simply send a mail to the e-mail id you provide in the coresponding field i have given, just check this out.. <html> <head><title>Mail sender</title></head> <body> <form action=”mail.php” method=”POST”> <b>Email</b><br> <input type=”text” name=”email” size=40> <p><b>Subject</b><br>... (Continue reading)
A very easy way to append string to a file using simple php script <?php $fn = “file.txt”; $file = fopen($fn, “a+”); $space.= “\n”; if($_POST['addition']) fwrite($file, $_POST['addition']); fwrite ($file, $space); fclose($file); ?> <form action=”<?=$PHP_SELF?>” method=”post”> <input type=”text” name=”addition”/><br/> <input... (Continue reading)