Brand new to PHP - questions about using classes

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
shroads
Forum Newbie
Posts: 2
Joined: Thu Feb 27, 2003 12:46 pm

Brand new to PHP - questions about using classes

Post by shroads »

I downloaded a graphing class and don't know what to do next. If I run the sample page for a demonstation of the class I get an error:

Not Found
The requested URL /php/php.exe/test_line.php was not found on this server.

Apache/1.3.20 Server at ps.pacbell.net Port 80

I've never worked with classes before. Do I need to do some recompilation of PHP with the class or something? Or do I need to set a search path somewhere so PHP knows where to look for the classes?

Thanks!
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

doesn't look like a class-problem but the document you requested is not found at all.
shroads
Forum Newbie
Posts: 2
Joined: Thu Feb 27, 2003 12:46 pm

Yes that's a good point.

Post by shroads »

I'm not sure why it's looking in that path. I just have the PHP file in my html root so I have idea why it's looking where it is.
Post Reply