Re: Installation

See all posts Reply

Re: Installation new!
by Bill, 7 years, 11 months ago
I have linked the class as follows:

require_once "library/class.upload.php";
(NOTE: class.upload.php is in library/)

And I get this: PHP Fatal error: Class 'upload' not found in /home2/company/public_html/dev/upload.php on line 2

Line 2 of upload.php is as follows:
$handle = new upload($_FILES['sessionPDF']);

What am I doing wrong?Reply
Re: Installation new!
by colin, 7 years, 11 months ago
I am not sure, but it doesn't look like a problem in the class itselfReply
Re: Installation new!
by Bill, 7 years, 11 months ago
Braincramp. I had the link to the upload class in my form file. Moved it to my upload.php file and it worked.Reply