RE: [PHP] Re: Help with directory !

2001-11-30 Thread Jani Mikkonen
ou got to escape it using another \, for example: $loc = ".\\some\\dir\textfile.txt" -- | ,_,Jani Mikkonen, Portal System Administrator, +358456700349 |(O,O) [EMAIL PROTECTED] |( )Public pgp key @ http://www.mikkonen.org/jani/keyw.html +-"-

Re: [PHP] Help anyone

2001-11-29 Thread Jani Mikkonen
> > > And if you want to make one of those selected use something like this: > > > -- 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, e-mail: [EMAIL PROTE

Re: [PHP] Global storage of objects.

2001-11-29 Thread Jani Mikkonen
> I would like to know if there is a way to store objects globally from a > php-page, so that the object can be used from another page. Keyword is Serialization. If you save object to flatfile or to db, i dont see any point why the result wouldnt be accessible from other places (providing that th

Re: [PHP] Sending fax with php, is it possible?

2001-11-29 Thread Jani Mikkonen
> A customer wants a order made by a forminput sent to fax. Is it possible > with php? Or do I have to do it some other way? Hey, php is a programming language, it does what ever you want (up to certain restrictions ofcourse) But for pointers, try installing hylafax (if you run *nix that is) an

Re: [PHP] database question

2001-11-29 Thread Jani Mikkonen
> select whatever from articles where textlines regexp "^\Sbingo\S$" Again, that would fail if the word 'bingo' is and the end of the sentence. Allthou i realized my own example doesnt work either in that case. Best way would be remove all characters like ,.!? and and split the string into words.

RE: [PHP] Re: database question

2001-11-29 Thread Jani Mikkonen
; would translate to "I WANT TO BINGO, WOULD YOU WANT TO COME ?" -> would translate to "I,WANT,TO,,,BINGO,,WOULD,YOU,WANT,TO,COME,?" And result for find_in_set for this string would be 6 so it would match.. -- | ,_, Jani Mikkonen, bofh and proud of it, +3584567

Re: [PHP] Re: database question

2001-11-29 Thread Jani Mikkonen
nd - doesn't matter what comes after Yes, which means that all these following examples would lead to match: abingo bingob abingob So, this might lead to unwanted match.. -- | ,_, Jani Mikkonen, bofh and proud of it, +358456700349 |(O,O) http://www.mikkonen.org

Re: [PHP] mysql pconnect voes

2001-11-29 Thread Jani Mikkonen
ted most of the stuff on our site to servlets because php doesnt just do what we need in same places. > -- > jani mikkonen wrote: > > > Im managing a really crowded webservers. We have article system implemented > > in php and backend db is mysql (not my first choise but hey

[PHP] mysql pconnect voes

2001-11-29 Thread jani mikkonen
Im managing a really crowded webservers. We have article system implemented in php and backend db is mysql (not my first choise but hey, it does the job) Few version numbers: PHP: 4.0.6 (Self compiled, w/ gcc in solaris8) Mysql: 3.23.24 (Self compiled, w/ gcc in solaris8, ok, not the latest stab