Connect to Postgres on Heroku using DATABASE_URL Config Var with PHP and PDO  
  
    Unfortunately PHP's PDO constructor doesn't take a database connection url (in a format that Heroku makes available as a config var) as an argument. It has its own, rather odd syntax. 
However, it's easy enough to extract url parts with the `parse_url`...  
  
    
      Written by Sean Behan on 11/10/2017
    
  
 
  
    How to Import/Export a Database from One Heroku App to Another Heroku App  
  
    Heroku is awesome! Let's say we want to copy a production database to a staging database. 
We can use the `pg:backups:restore` command to accomplish this. Here is an example.  For the source database we are using the `production-app-name` and for stagi...  
  
    
      Written by Sean Behan on 03/07/2017
    
  
 
  
    How To Enable IFrame Support on Heroku with Ruby on Rails and Sinatra  
  
    This actually has more to do with Rails and/or Sinatra than it does with Heroku. You have to enable IFrame support in your headers explicitly.
With Rails you can add this to your config/application.rb file
config.action_dispatch.default_headers = ...  
  
    
      Written by Sean Behan on 08/25/2013
    
  
 
  
    Deploying Wordpress on Heroku  
  
    > This post is out of date - Heroku officially supports PHP now w/ buildpacks
Heroku runs
	Apache version 2.2.22
	PHP version 5.3.10
Deploying Wordpress to Heroku requires that you throw the Wordpress source into a Git repository. So download th...  
  
    
      Written by Sean Behan on 03/02/2017