background preloader

Tutorials

Facebook Twitter

Five Things You Should Know About HTML5 - Dive Into HTML5. You are here: Home ‣ Dive Into HTML5 ‣ 1. It’s not one big thing You may well ask: “How can I start using HTML5 if older browsers don’t support it?” But the question itself is misleading. HTML5 is not one big thing; it is a collection of individual features. You may think of HTML as tags and angle brackets. Chapter 2 and Appendix A will teach you how to properly detect support for each new HTML5 feature. 2. Love it or hate it, you can’t deny that HTML 4 is the most successful markup format ever. Now, if you want to improve your web applications, you’ve come to the right place. Read all the gory details about HTML5 forms in Chapter 9. 3. “Upgrading” to HTML5 can be as simple as changing your doctype. Upgrading to the HTML5 doctype won’t break your existing markup, because all the tags defined in HTML 4 are still supported in HTML5. 4.

Each chapter of this book includes the all-too-familiar browser compatibility charts. 5. Tim Berners-Lee invented the world wide web in the early 1990s. Building an iPhone chat app from the ground up. Architecting an iPhone chat app With an installed base of 40 million iPhones, you have to be crazy if you aren't interested in writing an iOS application.

But where do you start? Most applications are going to be network connected. So what about a project that spans across both, such as a chat application. In this article I show you how to build a chat application with both server and client components. You can learn much from it about creating iOS applications that I guarantee you will want to write one by the end of this article. Building the application starts with architecting the solution. Figure 1. These two PHP pages, add.php and messages.php, both connect to the database to both post and retrieve the messages, respectively. The protocol I use is XML. Before you start, I want to cover what you will learn here. Database access. That's a lot for one example and it should provide a decent set of tools for you to develop any type of client/server iOS application you want to build.

<? Sending Client-To-Client Realtime Messages With The PubNub JavaScript Library. How to Find & Replace Data in MySQL. Topic: Forum reply redirect URL rewrite issue. Your topic replies URL should be displaying in the format: When I set my bbPress settings to the same settings you use above these are the URL’s: Forums base: forum (Note: Default bbPress setting is ‘forums’) Topics base: topics (Note: Default bbPress setting ‘topics’) Forum Prefix ticked (Note: Default bbPress setting ‘ticked/checked’) Forum slug: forums (Note: Default bbPress setting is ‘forum’) Topic slug: topic (Note: Default bbPress setting ‘topic’) I would try resetting your permalinks.

If you have no luck I would read up on the LAMP/MAMP (Linux/Mac, Apache, MySQL, PHP) package you are using on what settings are needed for mod_rewrite to work on your local machine. There are also a few (and a few broken links here) installing WordPress Locally Thanks Stephen. Thanks Ana Thanks. The shortest image uploader – ever! MySQL Import and Export (.sql file) via SSH. Using SSH can be a superior way to manage the files and databases on your account.

Using a simple command you can import or export a MySQL database into an existing database on your account. Click Here for information about getting SSH access.If you are looking for instructions for importing or exporting databases using phpMyAdmin, please see Import Databases with phpMyAdmin Please note that in the examples below the -p will prompt for your account's password. And that your database name needs to include your Bluehost username, e.g. examplec_database. Exporting MySQL Data This example shows you how to export a database. The file dbname.sql now holds a backup of your database and is ready for download to your computer. To export a single table from your database you would use the following command: mysqldump -p --user=username database_name tableName > tableName.sql Again you would need to replace the username, database and tableName with the correct information. Import A MySQL Database. Styling form controls with CSS, revisited.

Over two years ago, in September 2004, I posted an article called Styling form controls. My intention with that article (and its follow-up, Styling even more form controls) was to show that attempting to use CSS to make form controls look similar across browsers and operating systems in an exercise in futility. It simply cannot be done. Since discussions about applying CSS to form controls continuously crop up, new versions of browsers and operating systems, and entirely new browsers have been released since September 2004, it was time for an update. In addition to that, my original articles did not include all types of form controls. Because of all this I spent way too much time creating a total of 224 screenshots showing the effects of various CSS rules applied to form controls.

I have created a demo page for each type of form control: As you may already have noted, there are no screenshots from Windows Vista. So what does this experiment show? How to Import SQL File Within WAMP Environment Using Command Line. Jenkov.com - Software and Tutorials for Software Developers. How to Add an Admin User to the WordPress Database via MySQL. Few days ago, we ran into an issue where a user’s site got hacked and their admin account was deleted from the database. This locked them out of their site without any other entry. We went in to the phpMyAdmin and created a new admin user to grant them access. In this article, we will show you a step by step guide on how to create an admin user in WordPress Database via MySQL. Note: You should always make a backup of your database before performing any MySQL edits.

This tutorial requires basic understanding of how phpMyAdmin works. First, you need to login to phpMyAdmin and locate your WordPress database. Once you are in, we will be making changes to the wp_users and wp_usermeta tables. We need to insert our new admin user’s information, so click on the Insert tab like it shows in the image above. ID – pick a number (in our example, we will use the number 4).user_login – insert the username you want to use to access the WordPress Dashboard.user_pass – add a password for this username.

How to Add a Custom Message on the Login or Register Screen - WP Smith. Click for a Larger Image For one of my projects, I was asked to make the entire WordPress Blog login protected whereby people had to request via a form on the site for access. In doing this everyone was redirected to the login form without a registration link (because they did not want to use the traditional WordPress registration and preferred a manual registration). Anyways, I had to add a message on the login screen to point people to a contact form. Since WordPress 2.8, you can add a custom_login_message. The p class=’message’ puts the message in a yellow box.

And if you want a custom message on the registration screen: Like this: Like Loading... How to export a mysql database using Command Prompt.