Advertisement

PHP

  • PHP
    Creating a Web Poll with PHPPreview
    6 shares
    Polls are nearly ubiquitous on the web today, and there are plenty of services that will provide a drop-in poll for you. But what if you want to write one yourself? This tutorial will take you through the steps to create a simple PHP-based poll, including database setup, vote processing, and displaying the poll.Read More…
  • News
    Create an SMS Signup Form: Part 1Sms php preview
    2 shares
    SMS is a worldwide technology used by almost everyone with a cell phone. Despite having a much greater reach than the smartphone market, SMS programming receives far less covereage and often remains uncapitalized. In this multipart tutorial, I will show you how to create a web site signup form that allows users to enter a mobile number. I will then show you how to use PHP for server-side phone number verification to check that the mobile number the user has entered is actually his mobile phone. Along the way, we will use jQuery to perform client-side validation and CodeIgniter as our development framework.Read More…
  • Theme Development
    An Introduction to Split Testing in WordPressSplit
    2 shares
    Split testing is a way to experiment with a live site and find which headlines and text are the most effective. Amazon uses split testing to determine which versions of their site convert customers better. We'll use WordPress and Google's Website Optimizer to test two different headlines, and find which works best at capturing customer emails.Read More…
  • PHP
    The Problem with PHP's Prepared StatementsThe problem with prepared statements
    PHP's prepared statements (for database access) are fantastic. Not only do they help secure your database queries, but they're also particularly more efficient for larger products. However, there are a couple issues that appear to make these methods less flexible than we'd hope. For one, we must utilize the bind_result method, and pass in a specific number of variables. However, what happens when this code is within a class, and we won't immediately know how many variables to pass? Luckily, there's a solution! I'll show you what it is in today's video tutorial. Read More…
  • PHP
    CodeIgniter from Scratch: Profiling, Benchmarking & HooksCodeigniter
    4 shares
    In this 15th episode of the series, we are going to learn about three subjects: Profiling, Benchmarking and Hooks. You can use these tools to analyze your CodeIgniter applications performance, and figure out what part of the code you need to optimize. We are also going to make even further improvements to the Profiler library to suit our needs.Read More…
  • PHP
    How to Authenticate Users With Twitter OAuthPreview
    31 shares
    Beginning August 16th, Twitter will no longer support the basic authentication protocol for its platform. That means the only way to authenticate users will be through a Twitter application. In this tutorial, I'll show you how to use Twitter as your one-click authentication system, just as we did with Facebook.Read More…
  • PHP
    How to Use CakePHP's Access Control ListsPreview
    17 shares
    If you're building a CMS, you'll probably need different user roles—superusers, admins, users—with different permission levels. Too complicated to code? Enter CakePHP's ACL (Access Control Lists). With the right setup, you'll be checking user permissions with just one line.Read More…
  • Web Development
    Start Using HTML5 WebSockets TodayPreview
    85 shares
    One of the coolest new features of HTML5 is WebSockets, which let us talk to the server without using AJAX requests. In this tutorial, we'll review the process of running a WebSocket server in PHP, and then building a client to send and receive messages to it over the WebSocket protocol.Read More…
  • PHP
    Magento for Designers: Part 6200x200
    5 shares
    Magento is a stunningly powerful e-commerce platform. In this miniseries, we'll learn how to get started with the platform, get to know the terminologies, set up a store and all related aspects of it and finally learn how to customize it to make it our very own. In this sixth part, we'll be building one of the most reader requested feature: getting a featured product slider in the home page. Excited? Let's get started!Read More…
  • PHP
    How to Create Blog Excerpts with PHPCode
    7 shares
    Ever visited a blog, and noticed that each posting’s body only contained a hundred characters or so, which is then followed by “…”? Ever wonder how to do that yourself without utilizing a CMS? It’s not quite as easy as you might think. In this video tutorial, I’ll show you how to do this, as well as a host of other neat little things, like working with MySQL’s LEFT() function, using PHP’s strrpos, and substr, creating the beginning’s of an actual blog, and more. It’s only fifteen minutes, so let’s dig in!Read More…
  • PHP
    Deciphering Magic Methods in PHPPreview
    10 shares
    PHP provides a number of 'magic' methods that allow you to do some pretty neat tricks in object oriented programming. These methods, identified by a two underscore prefix (__), function as interceptors that are automatically called when certain conditions are met. Magic methods provide some extremely useful functionality, and this tutorial will demonstrate each method's use.Read More…
  • HTML & CSS
    Web Dev Q&A #2 - PHP Sessions, HTML5 Doctypes, and Form Styling200x200
    We're back with the second entry in the Nettuts+ Q&A series. Today, we discuss the difference between LESS and Sass, how to pass server-side values to your JavaScript, how to work with PHP and cookies, and the HTML5 doctype. Here we go! Read More…
Advertisement
Suggested Tuts+ Course
Advanced OOP In PHP With Tests$15
Advertisement