Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

How to put coma between hundreds and thousands of any given number

Hello reader's! On a given number format if you want it to be customize like a figure with separated by (,) like 128,347,556. By using a function and in the function we will Preg Match the string with every hundreds and thousands You can use the co

How to make download a file strictly in PHP

On the execution of exe file you must need the property of header like Description, Type and Disposition For making the strict/force download of a file in PHP you have to use the code below:- <?php $FileName = "http://abc.com/example.exe

How to extract a number from given string using PHP

Using the PHP will give you several benefit to use code what you want. And taking the number from any given string can be by diffrent - diffrent methods lets se the example below:- $myString = "I have 8 apples"; preg_match("|\d+|", $s, $myString); v

How the see the body of a submit post using PHP

POST is a common mode of sending or passing the values from one page to another, But on getting what exact is inside the post PHP will offer you the code syntax. Consider the example below:- We will get the body part froma POST request or can say a

How to extract website tittle using the given URL

Hello Reader's! If you having a set of given url's you need just the title of them, then you can use the PHP code below to extract title <?php function TitleURL($YourURL){ $str = file_get_contents($YourURL); if(strlen($str)>0){ $str

How to get size of a file using HTML 5

Hello Reader's! If you are looking for an HTML 5 validation which tell user the size of an file the code will help you:- In HTML fileL <input type="file" id="file" /> In the JS file //binds to onchange event of your input field $('#file').

How to insert form data using Wordpress

Hello Reader's! If you are new to wordpress and looking for the method to insert form data into table, Then you can use the Wordpress liberary code to do that:- <?php global $wpdb; $wpdb->insert('wp_custom_user', array(

How to subtract days from a given date?

Hello Reader's. If you have given a date and you just need to add or subtract number of days from it then you can use the code below:- var SubDays = 15; $.datepicker.formatDate('yy/mm/dd', new Date() - SubDays) ; Or you can also calculate as follo

how to remove action name from URL in cakephp

Current URL is : http://mysite.com/MyController/view/page1 but if you want something like :http://mysite.com/MyController/page1 means you want to hide action name from URL. Then go to app/config/routes.php and type the below code. Router::connect

How to remove class in Jquery?

JQuery uses a built-in .removeClass() method to remove a class. For example: <div class="demo">Hello </div> To remove demo class in JQuery you need to execute the following code: <script> $( "div" ).click(function() { $( t

1 106 408
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: