Web application programming tutorials
PHP: Upload Files to the Server
Contributed by William_Wilson on September 30, 2008 under PHP programmingWith PHP, it is simple to upload any file to your server.
Comments
Symfony / Propel: How to Left Join
Contributed by davak on July 4, 2008 under SymfonyA JOIN is a way to connect related database tables by the common values between them. A left join contains all of the rows from the primary table plus related members of the second database if they exist. Using joins can significantly reduce the number of database queries required to render a web page. This Tech-Recipe describes how to do a left join in Symfony using Propel.
CommentsSymfony: Rebuild from Schema.yml Without Loss of Data
Contributed by davak on June 27, 2008 under SymfonyAs my test database became more complex, I hated entering data again after doing a propel-build-all. Following these commands, you can save your database content after rebuilding your database from your schema file.
Comments
Symfony: Delete an Application
Contributed by qmchenry on April 6, 2008 under SymfonyThe command line provisioning utility in symfony provides mechanisms to create an application, but doesn’t have the means to delete one. If you’ve unintentionally created an application or no longer need an app and want to do housecleaning, this Tech-Recipe describes how to get it gone.
Comments
Symfony: Fix propel-insert-sql error: Can’t connect to local MySQL server
Contributed by qmchenry on April 4, 2008 under SymfonyAfter building your model and the SQL code to represent it, symfony offers a mechanism to insert the SQL code directly into your configured database. If you are running MySQL locally, this should work for you with no additional configuration. If you are running MySQL on another server, as is common in shared web hosting and other environments, you’ll get an error. In the past, I’ve just grunted and sent the SQL code to the database manually, but there is an easy fix to make things work as they should.
CommentsPHP: Print the current year for copyright notices
Contributed by qmchenry on March 8, 2008 under PHP programmingHardcoding the year in a copyright notice is an easy way to get a blog or other website started, just placing the starting and ending years next to the copyright symbol. We have the very best of intentions to change this number right after the big ball drops in Times Square each year. We’re also human and, all too often, I see websites with copyright notices that are years behind. If your website is PHP-powered, this quick bit of code will put the current year in your copyright notice and off of your mind.
Comments
Dreamweaver CS3: Change How Text is Pasted into Design View
Contributed by shamanstears on March 6, 2008 under Web application programmingPasting the text from another application into Dreamweaver’s design view can be rather messy. This is due to the default settings, as they keep the original structure and basic formatting of the originating application. Fortunately, the defaults can be changed to better meet your main needs and using Paste Special can be used for situations that require different settings.
CommentsPOPULAR RECIPES
- HTML: adding a website address bar icon or favicon
- HTML/CSS: Transparent iframes in All Browsers
- CSS: Prevent Right-Click Save As on your Webpage Images with Transparent Layers
- Fix for ASP Pages That Will Not Display an ADO Recordset based on a #Temp Table
- Javascript: OnMouseOver - OnMouseOut
- Classic ASP: Generate Excel spreadsheets on the fly
- Dreamweaver 8: Insert Flash Buttons
- Dreamweaver CS3: Change How Text is Pasted into Design View
- View our Top Tens
TECH-RECIPES BLOGS
- Facebook FishVille Cheat: Send Multiple Free Gifts to Your Neighbors
- post release: Windows 7, homegroups and me
- fall 2009 and some geek thoughts, reflections
- Facebook Cafe World Cheat: Close Your Cafe When You are Away for Long Periods of Time (to preserve your Buzz Rating)
- Facebook Cafe World Cheat: Serve Your Customers Instantly
- Facebook Cafe World Cheat: Send Multiple Free Gifts to Your Neighbors
- Windows 7 Quickie: Setting up TV recording and sharing to other Windows 7 computers (turn windows 7 into a dvr / media server)
- Mafia Wars Cheat: Send Multiple Gifts to Your Friends







