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

Search In

find and save the records by using cakePHP models

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

How to use date() Function in php ?

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

Pure virtual function in C++

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

How to highlight a div using Javascript

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

How to make a Round UIView with selected Daimeter programatically in iOS

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

How to adjust height of animated GIF file using PHP

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"

How to find difference between two dates in 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

password encryption in joomla

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) mysql function

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

crypt() String Function in PHP

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

1 41 137
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: