
Search In
make a controller name Pagescontroller.php and paste the following below code
<?php
class PagesController extends AppController {
public $name = 'Pages';
/* Use Customer model */
public $uses = array('Customer');
public functi
The date() function formats a local date and time, and returns the formatted date string.
Basically uses of The date() function formats a local date and time.
The date() function returns the formatted date string.
syntex of date () function
dat
In C++, Pure virtual method or pure virtual function is a virtual function in which virtual function does not contain a definition inside the function declaration. A pure virtual function/method is declared by assigning a function equal to 0 in decla
Hello Reader's!
If you want to make a html page that based on user activity, As user clicks on div then JS will make that div highlight.
Let's say our div is -
<div tabindex="0">Hello World</div>
Here div with tabindex of 0 will put
Create UIView as UIView *myroundView; or watever name suits u...
Allocate it itz memory as well as its frame & its diameter as-
myroundView = [[UIView alloc]initWithFrame:CGRectMake(40, 18, 15, 15)];
[self setRoundedView:myroundView toDiamete
First of all you just have to create 3 folder name
1.frame_output
2.images
3.resized_frame_output
Now download encoder and decoder class from this below link
here.
And Download class "GIFDecoder.class.php", Download class "GIFEncoder.class.php"
We can easily find date difference in php by using strtotime which convert two dates to unix time once convert we can manipulate easily by calculating the number of seconds between them.Its the easy way to calculate different time periods.
$date1
Joomla password are stored in database in the form of hash and salt such as {hash}:{salt} where salt is a random string which contains 32 characters in length. Joomla password are salted before making password hashed.So we can create password in jo
RIGHT(str,len)
In mysql, if you want some character from the right in a string then you can use RIGHT() mysql function means this function returns the rightmost len characters from the string str or returns NULL if any argument is NULL.
Here are
The crypt() function in PHP returns a hashed value. It uses the DES, Blowfish, or MD5 algorithms.
It returns the first two characters of the output as salt in DES-based crypt(). As salt parameter is optional but crypt() function gives a weak passwor
