How to access PEAR?

Problems with the Windows version of XAMPP, questions, comments, and anything related.

How to access PEAR?

Postby shinokada » 05. September 2009 15:06

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?
shinokada
 
Posts: 20
Joined: 19. February 2009 16:19

Re: How to access PEAR?

Postby Wiedmann » 05. September 2009 15:13

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)
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: How to access PEAR?

Postby shinokada » 05. September 2009 16:03

Thanks.

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


What do I need to use?
shinokada
 
Posts: 20
Joined: 19. February 2009 16:19

Re: How to access PEAR?

Postby Wiedmann » 05. September 2009 16:17

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.)
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: How to access PEAR?

Postby shinokada » 05. September 2009 16:38

Thank you very much. :-)
shinokada
 
Posts: 20
Joined: 19. February 2009 16:19


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 124 guests