Use Eclipse for PHP Development

On May 19, 2011, in PHP, Programming, Web Design, by LuCuS

Eclipse LogoA question I get asked all too often is “how do I setup Eclipse for developing in PHP?” Although there are plenty of websites out there that show several different ways to do this, I’m going to show you the method that works best for me. The instructions in this tutorial are intended for developers working in the Windows operating system. However, these instructions will also work for Linux users as well. But, Linux already provides most of the tools you’re going to be downloading in this article. If you are using Linux, feel free to skip to step 3. Otherwise, let’s get started.

Continue reading »

Related Posts

Tagged with:  

ClockWhen working with web applications, one of the most frustrating scenarios a developer is always faced with is “how to deal with session timeouts”. There are plenty of reasons why session timeouts can be annoying, but those are outside the scope of this article. Instead, I want to show you a simple, yet elegant way of handling session timeouts before they even happen. Now, I’m sure you’ve been to websites, probably your bank’s website, where you are presented with a message that alerts you that your session is about to expire and that you either need to do something on the page or be faced with a re-login window. So, I’m gonna take a quick minute to show you how to do the same with your website.

Continue reading »

Related Posts

Netflix LogoA friend of mine just called and asked if I could throw together a quick piece of code for him that could get the new releases list from Netflix and display them on his website using PHP. As always, I was willing to help. Since this was something that he needed (for whatever reason), I assume that there might be others out there that would like to do the same thing. So, I’m going to share with you the same code I shared with my friend.

Continue reading »

Related Posts

Tagged with:  

Adobe Flash LogoLast night, I showed you how to create an HTML form that allowed you to upload a video to a PHP file (that I also showed you how to create) that would use ffmpeg to convert your videos into Flash videos which could be played inside of a web browser. If you haven’t read that article yet, you should click here and read it first as this article will be building on that article. In this article, I’m going to give you a simple Flash player that can be embedded into any HTML page which can be used for playing the videos you converted in the previous article. So, let’s get started.

Continue reading »

Related Posts

Tagged with:  

ffmpegSeveral years ago, I was approached by a media company that created TV commercials for businesses. They were looking for someone to convert their recorded TV commercials into a web compatible format. After a long period of what seemed like endless negotiations, we finally worked out an agreement that would allow me to convert their television commercials into a web format, but only if I could display those videos on one of my websites. From there, other website owners could register with our site, at which point they were provided with a small bit of source code that could display our “web commercials” on their sites. Those website owners were paid per page impressions as well as for click-thrus. The system worked great and we all made a lot of money. However, around the time to renew our contract, the media company decided they could convert the commercials cheaper on their own than they could for paying me. So, the contract was not renewed and we went our separate ways.

After a while, we changed the website to allow anyone to upload videos of their own. However, I was never interested in competing with sites like Hulu or YouTube. And, I was not interested in battling with the courts and the MPAA over copyrighted material. So, like several of my other sites, I sold out and got out. Today, the original site no longer exists and the buyers are no where to be found. But, lucky for us, I still have a little bit of the original source code that I want to share with you now. This isn’t the final source code that was used in production, but it should be enough to point you in the right direction for creating your own YouTube-ish video sharing website. So, let’s have a look.

Continue reading »

Related Posts

Tagged with: