Re: [PHP] Re: preg_grep Help (Regular expresion)

2002-05-12 Thread Brian C. Doyle
Hello all, I did foget to mention that I had $file as $file=file("Status.htm"); and it reads the file as 1 line it seams. At 11:31 PM 5/12/02 +1200, Jason Morehouse wrote: >$file needs to be an array: > > $file = file("myfile.txt"); > >On Sun, 12 May

[PHP] preg_grep Help (Regular expresion)

2002-05-11 Thread Brian C. Doyle
Hello all, I have a file that has ip address in it.. I need to pull those ip addresses out. Currently I am trying: $ips=preg_grep("/^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/",$file); print_r(array_values ($ips)); And well i am getting nothing! Anyone? -- PHP General Mailing List (http://ww

[PHP] PHP and Postgresql with out local Postgresql

2002-04-04 Thread Brian C. Doyle
Hello all, How can I get linux php binary to access a remote postgresql server with out building postgresql on the "local system" I want to do it like it is done on windows. Example just load a dll file well .so in the script? dl('extensions/php_pgsql.dll'); but dl('what_ever.so'); -- PH

[PHP] 8 bit check sum???? Not 32 bit

2002-01-16 Thread Brian C. Doyle
pack('C', unpack("%8C*", shift) ) ) ); } This works fine in perl but I would like to get this to work in PHP What am I missing. Thanks for you help Brian C. Doyle -- PHP General Mailing List (http://w

Re: [PHP] phpinfo() returning Zero Sized Reply

2001-12-04 Thread Brian C. Doyle
Okay so i got rid of the echo and still no go.. I am using version 4.0.6 At 08:11 PM 12/4/2001 +0200, Valentin V. Petruchek wrote: >phpinfo() is a function itself. It needn't echo: >phpinfo(); >?> > >Zliy Pes, http://www.zliypes.com.ua >- Original Message --

[PHP] phpinfo() returning Zero Sized Reply

2001-12-04 Thread Brian C. Doyle
hello all, I have a script with and getting Zero Sized Reply i have increased my timeout in php.ini and no change. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators

[PHP] Serial Port Programing

2001-11-12 Thread Brian C. Doyle
Hello all, Does PHP have the ability to control a serial port? I see we can use the Printer but that was All I saw. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrato

Re: [PHP] List of files?

2001-08-21 Thread Brian C. Doyle
Here is some code that I use to do what you wanted and attach is the files for the folders. This uses javascript that works well with Internet Explorer and creates sublist that appear in the folder. Untitled