Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Where the PHP Class resides...?

Status
Not open for further replies.

andsgiant

Technical User
Mar 9, 2003
14
ID
I have bunddle of class package from many guys out there..., and want to install it to get the work done..!!

Could anyone tell me where the class should I paste to.., --How to install them..??

~~Ohh.., you are such a great guys.....!!! ~~
 
You can put the files nearly anywhere on your server's filesystem. The only caveat is that PHP web scripts run under a web server have the permissions of the user as which the web server runs. So the web server's user must have permission to read the class file whereever it is.

Whether or not your class has an install system depends on how the class was packaged. Some come with elaborate scripts to copy files to necessary places. Others are just files you create on the filesystem.

One the class code is written to a file, you can make the code available using PHP's include() or require() functions



Want the best answers? Ask the best questions! TANSTAAFL!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top