want to join us? register, it's easy | help
 

charliepage has submitted 7 links

category icon

Symfony 2 Activity Log Listener

in PHP added by charliepage, on 28/7/2013 framework logging mysql php symfony

This tutorial will describe how to build an Activity Log listener which will track who/when a record is updated for whichever entity you define.

comment save report
category icon

Symfony 2 Access Denied Listener

in PHP added by charliepage, on 30/4/2013 framework php security

We describe a very common situation in Symfony 2 - you have a user type that is not allowed to access certain pages. By default, an access denied exception is thrown - with this tutorial, we describe how to simply redirect the user with a pleasant flash message.

comment save report
category icon

Pagination with Symfony 2

in PHP added by charliepage, on 24/7/2012 database general pagination php symfony

One of the many crucial parts of a content management system and websites that have an admin/engine/backend area, pagination, while often a simple feature - is needed if you plan to have more than a few items of data. Symfony 2 has a paginator class you can get separate, however it was overly complex and not easy to use for beginners. The following tutorial shows you the basics of getting a pagination up and running with your symfony 2 application.

comment save report
category icon

CSV Export with Symfony 2

in PHP added by charliepage, on 8/6/2012 csv framework mysql php

A short tutorial on creating a CSV Export feature with the Symfony 2 framework. Included is some sample code for the controller action, the routing for the action and html twig template file.

comment save report
category icon

PHP File Uploads and Max Size

in PHP added by charliepage, on 7/6/2012 file handling php

A tutorial covering the little known "Max Size" and how PHP weirdly deals with it in regards to file uploading and how to get around it.

comment save report
category icon

Bot Detection with PHP

in PHP added by charliepage, on 21/7/2008 bot detection bots general

Bots or Crawlers, are basically search engines crawling around the internet. This is how you get your pages on search engines (well, a major way). Bot Detection isn't something super vital, but if your CMS or website already has practically everything, then you need Bot Detection.

comment save report
category icon

Welcome to Cookies

in PHP added by charliepage, on 18/2/2008 beginner tutorials cookies

Cookies are just a basic aspect of PHP, but can be used in so many things. From logging in and out a user on your website to keeping the name of the skin they use on your website. Below I will explain how to set (add) a cookie, delete one and then display/check one. I will first show the PHP code and then explain it.

comment save report