$_FILES NOT WORKING ON XAMPP

Alles, was PHP betrifft, kann hier besprochen werden.

$_FILES NOT WORKING ON XAMPP

Postby pranjulsarraf » 02. July 2013 15:16

I M FACING A PROBLEM WITH MY XAMPP CONTROL. I M NOT ABLE TO UPLOAD A FILE USING $_FILES ON MY SERVER. FIRST PARAMETER OF IT WHICH IS FILE TYPE NAME WHICH IN MY CASE IS FILE ONLY, ON PUTTING THAT VALUE I M GETTING A ERROR STATING INDEX:'FILE' UNDEFINED. PLEASE HELP ME OUT. I M REALLY FREAKED. I EVEN TRY COPY PASTE SOME WORKING CODE FROM NET BUT ITS NOT WORKING. PLEASE HELP!!!!!!!!!!! :?:
pranjulsarraf
 
Posts: 2
Joined: 02. July 2013 14:57
XAMPP Version: 5.6.3
Operating System: windows 8

Re: $_FILES NOT WORKING ON XAMPP

Postby Altrea » 02. July 2013 18:03

The problem could be that you can only write in capital letters.
PHP is case sensitive.

P.S.:
Using all caps is considered yelling => Netiquette. I don't reply any helpful information on yelling questions.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 6540
Joined: 17. August 2009 13:05
XAMPP Version: 5.5.19
Operating System: W7Ux64

Re: $_FILES NOT WORKING ON XAMPP

Postby pranjulsarraf » 03. July 2013 14:43

I m writing correct format. I m a beginner in php. I checked my code format several times n I m sure there is no syntax error. I have also cheked my setting in php.ini... Everything is there perfect n I don't know why is showing error.. undefined index... Let me know if something is related to xampp setting... I m using windows 8..
pranjulsarraf
 
Posts: 2
Joined: 02. July 2013 14:57
XAMPP Version: 5.6.3
Operating System: windows 8

Re: $_FILES NOT WORKING ON XAMPP

Postby Altrea » 03. July 2013 15:14

Okay, now we can work on it.

Please show us your code of your upload script.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 6540
Joined: 17. August 2009 13:05
XAMPP Version: 5.5.19
Operating System: W7Ux64


Return to PHP

Who is online

Users browsing this forum: No registered users and 3 guests