[PHP-WIN] Re: how to use odbc???

2007-01-31 Thread git
On Fri, 26 Jan 2007 11:55:56 +0700, bedul wrote: > can u give me url to have odbc example.. > > or i give the problem.. > > i want to connect to this odbc.. u may click > http://indoupload.net/files/view/803/odbc%20problem.jpg > > how to connect to the odbc and then execute sql. > any question

[PHP-WIN] Here is how to 'sniff http'

2007-01-31 Thread git
All, I thought this might be of use to you and maybe even the guys at Angler. On the news groups and email lists I frequent I often find people wanting to know what is exactly happening between a server and client. The snag is that I could not find written up any method that would work on any

[PHP-WIN] using preg_replace or equivelent

2007-01-31 Thread Derek C Hopkins
Hi All Not knowing cgi-script I am having trouble understanding the preg_replace function in PHP. What I want to do is remove all ocurances of the following items from a string All spaces, open brackets, close brackets, apostriphy, and period (full stop)

Re: [PHP-WIN] using preg_replace or equivelent

2007-01-31 Thread Phillip Terry
Try str_replace. $string = "whatever"; $invalidChars = array("(", ")", "\\", "\"", "'"); //put whatever characters here trim(str_replace($invalidChars, "",$string)) - Original Message - From: "Derek C Hopkins" <[EMAIL PROTECTED]> To: Sent: Wednesday, January 31, 2007 1:10 PM Subject

[PHP-WIN] Eclipse PHP Plugins

2007-01-31 Thread Bill Bolte
I've been looking at Eclipse as my PHP dev tool. I've installed the PHP Development Tools and Aptana plugins. So far, I like the tool. Outside of it eating up my memory at times, it's a nice IDE. Anyone have any experience with Eclipse and any other PHP plugins? Do you like, not like? Bill Bolte,

Re: [PHP-WIN] using preg_replace or equivelent

2007-01-31 Thread Derek C Hopkins
Hi Terry Program now working like a charm. Your solution was what the doctor ordered. THANK'S At 02:15 PM 31/01/2007, Phillip Terry wrote: Try str_replace. $string = "whatever"; $invalidChars = array("(", ")", "\\", "\"", "'"); //put whatever characters here trim(str_replace($inv