Archive for 'PHP'

PHP ODBC across networked drives

20 August 2008

While integrating some backend services needed by our RIA I ran across a small hiccup that was easily fixed but I thought I’d post in case someone else get’s stumped by this (apparently some already have ).
Problem:
PHP needed access to and ODBC connection that pointed to a dBase III database on a remote server. […]

PHPbb over 443 (https)

14 February 2008

Quick heads up for anyone having trouble getting phpbb to working under a secure (https) installation. You may have to manually go in and change cookie_secure from 0 to 1 in the database table `_config`.

PHP - Large File Uploads

5 February 2008

Okay, here’s a quick check list of php.ini variables that may need tweeking for allowing large file uploads…
file_uploads (You’ll want this set to “On”)
upload_max_filesize (2MB default)
post_max_size (8MB default)
max_execution_time
max_input_time
memory_limit
My $_FILES array kept turning up empty, turned out to be the post_max_size still set at 8MB.

dbtcp on SuSe 10.x (ODBC Linux Bridge)

7 November 2007

First off, to compile dbtcp as a PHP extension, you’ll need to have phpize installed. I didn’t, so I opened up YAST and click on PHP’s devel package. A YAST dependency warning is thrown, click remove php-devel, press OK, select ignore and OK.
Extract archive to /usr/src/dbtcp
>cd /usr/src/dbtcp
Opened MakeFile and added -fPIC to CCFLAGS […]