Please what is wrong with this image upload code?

images php coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
johnj
php-forum Super User
php-forum Super User
Posts: 1803
Joined: Thu Mar 10, 2011 5:07 pm

Sun Mar 13, 2011 9:24 pm

You cannot have this line, continue = "index.html";

'continue' has to be $continue or some data type acceptable to php

johnj
php-forum Super User
php-forum Super User
Posts: 1803
Joined: Thu Mar 10, 2011 5:07 pm

Sun Mar 13, 2011 9:31 pm

In your code there is no action to handle the uploaded image, you need to write code for that. You need to tell php what code to execute when a user clicks 'upload' and inside that upload code you need to tell what to do with the uploaded image file.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest