
Search In
Passing date to the function and returning the time passed or elapsed when it was commented/posted. It is very useful when you have comment section in your website and you want to show how earlier comment was posted.
/**
* Creating the date differ
Hii,
Below I have written a script for get the time duration of a MP3 file-
For this first you need to download the getID3, You can download form http://getid3.sourceforge.net/ OR https://github.com/JamesHeinrich/getID3/ .
After downloading the lib
There are basically 4 different type of errors in Php.
Parse Error – It stops the execution of php script . Commonly caused due to syntax mistakes in codes
E.g. Unclosed single double quotes, missing parentheses or adding extra parentheses ,missi
Hello Readers, In this blog tutorial we will explain how to upload Image in CakePHP using component.
Create a file called UploadComponent.php (path:app/controller/component) & paste the following code.
<?php
class UploadCompone
Custom PHP development services in India and across various overseas destination all around the world has suffered a good amount of transmutation. This has not only simplified but also reduced the time and value to develop some handy busine
Helpers that are used in CakePHP are associated with the Presentation layers of application. Helpers basically contain presentational logic that are available to share between many views, elements, or layouts. We have different helpe
The date function in PHP is the one which formats the timstamp to a readable form.
The Syntax of it is as :
date(format,timestamp)
The required format function is to specify the format of the date and the timestamp Specifies default current date a
Cookie is a small file that identifies the users on the user's computer. whenever the same computer request to the server for the same page, the browser will send the cookie with the request.
To create Cookie we can use the setcookie() function.
S
We need to upgrade our magento setup time to time with release of the editions because of security reasons. Sometime we need to apply the security patches also to resolve security issues. Here I am explaining how to apply securtiy patches without ssh
Hello Reader's if you are making the auto login sign up form then you must have to use the Cookies.
In core php you have to write the long syntax to handling the request to Cookies. Now Codeingiter offers developers to load the nessasry code in p
