Re: [PHP-DB] searching through a string

2006-09-17 Thread Chris
Ron Piggott (PHP) wrote: If $file_name includes the path /path/to/file/file_name.pdf is there anyway of searching from the right hand side to the left and getting the file name out the $file_name variable? The file name starts the character following the last / http://www.php.net/pathinfo will

[PHP-DB] searching through a string

2006-09-17 Thread Ron Piggott (PHP)
If $file_name includes the path /path/to/file/file_name.pdf is there anyway of searching from the right hand side to the left and getting the file name out the $file_name variable? The file name starts the character following the last / Ron

RE: FW: [PHP-DB] How to install PHP-DEV package for PDO_OCI

2006-09-17 Thread Choy, Wai Yew
Hi Tom, Thanks...I tried this...But the php-devel.i386 is for PHP version 5.1.4-1 yum will tried install all the other dependencies (eg. php 5.1.4; httpd 2.0.5..etc). I'm afraid with this dependencies installed, it will mess up my current config... Is there a php-devel packet for my setup? (P

[PHP-DB] ODBC data types

2006-09-17 Thread Stephen Brooks
I am accessing a Microsoft Access 2000 database using the Unified ODBC functions. My problem is that some SQL field types are not recognised and cause the database driver to a (generic) syntax error. For instance odbc_exec($odbc,'CREATE TABLE FormData (formid LONG,dataphp LONG VARCHAR)'); ..