Forums

PHP

This topic is locked

Pure PHP Upload Extension not working - Fixed it

Posted 22 Jul 2006 07:29:04
1
has voted
22 Jul 2006 07:29:04 Andrew Mr. posted:
***************************************************************
Never mind, here's what's happening so if you have issues with it you can fix it. Make sure that this:

<?php require_once('../../../ScriptLibrary/incPureUpload.php'); ?>

is placed correctly, it should be at the very top or near the top of the page, as long as it's before this comment:

// Pure PHP Upload 2.1.3

The behavior is putting is BEFORE the !DOCTYPE tag...
****************************************************************

I need some input. I have built a page that will allow a user to upload a .pdf file, and I need the name of the file stored in my MySQL DB and the actual file stored in a folder. I've done this a thousand times before with the Pure ASP Upload extension without any incident, but the PHP version of this extension is not working.

Here's the steps I have taken.
-Built the form on the page.
-Applied the Dreamweaver Insert Record Server Behavior, telling it to go to another page when it's done
-Applied the Pure PHP Upload Server Behavior. I only told it where the upload folder is.

When I test the upload page I get a blank browser window and this is in the Address bar:

localhost:8080/ASID-Alabama/a/pages/partnerapp/updatepartnerapp.php?&GP_upload=true

What's going on here? I briefly see the upload Flash Movie before I get the white screen.

Edited by - goghgetter on 22 Jul 2006 07:37:00

Reply to this topic