Page 1 of 1

How to access PEAR?

PostPosted: 05. September 2009 15:06
by shinokada
I need to write the following code.

Code: Select all
require_once ('Auth.php')
...


I am not sure if this is right for XAMPP.

Can anyone help me please?

Re: How to access PEAR?

PostPosted: 05. September 2009 15:13
by Wiedmann
Code: Select all
require_once ('Auth.php')

I am not sure if this is right

According to the manual for the Auth package, that's correct. Assuming you have installed this package...

(BTW: You should not use () for require/include)

Re: How to access PEAR?

PostPosted: 05. September 2009 16:03
by shinokada
Thanks.

(BTW: You should not use () for require/include)


What do I need to use?

Re: How to access PEAR?

PostPosted: 05. September 2009 16:17
by Wiedmann
What do I need to use?

Just without the ().
--> require_once 'Auth.php';

(Of course, that's not related to your problem. Just a hint.)

Re: How to access PEAR?

PostPosted: 05. September 2009 16:38
by shinokada
Thank you very much. :-)