[PHP] please advise

2007-10-14 Thread Louise Sanders
Hi There I am totally new to PHP and have just tried installing it on my machine according to instructions on the php.net manual installation instructions page - http://www.php.net/manual/en/install.windows.manual.php I think I managed to do most steps but I have a few questions: Un

Re: [PHP] HTML Parse Issue

2007-10-14 Thread Tom Ray [Lists]
[EMAIL PROTECTED] wrote: I am having a issue parsing an html file. I want to pull all the data between two html tags. Problem I am having is that no matter what I try I can pull either tag or both but not the data in between.

[PHP] HTML Parse Issue

2007-10-14 Thread admin
I am having a issue parsing an html file. I want to pull all the data between two html tags. Problem I am having is that no matter what I try I can pull either tag or both but not the data in between.

Re: [PHP] Fast prefix search?

2007-10-14 Thread Nathan Nobbe
On 10/13/07, js <[EMAIL PROTECTED]> wrote: > > On 10/14/07, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > > how big is your dataset; have you tested against a potential data set > and > > gotten > > long execution times? > > The dataset consists of about several million lines > and I've tested script l

Re: [PHP] strtolower doesn't work for character "Ô"

2007-10-14 Thread debussy007
Nevermind, didn't see second param of mb_strtolower function which let you specify encoding type. debussy007 wrote: > > > I have also tried to enable Multibyte string feature, > and tried the following : > echo mb_strtolower ( 'Ô' ) . ''; > But it still gives me a weird character. > My page is

[PHP] Re: gd with php 5.2.4

2007-10-14 Thread zerof
xx escreveu: Help! I'm using php version 5.2.4 and I'm not able to even get a pointer to a jpg image (ImageCreateFromJPEG(filename)). When I do so the program exits ... Can anybody help me, please? - http://www.educar.pro.br/en/a/gdlib/index.php?pn=15&tr=97 -- zerof http://www.educa

Re: [PHP] strtolower doesn't work for character "Ô"

2007-10-14 Thread debussy007
I have also tried to enable Multibyte string feature, and tried the following : echo mb_strtolower ( 'Ô' ) . ''; But it still gives me a weird character. My page is also UTF-8 encoded. debussy007 wrote: > > Hello, > > strtolower(...) returns a weird character when i try to convert upper case

[PHP] strtolower doesn't work for character "Ô"

2007-10-14 Thread debussy007
Hello, strtolower(...) returns a weird character when i try to convert upper case Ô to ô, can anyone help ? Thank you ! -- View this message in context: http://www.nabble.com/strtolower-doesn%27t-work-for-character-%22%C3%94%22-tf4621862.html#a13199296 Sent from the PHP - General mailing list

Re: [PHP] Fast prefix search?

2007-10-14 Thread tedd
At 11:32 AM +0900 10/14/07, js wrote: Threre seems no easy solution for this job. The best bet could be to write up do-it-your-self B-tree implementation in PHP... I have not been following this thread, so please excuse my post if this has been covered or if I'm off-base, but why not just use

[PHP] gd with php 5.2.4

2007-10-14 Thread xx
Help! I'm using php version 5.2.4 and I'm not able to even get a pointer to a jpg image (ImageCreateFromJPEG(filename)). When I do so the program exits ... Can anybody help me, please? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Timeout for fopen ?

2007-10-14 Thread Gal
You can use the CURL module, which has support for timeout. http://www.php.net/manual/en/ref.curl.php debussy007 wrote: > Hello, > > I want to use "fopen" to open an URL, but is it possible to add a timeout ? > This to avoid that fopen slows down my script ? > Because if site I access takes 10 s