HoHalla

Let's share our knowledge through HoHalla !!

Forum

Shakeel Shrestha

Seventh Semester Project Discussion ?? 5 Replies

Started by Shakeel Shrestha. Last reply by Shakeel Shrestha Dec. 29, 2008.

STam

5 Critical Tips on How to Test Your Site to Generate Profitable Visitors to Your Site 1 Reply

Started by STam. Last reply by Shakeel Shrestha Sep. 16, 2008.

Shakeel Shrestha

PHP Programming :: Lets Talk 1 Reply

Started by Shakeel Shrestha. Last reply by Aashis Binod Khanal Jul. 6, 2008.

Kathmandu Time

DHTML Goodies

Loading feed

Sitepoint

Loading feed

Badge

Loading…

Free Tech Books

Loading feed

 

Todays SMS

Love urself, Flirt with ur understanding, Romance with dreams, Get engaged with simplicity, Marry genuiness, Divorce the egos... Thats Good Life...

Latest Activity

Google wave is still in development and will be public by the end of this year.
October 9
Shakeel Shrestha added a blog post
New Communication and Collaboration System.
October 9
Shakeel Shrestha is furious

(via Emote)
October 9
Shakeel Shrestha Updating Hohalla after a long time.
October 9
HoHalla now has Emote
October 9
HoHalla now has MindJolt Games
October 9
www.makemoneywith-google.com is now a member of HoHalla
September 6
Judi Booth is now a member of HoHalla
June 6

Blog Posts

Shakeel Shrestha

Google Wave

New Communication and Collaboration System.




Posted by Shakeel Shrestha on October 9, 2009 at 10:53am — 1 Comment

Shakeel Shrestha

Autoloading Class in PHP

In PHP, if we need to use the functions of class file, to load the class file, we usually use include/include_once or require/require_once functions. But the easier way is to use the inbuild function __autoload().

For demonstration define the class files as needed. Example is given below.



class MyClass1{

function myfunction(){
echo "Function inside MyClass1";
}
}
Save the file as MyClass.php


class MyClass2{

function mynextfunction(){
echo "Function inside MyClass2";
}
}
Save the file as… Continue

Posted by Shakeel Shrestha on January 31, 2009 at 6:49pm

Shakeel Shrestha

Url Rewriting

Some url rewriting that I have used.

First uncomment the line below in apache>conf>httpd.conf file and restart the apache server.

LoadModule rewrite_module modules/mod_rewrite.so

Now add these lines in .htaccess file

#initialize mod rewrite
Options +FollowSymlinks
RewriteEngine on

#this line will disable direct file viewing within any folder
Options -Indexes


#this configuration will disable the access of .htaccess file
<Files .htaccess>

order allow,deny
Continue

Posted by Shakeel Shrestha on January 7, 2009 at 1:47pm

Shakeel Shrestha

Some Information about database indexes

Guidelines to create indexes

The characteristics of data and the usage of the data in the environment in which it is defined ascertains the columns to build the index. The usefulness of the index is directly related to the percentage of rows returned from a query. Low percentage or high selectivity are more efficient. Creating indexes on the frequently searched column is more useful and efficient. Indexes can be best created on the following columns.

• Primary Keys
• Foreign Keys or col… Continue

Posted by Shakeel Shrestha on January 1, 2009 at 11:30am

Shakeel Shrestha

Limitations of MySQL

Limitations of MySQL



General limitations of MySQL


32-bit binaries cannot addess more than 4 GB of memory. This is not a MySQL limitation, this is a technical limitation.



Limits of MySQL 4.1



Limits of Joins


In MySQL 4.1, the maximum number of tables that can be referenced in a single join is 61. This also applies to the number of tables that can be referenced in the definition of a view.


Limits of the MyISAM storage engine


There is a

Continue

Posted by Shakeel Shrestha on December 18, 2008 at 4:53pm

Groups

Photos

Loading…

Kathmandu Weather

YouTube :: Programming

 
 

About

Shakeel Shrestha Shakeel Shrestha created this social network on Ning.

Create your own social network!

Translate This Network

CNN Tech

Loading feed

Smashing Magazine

Loading feed

Events

Music

Loading…

Roshan Bhattarai Blog

Loading feed

 

© 2009   Created by Shakeel Shrestha on Ning.   Create Your Own Social Network

Badges  |  Report an Issue  |  Privacy  |  Terms of Service

Sign in to chat!