On Friday 13 June 2003 04:55, Sparky Kopetzky wrote:

> I'm trying this, it doesn't work and I can't figure out why:
>
>     include_once $SYSTEM_URL . "/classes/category.php"; where $SYSTEM_URL =
> "http://www.example.com"; is the url to the web site. and I get this error:
>
> Fatal error: Cannot instantiate non-existent class: category in c:\program
> files\apache group\apache\htdocs\index.php on line 19
>
> So, obviously, it's not pointing to the right place. I can load the opening
> page from the url, so I know Apache is trying to load from the htdocs
> folder.

Short answer: you can't include files like that through a URL
Shorter answer: RTFM, study the examples

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
The only winner in the War of 1812 was Tchaikovsky.
                -- David Gerrold
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to