Tag Archives: web
Introduction To PHP Include & Require

The PHP Include function is used to pull different pages together into one. For example, a default header, menu, and footer can be included on multiple content pages. When you want to update the menu, you only need to update a single file. Then the changes are reflected on all content pages that include the menu. In order to use Include, you first need PHP installed on your web server (most certainly the case). At [...]
Posted in: Web Development
Tagged: code, CSS, HTML, Notepad++, PHP, syntax, text editor, web, web development
Move Facebook Timeline Back To The Left

Facebook is at it again. This time changing the layout and color scheme of the profile page. The new, gray, decaying color scheme is more accurate to the product than they realize. Moving the timeline to the right of your about information was a bad move since that’s the content that changes regularly. It should be on the left to meet the reader’s eye. More websites are applying a right or top menu over the [...]
Prevent WordPress SPAM Comments & Registrations With JavaScript

The battle against SPAM continues, so I have another hurdle you can implement to help prevent bots from submitting comments and registering accounts. Although this tip is aimed at WordPress, the basic idea can be applied to any application. What we’re going to do is encase (or hide) the submit buttons on the comment form and account registration page in JavaScript. That way, bots (which don’t use JavaScript well) won’t be able to submit data [...]
Disable Firefox Tab Drag Preview

Being able to rearrange your open tabs in Firefox is awesome! Having the tabs preview box cover the indicator arrow – which shows where your tab is moving to – isn’t awesome. In actuality, it defeats the purpose of the indicator arrow. When Firefox choose to adopt a minimalistic interface layout in version 4, they moved the Tab bar at the very top of the screen. In previous versions, there was a little blue arrow [...]
RSS Links In Archive-type Pages

A while back, I adjusted the Feeds List page with basic directions on how to find the RSS feed of a specific category, tag, or author. That would allow readers to subscribe to a specific listing of their choice, rather than the whole site feed. While doing that, I had the idea to provide a RSS link directly on the archive pages themselves. The solution wasn’t immediately found, so I shelved that idea for a [...]
Posted in: Web Development
Tagged: code, HTML, PHP, RSS feed, syntax, web, web development, WordPress
6 Easy Ways To Avoid Computer Viruses

As people become more comfortable with going online for work, entertainment, and to socialize, the dangers have multiplied. Viruses abound, largely because many users of the Internet are either unaware of the dangers or they underestimate them. Whole industries have sprung up based on the propensity of many surfers to infect their computers with viruses. Virus removal tools and fixes are common, but if users exercise a few basic precautions, they will usually be unnecessary. [...]
