error

12 views
Skip to first unread message

itsme...@gmail.com

unread,
Nov 15, 2007, 6:15:04 AM11/15/07
to phpPayPal
PHP Fatal error: Class 'phpPayPal' not found in D:\Documents and
Settings\anoop\Desktop\reg2.php on line 4

i got this error...pls help

Drew

unread,
Nov 15, 2007, 7:43:21 AM11/15/07
to phpPayPal
Hi,

Try replacing "phpPayPal" with "PayPal" in your code (reg2.php) where
you are trying to create and instance of the class. example: $paypal =
new PayPal();

My documentation may be using older coding examples. I'll go back and
try to replace that!

Let me know if that solves to problem or not.

-Drew

On Nov 15, 5:15 am, "itsme.an...@gmail.com" <itsme.an...@gmail.com>
wrote:

Drew

unread,
Nov 15, 2007, 7:53:25 AM11/15/07
to phpPayPal
Actually, it looks like the class name should be changed. So I'll re-
upload that with the name change.

If you want, you can change the class name in the PayPal.php file, at
the very beginning where it says "class PayPal" just change that to
"class phpPayPal" and all the examples should work.

The new file uploaded is called phpPayPal.php and includes the class
name phpPayPal.

Thanks!


On Nov 15, 5:15 am, "itsme.an...@gmail.com" <itsme.an...@gmail.com>
wrote:
Reply all
Reply to author
Forward
0 new messages