background preloader

Web Programming

Facebook Twitter

PHPDesigner « DerEuroMark. There are many great IDEs for PHP development. One is PHPDesigner, which is mainly for windows. With some minor adjustments it works pretty well with cake. Preferences Go to: Tools -> Preferences [CTRL + E] General File Encoding: UTF8Trim on save: Trim Right (no need to save empty spaces to the right)Detect Changes: Yes (very useful!) Those are just the most important ones. Project Setup Go to: Project -> Project Manager [F11] New => Add “Title” => Select “Root Folder” (should be your app directory!) All PHP-internal functions can be looked up with F1 (Quick lookup in the PHP Manual). To read more about code completion, see my other article about it. Here is one example of how all cake and app functions get auto-completed and displayed: Final Tips Sometimes the files you open are still ANSI.

PHPDesigner and Linux The best of all IDEs is nativly only available for Windows.

Ajax

Webbo Web Editor. How to Store images in mysql database with php. Tutorial Outline:See Also:How to Get Images Out of MySql DatabasePHP Manual "base64_decode()"PHP Manual "chunk_split()"PHP Manual "convert_uuencode()"PHP Manual "RFC 2045 section 6.8" This tutorial covers a simple way to store images in a mysql database. The example scripts that I provide here are intended to show you how to get a single image into your database.

It will be up to you to write other scripts using php loops -- and functions like: Creating a Test Mysql Database This tutorial includes a fictitious database and table. Lets call the database test_imgs with a single table called pictures. "id" is primary, key, not null, and auto_increment"pics" blob not null"ext" is varchar(4) not null"gender" is varchar(7) not null Mysql defaults for everything else.Create a directory "test" for the scritpsPractice script "test.php" Example Php Database Function First let's write a function to connect to the Mysql database Explanation of Database Function Arguments 1 through 4 need no explanation.

How to Create Custom Facebook Pages [Tutorial] This video tutorial describes how you can create custom apps for your Facebook Fan pages in minutes. Your Pages can have maps, tweets, slideshows, music and more inside Tabs. Facebook has made some significant changes to the layout of Facebook Pages in recent months. The custom landing tabs are gone and all Facebook Pages are now rendered using the new Timeline view.

Page owners can add cover photos and they can also highlight important stories by pinning them to the top. Facebook Pages, by default, include apps for Events, Photos, Videos and Notes. However, if you would like to include custom information on your Facebook Page – maybe a Google Map of your business or YouTube videos or maybe a calendar of events – you need to create an app for that. Let me share a few good examples. The official Facebook Page for Nokia has a Welcome Tab that highlights some of their recent phones. Have you ever wondered how do big brands create such interesting Facebook pages?

W3Fools – A W3Schools Intervention.