HoHalla

Shakeel Shrestha
  • Male
  • Nepal
Share 

Shakeel Shrestha's Friends

Shakeel Shrestha's Discussions

PHP Programming :: Lets Talk
1 Reply

Started this discussion. Last reply by Aashis Binod Khanal Jul. 6, 2008.

Seventh Semester Project Discussion ??
5 Replies

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

Shakeel Shrestha's Groups

 

Shakeel Shrestha's Page

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
Updating Hohalla after a long time.
October 9
HoHalla now has Emote
October 9
HoHalla now has MindJolt Games
October 9
hanuman le kehi garcha
May 17

Comment Wall (3 comments)

You need to be a member of HoHalla to add comments!

Join this Ning Network

At 10:00pm on February 19, 2008, majesh said…
u have done really great work
At 9:59pm on February 19, 2008, majesh said…
man u r loook damn good
At 3:44am on January 31, 2008, narendrea shrestha said…
great work

Shakeel Shrestha's Photos

Loading…

Shakeel Shrestha's Blog

Shakeel Shrestha

Google Wave

New Communication and Collaboration System.




Posted 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 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 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 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 on December 18, 2008 at 4:53pm —

 
 

About

Translate This Network

CNN Tech

Loading feed

Smashing Magazine

Loading feed

Events

Music

Loading…
 

© 2009   Created by Shakeel Shrestha on Ning.   Create a Ning Network!

Badges  |  Report an Issue  |  Privacy  |  Terms of Service

Sign in to chat!