TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 08-11-2009, 08:04 AM   #1 (permalink)
The Contributor
 
dhaval's Avatar
 
Join Date: Jul 2009
Posts: 37
Thanks: 1
dhaval is on a distinguished road
Default 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
dhaval is offline  
Reply With Quote
Old 08-11-2009, 08:09 AM   #2 (permalink)
The Acquainted
 
JaoudeStudios's Avatar
 
Join Date: Jul 2009
Location: Surrey
Posts: 105
Thanks: 1
JaoudeStudios is on a distinguished road
Default

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!
__________________
JaoudeStudios.com | JaoudeStudios.com Forum | JaoudeStudios.com Blog
OpenSource is the road ahead...!
JaoudeStudios is offline  
Reply With Quote
Old 08-11-2009, 01:58 PM   #3 (permalink)
Wizard
Top Contributor 
 
Village Idiot's Avatar
 
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
Village Idiot is on a distinguished road
Default

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.
__________________

Village Idiot is offline  
Reply With Quote
Old 08-11-2009, 02:01 PM   #4 (permalink)
The Addict
 
Enfernikus's Avatar
 
Join Date: Jun 2008
Posts: 335
Thanks: 2
Enfernikus is on a distinguished road
Default

lmgtfy.com has been one of my favorite sites since it's conception.
__________________
My Blog
Enfernikus is offline  
Reply With Quote
Old 08-11-2009, 02:05 PM   #5 (permalink)
Wizard
Top Contributor 
 
Village Idiot's Avatar
 
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
Village Idiot is on a distinguished road
Default

Quote:
Originally Posted by Enfernikus View Post
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.
__________________

Village Idiot is offline  
Reply With Quote
Old 08-11-2009, 02:33 PM   #6 (permalink)
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
Wildhoney is on a distinguished road
Default

Lol! I love how the first result on Google brings you straight back to this thread. Recursion, recursion!
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote
Old 08-11-2009, 02:36 PM   #7 (permalink)
The Prestige
Advanced Programmer Top Contributor Good Samaritan 
 
sketchMedia's Avatar
 
Join Date: Oct 2007
Location: Manchester, UK
Posts: 854
Thanks: 32
sketchMedia is on a distinguished road
Default

Quote:
Originally Posted by Wildhoney View Post
Lol! I love how the first result on Google brings you straight back to this thread. Recursion, recursion!
SEGFAULT! arghhhhhhh
__________________
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
sketchMedia is offline  
Reply With Quote
Old 08-11-2009, 03:18 PM   #8 (permalink)
The Addict
 
Enfernikus's Avatar
 
Join Date: Jun 2008
Posts: 335
Thanks: 2
Enfernikus is on a distinguished road
Default

Quote:
Originally Posted by sketchMedia View Post
SEGFAULT! arghhhhhhh
That made me laugh out loud. In a quiet office. hah.
__________________
My Blog
Enfernikus is offline  
Reply With Quote
Old 08-11-2009, 03:28 PM   #9 (permalink)
The Prestige
Advanced Programmer Top Contributor Good Samaritan 
 
sketchMedia's Avatar
 
Join Date: Oct 2007
Location: Manchester, UK
Posts: 854
Thanks: 32
sketchMedia is on a distinguished road
Default

Quote:
Originally Posted by Enfernikus View Post
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
__________________
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
sketchMedia is offline  
Reply With Quote
Old 08-11-2009, 03:51 PM   #10 (permalink)
Wizard
Top Contributor 
 
Village Idiot's Avatar
 
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
Village Idiot is on a distinguished road
Default

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.
__________________

Village Idiot is offline  
Reply With Quote
Old 08-11-2009, 04:02 PM   #11 (permalink)
The Addict
 
Enfernikus's Avatar
 
Join Date: Jun 2008
Posts: 335
Thanks: 2
Enfernikus is on a distinguished road
Default

Segfaults can happen due to recursion
__________________
My Blog
Enfernikus is offline  
Reply With Quote
Old 08-11-2009, 04:03 PM   #12 (permalink)
Wizard
Top Contributor 
 
Village Idiot's Avatar
 
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
Village Idiot is on a distinguished road
Default

Quote:
Originally Posted by Enfernikus View Post
Segfaults can happen due to recursion
You're right, I guess it could.
__________________

Village Idiot is offline  
Reply With Quote
Old 08-11-2009, 04:04 PM   #13 (permalink)
The Addict
 
Join Date: May 2009
Posts: 287
Thanks: 5
adamdecaf is on a distinguished road
Default

Guys you really should give him results from the "Developer Preview" engine.
__________________
My Site
adamdecaf is offline  
Reply With Quote
Old 08-11-2009, 04:24 PM   #14 (permalink)
The Prestige
Advanced Programmer Top Contributor Good Samaritan 
 
sketchMedia's Avatar
 
Join Date: Oct 2007
Location: Manchester, UK
Posts: 854
Thanks: 32
sketchMedia is on a distinguished road
Default

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.
__________________
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
sketchMedia is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Part 2: Giving our Currency Conversion Script some Responsibility Wildhoney General 15 03-17-2009 01:53 PM
Required fields in a contact form code_junkie General 4 12-16-2008 03:34 PM
Random Avatar Script FaceDancer Script Giveaway 1 08-22-2008 05:47 AM
Preview: Upcoming Image Upload Script + Member System Gareth Show Off 2 07-10-2008 06:56 PM
hash() algorithm info script RobertK Script Giveaway 4 01-09-2008 03:00 PM


All times are GMT. The time now is 02:12 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design