To be able to use PHP5 PDO with MS Access mdb files the following is required
(the same applies for the PHP4 style of using odbc_X except for the
obviously PDO specific requirements):
In Linux this is achieved by intalling the php5-odbc package:
To be able to use PHP5 PDO with MS Access mdb files the following is required
(the same applies for the PHP4 style of using odbc_X except for the
obviously PDO specific requirements):
In Linux this is achieved by intalling the php5-odbc package:
| function string_to_slug (str) { | |
| str = str.replace(/^\s+|\s+$/g, ''); // trim | |
| str = str.toLowerCase(); | |
| // remove accents, swap ñ for n, etc | |
| var from = "àáäâèéëêìíïîòóöôùúüûñç·/_,:;"; | |
| var to = "aaaaeeeeiiiioooouuuunc------"; | |
| for (var i=0, l=from.length ; i<l ; i++) { | |
| str = str.replace(new RegExp(from.charAt(i), 'g'), to.charAt(i)); | |
| } |
| function targetBlank() { | |
| // remove subdomain of current site's url and setup regex | |
| var internal = location.host.replace("www.", ""); | |
| internal = new RegExp(internal, "i"); | |
| var a = document.getElementsByTagName('a'); // then, grab every link on the page | |
| for (var i = 0; i < a.length; i++) { | |
| var href = a[i].host; // set the host of each link | |
| if( !internal.test(href) ) { // make sure the href doesn't contain current site's host | |
| a[i].setAttribute('target', '_blank'); // if it doesn't, set attributes |
dropbox
friendsfeed
| ### ENVIRONMENT VARIABLES ### | |
| SetEnv PHP_VER 5 | |
| SetEnv REGISTER_GLOBALS 0 | |
| ### MAIN DEFAULTS ### | |
| Options All -Indexes | |
| DirectoryIndex index.html index.htm index.php | |
| AddDefaultCharset UTF-8 | |
| ### MIME TYPES ### |
| <?php | |
| namespace SiteModuleTest; | |
| use Zend\Loader\AutoloaderFactory; | |
| use ApplicationModuleTest\ServiceManagerTestCase; | |
| $basePath = __DIR__ . '/../../../../'; | |
| chdir(__DIR__); |
| <!doctype html> | |
| <title>Site Maintenance</title> | |
| <style> | |
| body { text-align: center; padding: 150px; } | |
| h1 { font-size: 50px; } | |
| body { font: 20px Helvetica, sans-serif; color: #333; } | |
| article { display: block; text-align: left; width: 650px; margin: 0 auto; } | |
| a { color: #dc8100; text-decoration: none; } | |
| a:hover { color: #333; text-decoration: none; } | |
| </style> |