Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

PHP strange issue

Name: Anonymous 2013-04-25 22:00

Hey /g/.

Who here is the boss in PHP? I'm having a bizarre issue. The problem is on the upload system, it works correctly, but when i try to upload a file that is big and takes a lil bit to upload (maybe 3 to 5 minutes) it doesn't work.

I have 3 variables, $Music, $Genre and the $File variable. If the file size is not that big and uploads fast, it works. Otherwise, all the variables, including the $Music and $Genre that is herited from a form, becomes null (and at least the $Music must be set).

I'm pretty sure that the problem is in php.ini, since on localhost any music can be uploaded.

Also, i already set the max_upload_file to 20mb. The music i'm trying to send is just 9mb.

Any hints?

Name: Anonymous 2013-04-26 3:07

  My personal experience: PHP = a good, powerful scripting language like Perl, without the crappy, insane, inconsistent syntax of Perl. Awesome productivity. Intended for web applications and serious/longer console scripts. Not intended for Doom 4, that's what C is for and it'll always be like this.

 And for what it's good, it PWNS Java. By the time PHP_guy finishes his web portal and is now browsing 4chan in his spare time, Java_guy is still defining class BoardUserCalendarDataStreamStringLayerBufferedInputHandler and wrote 10000 lines of unproductive OO trash. Sure, it's reusable code. You can "easily" transform your image board into CD burning software, a screensaver, or a soccer simulator, beacuse it's all OO. Maintenance is a snap, you only have to navigate through 800 classes and interfaces to find the piece of code you want. That's "information hiding", after all! And it's conceptually right. For example, y=f(x) is clearly not a function, but a method of an abstract mathematical object. And so on.

 So this is what I do:
 - Quick hacks: Perl.
 - Web and fine scripts: PHP.
 - System applications and serious non-web stuff: C.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List