Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 34 guests and 1 member online
 
Advertisement

You are here: Home
EH-Net
May 23, 2013, 02:00:15 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
  Home Help Calendar Login Register  
  Show Posts
Pages: [1]
1  Ethical Hacking Discussions and Related Certifications / Web Applications / file upload feature for a new website - begging for help... on: June 07, 2011, 12:13:52 PM
Could anyone please spare some time to help on a feature I need for my new website?

I have created the site *and paid for hosting etc etc), made graphical animations and stuff in Fireworks and Flash, and made pretty much the whole site so far with Dreamweaver. Made all the payments pages etc implementing paypal etc etc... and considering I had never even used any of the software or made a website before, I have done amazingly well!

im just having an issue making an upload tool for customers to send me their files... I know the normal PHPUpload type of tools, BUT they are too dangerous, and way too basic... i need to be able to define different parameters that i can set depending on which landing page PayPal sends them to...

this is what i need help with:

1- Uploading feature (have been trying PHP and failing badly, maybe JS would be better?)

-a-
the amount of files to upload at once, because it would be a nightmare having to upload 100 files individually(problems i'm having with the copy/paste of the readily available PHP scripts out there). but the quantity set by me, depending on what page they end up on. after payment. i.e.
 
"max_filestoupload = 5
min_filestoupload = 5"

or

"max_filestoupload = 100
min_filestoupload = 80"

-b-
set the indidual file size cap i.e.
min_filesize = 0.4MB
max_filesize = 20MB
but those values per file, not all combined added together...

-b-
have their files saved to a unique folder on the server per person. i.e. have it automatically create folder names for each person for example:

uploadsfolder/06JAN011 - Mr D Edwards - whatever@whatever.com(email address)/
uploadsfolder/07JAN011 - Mr G Garmin - whatever@whatever.com/
uploadsfolder/07JAN011 - Mrs S Stevens - whatever@whatever.com/

2- Have a download feature...

so i can just send them a link in an email that they can click on, and it will offer them to save the pictures or ZIP etc from their above "uploaded to folder", to their PC in a directory of their choice i.e. "desktop/pictures" etc..

3- Make sure no one can end up on the landing page after the paypal checkout has completed... i.e. people not being able to direct link to the upload page!!! only being able to get there after the payment has completed... im not after a "members" area type of page, just a one time access after payment... so once they click "upload my photos" and if it was successful, they or anyone else cannot ever access that page unless they pay for more lol..
(on paypal you get a "payment completed landing page" and a "payment denied" landing page, its just that i only want people to be able to access the "payment completed" page when they have paid, not by cheating like you could in the old days)..

Juts to elaborate a bit more, I dont need the pafes making, or anything to do with the site, JUST the tool, and some basic instructions how to implement it... I can't really pay, BUT I have been in graphical design for 3 years, so could maybe make a logo 3D or do some graphical features for something for you???

I have skype, msn etc if it's needed....

and many many many thanks!!! so very very much appreciated! 

You dont realise how much will help... I cant afford to pay for the programmer to do it, so I'm appealing to the people that enjoy this or can help a dying cause lol...  I am a learning programmer, have written a couple of silly basic programs in VB lol.. not exactly world changing, but good fun!

Thanks again...
2  Ethical Hacking Discussions and Related Certifications / Programming / trying to make my 3rd program :D on: May 10, 2011, 04:05:21 PM
First off, thanks for a great site! i never even knew "hacking" could be ethical until i found this site!  which in turn has made me want to learn some programming Cheesy ok, so far im learning how to drag and drop :s.. but, you have to start somewhere Cheesy

some background stuff... i have actually written some code in VB(added 4 statements lol) to make a program that outputs whatever text you input into a text box and it will repeat it every second(or whatever) until you click stop...

I am trying this in Visual Basic code using Visual Studio 2010

the UI comprises of a start button, stop button, and a text box..
added a timer,
added SendKeys.Send(TextBox1.Text) and
SendKeys.Send("{Enter}") to the timer... and
added Timer.Start() and Timer.Stop() to the start and stop button... that was simple with a tutorial i followed..

so now i can do that without even looking at a tutorial.... natural progression has made me try adding a load of TextBox's so i could enter say "My Name" in box one, then "FirstLineOfMyAddress" in box two then "SecondLineOfMyAddress" in box 3 etc etc etc..  so it would out putlike this in notepad/word/etc:

My Name
FirstLineOfMyAddress
SecondLineOfMyAddress
etc etc etc etc

many many thanks for your help... i will add the code i have so far below so you have an idea what im doing...

-----------------
Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
        Timer1.Start()
    End Sub

    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
        SendKeys.Send(TextBox1.Text)
        SendKeys.Send("{Enter}")
    End Sub

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        Timer1.Stop()
    End Sub
End Class
----------------

it would be nice to have like 10 TextBox's so that they output with a slight delay.. i.e.

output TextBox1.Text
Pause for 250
output TextBox2.Text
Pause for 250
etc etc

because i noticed that when i "tried" setting up multiple TextBox's each with a timer (i was experimenting Cheesy) that it was just mayhem lol! no order at all!

P.S I am VERY new to code, (a day old lol) so be gentle.. dont bite my head off lol.. getting annoyed at the internet for those damn children that should be doing homework not trolling everyone...
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.062 seconds with 22 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
SANSFIRE 2013
June 15 - 22

5% Off w/ Code: EHN_5

SANS Deals 4 EH-Netters
5% OFF Any SANS Course in Any Format!
Coupon Code: EHN_5 Including SANS Rocky Mountain 2013 & SANS Boston 2013
Polls
Compared to this year, 2013 will be:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Advertisement

© 2013 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.