Roger Davies

The Ramblings of a Weirdo

Entries Tagged ‘php’

Dynamic CSS Stylesheets Using PHP – A Practical, Working Example Using Cookies To Store CSS Settings

A Practical Example of Dynamic CSS
Continuing with the idea of dynamic CSS Stylesheets using PHP, I constructed a basic working example. See this page for details on how you might configure Apache to do this.
Once you have played with the settings, try viewing this page, which is not getting any information from this page (or [...]

PHP CSS Files – Dynamic CSS, Using PHP in Stylesheets By Using The AddHandler and AddType Directive in the .htaccess File

Show Me A Working Example of Dynamic CSS using PHP »
PHP in CSS Files – Dynamic CSS Using PHP Stylesheets
It all started when I needed to use PHP in a website that was originally basic HTML files. The site contained at least 30 pages, and I was dreading having to rename every HTML file [...]

SEO Tools – Find Your Website in Google, Yahoo Using Curl_Exec PHP Command to Fetch Web Pages on a Shared Hosting Platform Without Using fopen

The Birth of User-Agent Rogerdavies
I’ve often seen these SEO tools around that give you your information or position in Google and Yahoo, and I wondered how difficult they would be to write myself. Thankfully, with the power of modern PHP this bit of witchcraft turned out to be fairly straightforward and has led to [...]

PHP Script to Export SQL Data As a CSV File, Import CSV File Into An SQL Database

Here is a bit of PHP scripting hocus pocus that will be very useful to some people and very useless to the vast majority. I wrote it before realising that what I wanted to do could be more easily done from phpMyAdmin, but think it still may benefit someone.
Browse Table Structures, Export SQL Data [...]

  

The Manchester SEO Blog Just Roger IT! Protect Your Bits!  Fight the Digital Economy Bill! Electronic Frontier Foundation

Roger Davies Forum

Personal