Diving into PHPvideos

Diving into PHP

DiggThis

As some of you might know, I’ve been running a weekly video series on the ThemeForest Blog that teaches new developers exactly how to work with PHP. Once or twice a week, I release a new “episode” that builds upon the previous days. To expand our viewership, I’ve decided to release “Day 13″ here. Be sure to subscribe to In the Woods to stay up to date on each new release.

Why do it this way? Because people don’t always have the time to watch sixty minute videos. By posting short ten minute episodes, beginners can easily digest each lesson, rather than become overwhelmed with more information than their minds are able to consume. If you’re new to PHP, and are not familiar with this series, I hope you’ll subscribe and become a new viewer.

Day 13: Uploading Files

Don’t worry; it’s not required that you view the previous days first. Each new episode is a self contained tutorial. However, the concepts build upon what you’ve already learned!

In this lesson, you’ll learn how to upload files, and how to use regular expressions to ensure that inappropriate file types aren’t uploaded to your server.

Previous Screencasts

Diving into PHP
  1. Day 1: Installation
  2. Day 2: Variables
  3. Day 3: Passing Values From Page to Page
  4. Day 4: Multiple Variables and the “foreach” Statement
  5. Day 5: Refactoring, Arrays, and Functions – Oh My!
  6. Day 6: Including Files
  7. Day 7: Regular Expressions
  8. Day 8: Strings
  9. Day 9: First-Time Visitors
  10. Day 10: Getting Started With MySql
  11. Day 11: SQL Insert Statements
  12. Day 12: The File System
  • Subscribe to the NETTUTS RSS Feed for more daily web development tuts and articles.


Related Posts

Add Comment

Discussion 90 Comments

Comment Page 2 of 2 1 2
  1. Andrew Miesner says:

    Jeff!

    When will we see Day 14? I hope you haven’t died from exhaustion yet :P

  2. Steve says:

    Hi Jeff, yes i’m also hoping you do a day 14! This is great stuff.

  3. Bogdan says:

    I’m Working on a website with gallery for a friend and i didn’t know how to do the upload part.. this tutorial is very great i’ve read about ten twenty tutorials about file upload but no other tutorial was explained part by part like this one know i know what i have to do.. maybe in the next tutorial or i dunno do onther tutorial for multiple file upload and inserting the data into mysql for pictures.. or other stuff.. would be very nice and a great help for lot’s of ppl.

  4. Rick Bross says:

    I wanna see a Intermediate Series named, “A Firm Grip on PHP”.

  5. Keith says:

    Nice! always good to go over php

  6. Josh says:

    When will the series continue? or will it?
    I enjoyed this.
    Maybe branch to another level.

  7. Benny says:

    This is so great. Thank you very much! And please, make this a 300 days Diving into PHP marathon!

  8. Kenny says:

    Is there a day 14? Or does this series continue on under a different name?

    I love your tutorials, and I’ve tried to learn PHP before, and have never understood it, but these tutorials really help me to understand the language better.

    I appreciate all the effort you put into these Jeff, and hope you continue to do them.

  9. samiul says:

    great man! keep it up

  10. JR says:

    Dude, I’d pay for these. Don’t stop.

  11. Joshua says:

    Sob sob sob… is day 13 the end? :( I want to learn more :(

  12. beneblack says:

    First of all: I love these tutorials. I’m watching them all, as I watched the awsome serie jquery for beginners.

    There is a little mistake in line 12 of the index.php

    $_FILES['file']['size'] > 300000) does not work. You see it in the tutorial on minute 17, where the file is not uploaded and the message “congrats…” ist thrown out.

    If the file is larger than the size defined in line 42 :
    input type=”hidden” name=”MAX_FILE_SIZE” value=”300000″
    the $_FILES-array-values of ‘error’ and ’size’ are changing. ‘error’ becomes ‘2′ and (that is the key:) ’size’ bekomes ‘0′.

    Something like $_FILES['file']['size'] == ‘0′ && $_FILES['file']['error'] ==’2′ should work.

    @jeff Please go on making these tutorials. I love them all. Didn’t find anything helpful like this in german.

    beneblack

  13. Saad says:

    more php tutorials like this please.

  14. nilaf says:

    best video tutorial for a beginner like me.Thanks Jeffrey Way.i want to know how to create a user image crop application after upload.waiting for that

  15. Jason says:

    Are there not going to be any more of these?

  16. jbcarey says:

    Can’t keep asking it…. please keep this going, either here or “there”

  17. Alex says:

    Dont stop! keep going all the way to 100 videos. there is so much more to learn with MySQL etc…

    We love it, keep it coming!

  18. JimT says:

    Jeff-

    FYI
    http://blog.themeforest.net/screencasts/diving-into-php-video-series/
    Doesn’t contain links to the last few days of the series, but I did find them here after some googleing:
    http://net.tutsplus.com/videos/screencasts/diving-into-php/

  19. danielo says:

    Hi Everyone, I just discovered this amazing tutorials and I’m downloading them from iTunes. I just downloaded the chapter 2 and it looks funny, I downloaded it twice and stills looking backwards or something, here’s a picture of the image I hope this can be fixed or please if you tell me where can find the original video to download I will be appreciated guys!

    the image: http://screencast.com/t/NzhlMmE2

  20. Charles says:

    OK, these are great, thanks Jeff, and my dyslexic learning curve thanks you too. LOL.

    OK, watching day 3 on global variables and I get an error message:

    Notice: Undefined variable: _post in C:\wamp\www\Day3\page2.php on line 11

    in my WAMP, php is not recognizing the super globals. I have checked php.ini and settings are…

    variables_order = “GPCS”
    request_order = “GP”
    register_globals = On

  21. Charles says:

    Silly me, I didn’t put the super globals in all caps. :P Don’t mind me, it was late. LOL

  22. Toin Adams says:

    Thank you for these great tutorials. You’re the first person I’ve come across who speaks logically and clearly for newbies and best of all without using unnecessary jargon which generally makes a mystery of all this programming stuff! Really useful t

Comment Page 2 of 2 1 2

Add a Comment