File Upload Problem (I am full of em) =)

Ken Elliott's picture

They have: 358 posts

Joined: Jun 1999

Well I've begun another script, successfully finishing my last one with a million thanks to those dedicated individuals in TWF. On with the question...

Ok I am using someone elses file upload script. First I made my own page with the correct form action and method and enctype values. But it kept printing to the browser
"METHOD NOT ALLOWED"
"The requested method POST is not allowed for the URL /listings/add.html"

So I decided to use the webpage they provided, and I copied my form values from. It worked to an extent =). It uploads the image without a problem, but when it reaches the end of the script where it is supposed to print some html to the browser, it attempts to download the printed html to the users computer. Why?

If it would help I will post the script I am using, but that takes up alotta post space so I will leave you with these clues.

Thanx guys/gals,
VulKen
I AM FUNKY

Pimpin like a pimp with an electrofied pimpin machine!

Ken Elliott's picture

They have: 358 posts

Joined: Jun 1999

Nevermind...I decided to write my own. And it works fine. Thanks anywho.

VulKen
I GOT BEEF

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.