TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   Advanced PHP Programming (http://www.talkphp.com/advanced-php-programming/)
-   -   Help required for multiple upload through OOP script (http://www.talkphp.com/advanced-php-programming/4839-help-required-multiple-upload-through-oop-script.html)

dhaval 08-11-2009 08:04 AM

Help required for multiple upload through OOP script
 
Hi guys :-),

I need to know how to code for multiple upload through OOP:-/

Thanks In Advance:-)

JaoudeStudios 08-11-2009 08:09 AM

You are going to need to be more specific!

Do you now OOP? Do you know how to do an upload script?

If your answer is no to both those questions, I suggest, do the upload (there are many tutorials online), then try and convert it to OOP.

If you get stuck along the way, just hola!

Village Idiot 08-11-2009 01:58 PM

http://lmgtfy.com/?q=PHP+OOP+Upload+Script


ps. Don't tell me "useless answer". I am willing to put as much work into helping you are you are willing to put into helping yourself. So far that looks like one or two sentences.

Enfernikus 08-11-2009 02:01 PM

lmgtfy.com has been one of my favorite sites since it's conception.

Village Idiot 08-11-2009 02:05 PM

Quote:

Originally Posted by Enfernikus (Post 27689)
lmgtfy.com has been one of my favorite sites since it's conception.

I know, its amazing how one little site can both give resources and teach common sense.

Wildhoney 08-11-2009 02:33 PM

Lol! I love how the first result on Google brings you straight back to this thread. Recursion, recursion! :-)

sketchMedia 08-11-2009 02:36 PM

Quote:

Originally Posted by Wildhoney (Post 27691)
Lol! I love how the first result on Google brings you straight back to this thread. Recursion, recursion! :-)

SEGFAULT! arghhhhhhh

Enfernikus 08-11-2009 03:18 PM

Quote:

Originally Posted by sketchMedia (Post 27693)
SEGFAULT! arghhhhhhh

That made me laugh out loud. In a quiet office. hah.

sketchMedia 08-11-2009 03:28 PM

Quote:

Originally Posted by Enfernikus (Post 27695)
That made me laugh out loud. In a quiet office. hah.

Glad to be of service! I have to admit I chuckled to myself when I posted it :-D

Village Idiot 08-11-2009 03:51 PM

Call me too technical, but a segmentation fault (aka segfault) is the error given when a program tries to:
1. Access memory that the kernel restricts.
2. Access memory in an illegal way (read-only, ect).

This normally can only occur in low level languages. It is a pain in the butt when actually working on a kernel (because the kernel can't throw a segfault to itself, it crashes).

My point is that I don't see how a segfault fits into this.

Enfernikus 08-11-2009 04:02 PM

Segfaults can happen due to recursion

Village Idiot 08-11-2009 04:03 PM

Quote:

Originally Posted by Enfernikus (Post 27698)
Segfaults can happen due to recursion

You're right, I guess it could.

adamdecaf 08-11-2009 04:04 PM

Guys you really should give him results from the "Developer Preview" engine.

sketchMedia 08-11-2009 04:24 PM

Well a segfault is when your program tries to access an area of memory out of the area of memory assigned to it, the kernel throws a wobbler and throws a segmentation fault.

If you ran an infinite recursive program eventually you would probably run out of stack space, thus get a segfault. I've not tried it (for obvious reasons).

The classic cause of a segfaults is de-referencing a null pointer, amongst other things.


All times are GMT. The time now is 09:28 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0