You can download all 23 patterns details here.
http://www.netobjectives.com/resources/books/design-patterns-explained/annotated-table-of-contents
Filed under: 1 | Tagged: design | Leave a Comment »
You can download all 23 patterns details here.
http://www.netobjectives.com/resources/books/design-patterns-explained/annotated-table-of-contents
Filed under: 1 | Tagged: design | Leave a Comment »
Its tutorial to use different programming language can be found here.
http://www.netbeans.org/kb/trails/php.html
Download link is here
Filed under: 1 | Leave a Comment »
I was reading mahmud hasan blog and found a unknown function called GROUP_CONCAT().
“GROUP_CONCAT() function is used to concatenate column values into a single string. It is very useful if you would otherwise perform a lookup of many row and then concatenate them on the client end.
For example if you query:
mysql> SELECT Language FROM CountryLanguage [...]
Filed under: MYSQL | Tagged: group_concat | Leave a Comment »
During development mostly we need to show images from data base or so by rescaling them but rescaling them in a way that they don’t loose the original length to width ratio.
e.g. you have an area of 500*500 pixels to show the image in following code while calling the function you will specify the target [...]
Filed under: 1 | Leave a Comment »
PHP login script is the thing about which you find lots of people searching it. Specially the people who are new to the PHP language it is very important for them to learn user authentication stuff. So I am gonna take this initiative to post a secure php login script and explain it.
For your information [...]
Filed under: 1 | Tagged: login script | Leave a Comment »
This class can be used to browse files uploaded via Web forms using AJAX methods to send the files without reloading the form page.
There is auxiliary Javascript code that can upload in the background a file that the users chooses in a Web page form and updates the upload message status in the page.
A server [...]
Filed under: 1 | Tagged: Ajax, file, upload | Leave a Comment »
Launch Insert
//$table= table name where you want to insert posted values
function linsert($table){
$f = ”;
$v = ”;
foreach($_POST as $field=>$value)
{
if($value!=”)
{
$f .= “$field,”;
$v .= “‘$value’,”;
}
}
$f = substr($f,0,strlen($f)-1);
$v = substr($v,0,strlen($v)-1);
$query=” insert into $table($f) values($v)”;
if(!mysql_query($query))
echo $query;
}
Launch Update
//$table=table name what you want to update
//$pk= primary key of that table
//$id= what row you want to update
function lupdate($table,$pk,$id){
$f = ”;
$v = ”;
foreach($_POST as [...]
Filed under: PHP | Tagged: function | Leave a Comment »
Codeigniter, The right framework for security and structured, modularized web development.
Here you will see 2 video tutorials. http://codeigniter.com/tutorials/
Introduction video is here. http://codeigniter.com/tutorials/watch/intro/
Sample blog by codeifniter here. http://codeigniter.com/tutorials/watch/blog/
These helped me a lot when i started.
And this link will cover almost everything: http://codeigniter.com/user_guide/
Its wiki is further solution if you are failure to find out at user guide [...]
Filed under: Codeigniter | Tagged: Codeigniter, help | Leave a Comment »
<script type=”text/javascript”>
function bookmarksite(title,url){
if (window.sidebar) // firefox
window.sidebar.addPanel(title, url, “”);
else if(window.opera && window.print){ // opera
var elem = document.createElement(‘a’);
elem.setAttribute(‘href’,url);
elem.setAttribute(‘title’,title);
elem.setAttribute(‘rel’,’sidebar’);
elem.click();
}
else if(document.all)// ie
window.external.AddFavorite(url, title);
}
</script>
<a href=”javascript:bookmarksite(‘Sipapu Snow Report’, ‘/http://72.47.220.102/development/index.php?option=com_helloworld03′)”><img src=”images/fig01.jpg” title=”RSS Feed”></a>
Filed under: other | Tagged: bookmark site | Leave a Comment »