Jump to content

Using PHP libraries on shared server


poshpaws

Recommended Posts

I was doing some searching yesterday, and came across this link:

 

http://builder.com.com/5100-6371-5163311.html

 

As I dont have access to the ini file, I had to insert a bit of code at the top to include it all. I used the following to test if it was installed correctly, which gives a list of all the PEAR packages.

 

<?php
// Include the appropriate PEAR classes
require_once("PEAR/Info.php");
$pearinfo = &new PEAR_Info();
$pearinfo->getPackages();
$pearinfo->getConfig();
$pearinfo->getCredits();
?>

 

I guess if its not returning any errors it means its working fine?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.