Web Design and Programming Pt 24

[ad_1]
I show you how to grab disorganized information from a web page using Regular Expressions in PHP. I also cover many other functions in PHP like: preg_match_all, fgets, strstr, preg_replace, and more.

I also answer the most asked question over the past 4 months!

The code is here:


Posted

in

by

Tags:

Comments

48 responses to “Web Design and Programming Pt 24”

  1. Raphael Cacas Avatar

    Hello Sir Derek Banas, can you make a tutorial like this for Java, JSP, MyBatis, Spring MVC? ๐Ÿ˜€

  2. Mark Kelly Avatar

    Thank you very much

  3. Mark Kelly Avatar

    Hi, In the first video in this playlist you said that you were going to teach making WordPress plugins and themes. Are you still going to do this?

  4. sargin oghenerukevwe Avatar

    Thanks Derek for organizing this free tutorial it was really helpful for me. I just started working on my first project which i streamed on Livecoding.tv. It is a ticketing system https://www.livecoding.tv/usernameuser/playlists/lXzqZ-creating-a-ticketing-system/. I hope it goes well ๐Ÿ˜‰

  5. Matt Dathew Avatar

    when are you continuing with wordpress and xss. i did a security course, ย horribly failed xss mp, I wanna learn it from you this time

  6. Anthony Rosamilia Avatar

    for the first regex under the foreach loop
    "Match: " . $val[0]
    does this give every subgroup at once? Im confused why it does not just say the "Derby Lane" part.

  7. Elisha Joseph Prudenciado Mahinay Avatar

    thank you very much so helpful ๐Ÿ™‚

  8. Alan Marlin Avatar

    Derek, again thank you so much . You've helped us a lot. Is there a way to return the favor?

  9. I Nyoman Gurnitha Avatar

    Hi,
    I just start learning php and I am happy with your tutorials. So, Part 24 is the last one?
    Do you have any other tutorials on PHP?
    Many thanks, great works.

  10. BigDk Mcgee Avatar

    Hi Derek you should make aย  tutorialย  building a complete website on PHP.

  11. BigDk Mcgee Avatar

    One person is a retard !!!!

  12. Derek Banas Avatar

    Thank you very much ๐Ÿ™‚ Well it depends on what you want to do. After this tutorial series I cover how to make custom themes, plugins for WordPress. WordPress pretty much eliminates most of the security problems you may have.

  13. Davide Strata Avatar

    Hello, I have watched all the php and php security video, they are fabulous ! what's next ? I can't choose what should i watch next to continue this series of tutorial ?

  14. Derek Banas Avatar

    Thank you for all the nice messages ๐Ÿ™‚ They are very much appreciated

  15. Troy A. Peterson Avatar

    Dedicated a day to watching, note taking and cataloging these videos. This content is among some of the most powerful and empowering I've come across on the web. I'll be going through all of this at least once more by the end of the week. Truly remarkable.

  16. neydsonlegal Avatar

    Class Good, more Scripts php in the coracaodejesusmgpointcom/php

  17. Derek Banas Avatar

    Thank you ๐Ÿ™‚ I have constant allergy problems. That is why my voice sounds so wacky

  18. Derek Banas Avatar

    Thank you ๐Ÿ™‚ The id I'm sure follows a pattern that you can describe using a regex. You'll just have to figure out the pattern and then you shouldn't have any problem. I hope that helps

  19. Hasan Seirafi Avatar

    Derek you are Awesome!! ! I watched the PHP tutorial and I have been able to scrap several site. However, one of the sites i am trying to scrape is dynamic, meaning the content is being pasted on to the page with a changing id number at the very end of the url. I have tried using file get contents to get the file to initialize in the php code. however, i am going to go mad trying to figure this out. Any advice would be appreciated. And thank you in advance, your tutorials are a hidden Gem .

  20. Derek Banas Avatar

    Thank you ๐Ÿ™‚

  21. Derek Banas Avatar

    1. Using a framework would only limit you if you didn't understand non-framework code.

    2. Many companies use frameworks and would maybe want someone around that would understand it. Programmers normally work in teams, so they would like a new member to be aware of the tools being used.

    Feel free to ask me questions of any sort. It doesn't bother me. Just understand that it sometimes takes me a while to get back to you

  22. Derek Banas Avatar

    Frameworks are used to speed up development time because many of the functions you may need are already made and ready for you. That is true of all frameworks and not just for PHP. I hope that makes sense

  23. sdhpCH Avatar

    Why you hope that? You have a clear voice and thats the result? Whatever they use, it has to improve. And I don't think I would be happy to have THAT on my Android device at the moment. – But – it seems that it is the same as used with the x-webkit-speech="" tag for input fields in chrome.

  24. Derek Banas Avatar

    I hope they use the Android voice recognition software on YouTube. Yes they turned it on by default

  25. sdhpCH Avatar

    I actually watched all the playlist. Hehe, nice you had to laugh, too ๐Ÿ™‚
    I think it turned on by default, maybe youtube tries to promote this function from time to time.

  26. Derek Banas Avatar

    Cancer invades the lane with cell phone odor is pretty funny ๐Ÿ™‚ I always have captions shut off. Thanks for making me laugh. Just search for regular expressions on my YouTube channel. Regex is the same in every language. If you watch the more basic tutorials you'll get it

  27. sdhpCH Avatar

    Nice Tutorials on Regular Expressions, thx, Derek!
    I am still confused – but at least I understood the power behind it to be motivated to learn this.
    I dont know if anyone reads the CC below, but sometimes the result that appears differs in a very funny way to what Derek is really saying.
    That was kind of distracting, because I could not decide whether I want to be entertained or teached.

  28. MaleficPlanet Avatar

    *nudge* – you must be quite busy to have not followed up on this.

  29. Derek Banas Avatar

    I'm going to do a very long tutorial on Design Patterns. I can't believe it has taken so long for me to cover that topic. Expect it to start next week after my vacation

  30. MaleficPlanet Avatar

    Derek, could you do some tutorials covering MVCs like Code Igniter? Thanks!

  31. Derek Banas Avatar

    @shakaama That's what my WordPress tutorials are. I create entire websites from scratch using, PHP, JavaScript, JQuery, HTML, CSS and MySQL. Eventually I'll make an automated WordPress tutorial that will use regular expressions

  32. Shakaama Avatar

    is it possible you create a project that uses everything in this particular series? I learn much more by example, than by abstract instruction. html and css didn't sink in until I went through a video series by @createthenet by the 5th video I was an expert. Same thing when I was learning logic and philosophy, didn't sink in until I sat through some debates. then bingo, straight A's.

  33. Derek Banas Avatar

    @infastructureFissure You're very welcome. I'm glad to help

  34. Derek Banas Avatar

    @infastructureFissure Great! If you're not certain something will always be in a pattern follow that with a ? So if you want to grab a space that you're not certain will always be there use this code s? Does that make sense

  35. Puggsy21 Avatar

    Well i look forward to seeing them lol and if you could fit my subject in there that would be cool i am a quick learner if i watch and listen i dont really like text tutorials lol

  36. Derek Banas Avatar

    @puggsy21 No problem. I'm going to redo my Javascript tutorial. My JQuery one is pretty cool though. JavaScript is a language like any other. It is just used to react to user actions dynamically without the need to call the server. It is totally insecure though. More on JS and JQ very very soon

  37. Puggsy21 Avatar

    @derekbanas yeh mate makes absolute sense but my trouble is intergrating the two into the script together would you be able to put something together by any chance im much more of an intaker watching videos im one of these thats buys something but never reads the instruction book i been doing php for 1- 2 years and have only recently jumped into lavascript, jquery and ajax so if you could put something together that would be great and much more beneficial to me

  38. Derek Banas Avatar

    @puggsy21 You could do that with JavaScript or JQuery. Perform a special action based off of an event handler being triggered. You can't really secure people from seeing that JavaScript code though like you can with PHP. Does that make sense?

  39. Puggsy21 Avatar

    ok cool thanks man do you know if there is a way to do like a secret code like example ctrl and say E for say entry then you have the login pop up

  40. Derek Banas Avatar

    @puggsy21 If you always access the website from a limited number of ip addresses you could have it show up only for those addresses. if (in_array($_SERVER['REMOTE_ADDR'],$myipaddress))

  41. Puggsy21 Avatar

    @derekbanas here is a question for you regarding php i currently use a login script for my site for me only and the admin button only shows up when i sign in but i was wondering do you know a safe non malicious way you could hide the login button unless it knows you are the admin and shows you the login button or some sort of secret code to get it just help me clear up a thing things reagrding security

    thanks

  42. Derek Banas Avatar

    @bry789123 I'll do a fast tutorial on Javascript. Once you understand it, it is a piece of cake to create a chat system. Look for it very soon. Meaning this week ๐Ÿ™‚

  43. Derek Banas Avatar

    @puggsy21 Thanks a bunch ๐Ÿ™‚ I'm glad you find them useful and I'm very appreciative of any support.

  44. Puggsy21 Avatar

    Hello dude just wanted to say thanks for all the great tuts man do a great job and always checking for new tuts. I have tried to show others by putting you on my channel have a look the recommended channels part not that you need help with subs or anything lol ha ha

  45. Derek Banas Avatar

    @bry789123 Sure, I don't know if I should redo my JavaScript tutorial first though?

  46. Derek Banas Avatar

    @CamiloSanchez1979 I record the screencasts with Quicktime x and edit the video with iMovie

  47. CamiloSanchez1979 Avatar

    How do u achieve those screencast effects?

Leave a Reply

Your email address will not be published. Required fields are marked *