Re: [PHP-DB] Oracle-PHP (contd.)

2001-06-24 Thread Philippe Saladin
Are you sure you need an environment variable to store that? if yes, this script should do the trick : putenv("TNS_ADMIN=/ora1/app/oracle/product/8.1.6/network/admin"); --- $tns = getenv(TNS_ADMIN); echo $tns; Regards, Philippe "Vandana" <[EMAIL PROTECTED]> a écrit dans le message news: [EMAIL P

[PHP-DB] why mysql.com down

2001-06-24 Thread TomazSa
Part of the VA Linux / OSDN / Exodus outage, there's a story on /. about it: http://slashdot.org/articles/01/06/24/2246202.shtml lp, tomaz

Re: [PHP-DB] AOL and Cookies (sessions) HELP!

2001-06-24 Thread Joris Kluivers
off topic, set a cookie at one page, redirect to the other, found a cookie: -> redirect to the login no cookie: -> redirect to the instructions page Joris - Original Message - From: "Adv. Systems Design" <[EMAIL PROTECTED]> To: <> Sent: Sunday, June 24, 2001 9:21 PM Subject: [PHP-DB]

[PHP-DB] AOL and Cookies (sessions) HELP!

2001-06-24 Thread Adv. Systems Design
I have a login procedure using php4 sessions that craps out when people try to login using the AOL browser...basically the AOL browser just ignores the cookie (due to a proxy server blocking it I think) and the user can't log in and they don't get any feedback about it either...they are just prese

Re: [PHP-DB] Subtracting times?

2001-06-24 Thread Hugh Bothwell
""Matthew Cothier"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I really need help here. What I am trying to do is the following. Which database are you using? What format is it returning the date and time in (string or integer)? It may be simpler to

Re: [PHP-DB] News(article) code that using PHP and MySQL

2001-06-24 Thread Andreas D. Landmark
At 24.06.2001 13:30, you wrote: >Could anyone suggest the free news(article) code that works fine? >I want to learn how it work . >thank you What about posting to the correct list? (ie. do you see the "DB" in the listname?) For some more info on your post, check www.freshmeat.net (or the links

Re: [PHP-DB] flash

2001-06-24 Thread Andreas D. Landmark
At 24.06.2001 19:40, you wrote: >Sharmad Naik ([EMAIL PROTECTED]) wrote: > > I know that this mail is not to be posted on this list > >So, then why'd you post it? You beat me to it, but to answer the original poster, you COULD have checked the php.net website _before_ posting to the _wrong_ list!

Re: [PHP-DB] Compile MySQL 3.23.39 problem after installing PHP 4.06

2001-06-24 Thread Andreas D. Landmark
At 24.06.2001 09:07, you wrote: >Hi: > After I have successfully installed PHP 4.06 then I want to upgrade my >MySQL 3.23.37 to 3.23.39 using source method. > >After downloading and tar, >Then I type "./configure --prefix=/usr/local/mysql" > >During make process.Error occurs.Here's some warnin

Re: [PHP-DB] flash

2001-06-24 Thread Stephen van Egmond
Sharmad Naik ([EMAIL PROTECTED]) wrote: > I know that this mail is not to be posted on this list So, then why'd you post it? -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list admini

Re: [PHP-DB] number of occurences

2001-06-24 Thread Hugh Bothwell
> $number = 123782301247832; > Now, I'd like to check how many times the letter 1 occurs in there... Try this: $number = "123782301247832"; $res = count_chars($number, 1); $outstr = ""; foreach($res as $key => $val) { if ($outstr != "") $outstr .= ", ";

Re: [PHP-DB] mysql.com

2001-06-24 Thread Duncan Hill
On Sun, 24 Jun 2001, TomazSa wrote: > anybody now why www.mysql.com doesn't work? > > lp, tomaz A simple traceroute reveals that somewhere in the Exodus network, there is a route outage. -- Sapere aude My mind not only wanders, it sometimes leaves completely. -- PHP Database Mailing List (

[PHP-DB] News(article) code that using PHP and MySQL

2001-06-24 Thread jatuporn
Could anyone suggest the free news(article) code that works fine? I want to learn how it work . thank you -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the lis

Re: [PHP-DB] number of occurences

2001-06-24 Thread Serdar Soydemir
Hi, See Manual: http://www.php.net/manual/pt_BR/function.substr-count.php -- Serdar www.php.org.tr ""Raphael Pirker"" <[EMAIL PROTECTED]>, haber iletisinde sunlari yazdi:[EMAIL PROTECTED] Hi, I have a long number which I get out of a database. $number = 123782301247832; Now, I'd like to ch

Re: [PHP-DB] Apache_1.3.20 with PHP and mysql 3.23.32

2001-06-24 Thread Serdar Soydemir
Hi Eyal, Version 4.0.4 has an older built-in mysql client ( i thaught it was 3.22.32 or 3.23.22 ) . This version has problems with some character sets different from latin1. PHP-4.0.5 and 4.0.6 contains a newer built-in version ( 3.23.32 ) which works without problem. I recommend you to switch to

[PHP-DB] Apache_1.3.20 with PHP and mysql 3.23.32

2001-06-24 Thread Eyal Rif
Hi, After Compiling PHP 4.0.4pl1 with Apache_1.3.20 and trying to connect to an mysql 3.23.32, I am getting the following error: Warning: MySQL Connection Failed: Can't initialize character set 12 (path: default) I have compiled the PHP with the --with-mysql option. I also compiled the PHP w

[PHP-DB] mysql.com

2001-06-24 Thread TomazSa
anybody now why www.mysql.com doesn't work? lp, tomaz

[PHP-DB] number of occurences

2001-06-24 Thread Raphael Pirker
Hi, I have a long number which I get out of a database. $number = 123782301247832; Now, I'd like to check how many times the letter 1 occurs in there... $occured = check_occurance(1,$number); $occured would now return "2" or somehow like that... is there a predefined function for that and i

[PHP-DB] flash

2001-06-24 Thread Sharmad Naik
I know that this mail is not to be posted on this list but in case if anyone can pls help, Can anyone tell what's the name of the package for flash with php and where to locate it -Thanks -- Donot rely on the Operating System which don't have any sources for.

[PHP-DB] Compile MySQL 3.23.39 problem after installing PHP 4.06

2001-06-24 Thread Tom Cheung
Hi: After I have successfully installed PHP 4.06 then I want to upgrade my MySQL 3.23.37 to 3.23.39 using source method. After downloading and tar, Then I type "./configure --prefix=/usr/local/mysql" During make process.Error occurs.Here's some warning message: In file included from /usr/inc