Go Back   Dreamweaver Club Forums > Dreamweaver forums > Dreamweaver General
Register FAQ Members List Search Today's Posts Mark Forums Read

Thread Tools Display Modes
Old 09-29-2015, 09:17 AM   #1
Join Date: Sep 2015
Posts: 15
Default File Upload Broken =S

I'm having a problem with a file uploader that i got from the internet,

I keep getting Sax Errors, Not sure why?

Here the code:

if($_POST[upload] == "1")
$to = "profile/".$FILES['file']['tmp_name'], $to);
echo "Uploaded";
<form action="" method="post" enctype="multipart/form-data" name="form1" id="form1">
<label for="fileField"></label>
<input type="file" name="fileField" id="fileField" />
<input type="submit" name="button" id="button" value="Submit" />

Any ideas anyone?
Tiger is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 10:44 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com