php-general Digest 9 Nov 2006 11:12:46 -0000 Issue 4449

2006-11-09 Thread php-general-digest-help
php-general Digest 9 Nov 2006 11:12:46 - Issue 4449 Topics (messages 244409 through 244424): generate key with subjectAltName? 244409 by: Markus Krause Re: DLL error 244410 by: João Cândido de Souza Neto Re: php.ini and .htaccess not working for php parameters

php-general Digest 9 Nov 2006 23:26:58 -0000 Issue 4450

2006-11-09 Thread php-general-digest-help
php-general Digest 9 Nov 2006 23:26:58 - Issue 4450 Topics (messages 244425 through 244452): problem with imagestring() 244425 by: Piotr Sulecki Re: DLL error 244426 by: Robert Hicks Re: Time-Zone juggling 244427 by: David Giragosian 244430 by: M.Sokolewicz

RE: [PHP] php.ini and .htaccess not working for php parameters

2006-11-09 Thread Ford, Mike
On 08 November 2006 23:04, James Tu wrote: Sorry...it was my own sillyness. After confirming that the .htaccess file was indeed setting the include_path directory, it turns out that the class file was renamed and PHP could not find it. I'm surprised that PHP doesn't complain that it

[PHP] problem with imagestring()

2006-11-09 Thread Piotr Sulecki
Ave! I have a problem with imagestring() function. It is supposed to put a string onto an image. The problem is, it's working has been silently changed, and I don't know when or why, or how I can get the old behaviour back. I'm trying to put an ISO 8859-2 string onto the image, but I get an ISO

[PHP] Re: DLL error

2006-11-09 Thread Robert Hicks
Windows users will need libraries with version at least 10 to use the php_oci8.dll. I cannot install that client. João Cândido de Souza Neto wrote: It isn´t a problem. Take a look at this link and you will see that you must have more than the php_oci8.dll.

Re: [PHP] Time-Zone juggling

2006-11-09 Thread David Giragosian
On 11/8/06, Travis Doherty [EMAIL PROTECTED] wrote: David Giragosian wrote: Does Daylight Savings alter Zulu time? (I'm guessing yes). How did the military deal with that? I use a date-time field as a primary key in db tables that get an insert a minute. I had to jump through a number of

[PHP] Zend

2006-11-09 Thread Alain Roger
Hi, For my work, i bought Zend studio 5.2 and for sure when i installed it, it modified the path for the PHP.INI file to its local version. after checking the content of the php.ini file from Zend distribution, it seems to be a different version than the one from official PHP. I would like to

RE: [PHP] Zend

2006-11-09 Thread Ray Hauge
It sounds more like you installed the Zend Platform with the developer's license that comes with Zend Studio. If you're on linux it creates a symlink and it always backs up your current INI file, but when you install Zend Platform, it adds the sections needed for debugging, etc. at the end of

Re: [PHP] Time-Zone juggling

2006-11-09 Thread M.Sokolewicz
David Giragosian wrote: On 11/8/06, Travis Doherty [EMAIL PROTECTED] wrote: David Giragosian wrote: Does Daylight Savings alter Zulu time? (I'm guessing yes). How did the military deal with that? I use a date-time field as a primary key in db tables that get an insert a minute. I had

[PHP] http_build_query ... argh

2006-11-09 Thread Jochem Maas
hi guys, long story ahead - the question at the end concerns whether the solution to my problem is obviously flawed (as far as anyone can see) and whether there might be a better/faster solution apparently http_build_query() has been 'fixed' so that it now urlencodes square brackets (and if

Re: [PHP] Time-Zone juggling

2006-11-09 Thread David Giragosian
On 11/9/06, M.Sokolewicz [EMAIL PROTECTED] wrote: David Giragosian wrote: On 11/8/06, Travis Doherty [EMAIL PROTECTED] wrote: David Giragosian wrote: Does Daylight Savings alter Zulu time? (I'm guessing yes). How did the military deal with that? I use a date-time field as a primary

Re: [PHP] http_build_query ... argh

2006-11-09 Thread Arpad Ray
Jochem Maas wrote: function inputPostQueryUnBorker($s) { return preg_replace('#(\?|(?:amp;)?)([^=]*)=#eU', '\\1'.str_replace(array('%5B','%5D'), array('[',']'), '\\2').'=', $s); } so how bad is it This is a bit more concise. I

[PHP] Re: Simple logic but can't get it right

2006-11-09 Thread Myron Turner
You are testing unset variables. This will work as you expect: ?php $a = 1; $id = outside; if ($a == 0) { $b = 1; $id = a; } elseif (isset($b) $b == 0) { $c =

[PHP] Determining what's installed

2006-11-09 Thread tedd
Hi gang: I'm sure this is an obvious question to most, but how does one determine what software is installed on a virtual host? You see, I want to know if ImageMagick (MagicWand for PHP) is installed on my host or not. I've tried using cPannel and phpinfo, but neither mention it -- however

[PHP] php.ini

2006-11-09 Thread Alain Roger
Hi, everytime i install PHP, my php.ini must be installed in C:\windows\ folder. How can i do to force system to read php.ini file from C:\PHP\ folder only ? thanks. Alain

Re: [PHP] Determining what's installed

2006-11-09 Thread Darrell Brogdon
phpinfo() should mention it if its installed. Also, just try calling one of the ImageMagick functions in a test script. If its not installed PHP will complain accordingly. -D On Nov 9, 2006, at 11:02 AM, tedd wrote: Hi gang: I'm sure this is an obvious question to most, but how does

[PHP] Staff log-in

2006-11-09 Thread Brynjar Guðnason
Hi, I need a little php script. Staff log in by entering username and password and then the next time they enter their username and password they log out. The script has to take down the time they log in and log out. Then I should be able to read old log-ins and log-outs. I unfortunately can't

[PHP] Re: php.ini

2006-11-09 Thread zerof
Alain Roger escreveu: Hi, everytime i install PHP, my php.ini must be installed in C:\windows\ folder. How can i do to force system to read php.ini file from C:\PHP\ folder only ? thanks. Alain You need to put the c:\php folder in the path of the system. Control Panel OPEN

Re: [PHP] Staff log-in

2006-11-09 Thread John Nichel
Brynjar Guðnason wrote: Hi, I need a little php script. Staff log in by entering username and password and then the next time they enter their username and password they log out. The script has to take down the time they log in and log out. Then I should be able to read old log-ins and

Re: [PHP] Staff log-in

2006-11-09 Thread Robert Cummings
On Thu, 2006-11-09 at 14:28 -0500, John Nichel wrote: Brynjar Guðnason wrote: Hi, I need a little php script. Staff log in by entering username and password and then the next time they enter their username and password they log out. The script has to take down the time they log in and

Re: [PHP] Staff log-in

2006-11-09 Thread John Nichel
Brynjar Guðnason wrote: Why did you bother to answer me ? Please send all your replies to the list. 1) You asked if anyone could do this. 2) I gave you my rates. 3) Non-profit companies pay for services. 4) If you didn't want to pay, you should have specified that a) If you want

[PHP] Re: [SOAP] problems with SOAP-PHP5 and heritage

2006-11-09 Thread Ronaldo Reis Junior
Em Quarta 08 Novembro 2006 00:48, Adam Ashley escreveu: On Tue, 7 Nov 2006 10:06:28 -0200, Ronaldo Reis Junior [EMAIL PROTECTED] wrote: Hi, I'm making a webservice using SOAP-PHP5. It working fine. But when I use a method in a class that use a heritage, it fails. The class wrok fine

[PHP] gethostbyname failing?

2006-11-09 Thread Henrik Hudson
Hey List- running: apache 2.2, freebsd 6.2 and php 4.4.4 I've got a wierd issue. I've got a script that does this: $domain = www.google.com; $ip = gethostbyname($domain); echo $ip; $hostname = gethostbyaddr(72.14.205.99); echo $hostname; Using dig, ping, etc... to confirm name resolution is

Re: [PHP] gethostbyname failing?

2006-11-09 Thread Jürgen Wind
Henrik Hudson wrote: Hey List- running: apache 2.2, freebsd 6.2 and php 4.4.4 I've got a wierd issue. I've got a script that does this: $domain = www.google.com; $ip = gethostbyname($domain); echo $ip; $hostname = gethostbyaddr(72.14.205.99); echo $hostname; Using dig,

Re: [PHP] gethostbyname failing?

2006-11-09 Thread Henrik Hudson
On Thursday 09 November 2006 15:56, Jürgen Wind [EMAIL PROTECTED] sent a missive stating: Henrik Hudson wrote: Hey List- running: apache 2.2, freebsd 6.2 and php 4.4.4 I've got a wierd issue. I've got a script that does this: $domain = www.google.com; $ip =

Re: [PHP] Re: php.ini

2006-11-09 Thread Matt
Adding the line: PHPINIDir c:/php/ to my Apache configuration file has worked for me on Windows installs, assuming that you are using Apache. On 11/9/06, zerof [EMAIL PROTECTED] wrote: Alain Roger escreveu: Hi, everytime i install PHP, my php.ini must be installed in C:\windows\ folder.

Re: [PHP] gethostbyname failing?

2006-11-09 Thread Google Kreme
On 09 Nov 2006, at 15:09 , Henrik Hudson wrote: On Thursday 09 November 2006 15:56, Jürgen Wind [EMAIL PROTECTED] sent a missive stating: ?php echo 'pre'; print_r( gethostbynamel('www.google.com') ); ? Yes, I get nothing when running inside Apache. http://akane.covisp.net/~kreme/test.php

Re: [PHP] Staff log-in

2006-11-09 Thread Google Kreme
On 09 Nov 2006, at 12:51 , Robert Cummings wrote: On Thu, 2006-11-09 at 14:28 -0500, John Nichel wrote: Brynjar Guðnason wrote: can anyone of you do this for me? It's for a small non-profit orginisation. $80.00 an hour. 8 hour minimum. I am a *for-profit* individual. Didn't you charge

Re: [PHP] gethostbyname failing?

2006-11-09 Thread Jürgen Wind
maybe this is related: from http://de3.php.net/manual/en/function.gethostbyname.php (user comments) christian at SPAM at IS at DEAD at MEAT at karg dot org 01-Apr-2003 02:12 I had difficulty getting gethostbyname to work under OpenBSD 3.2 and Apache, until I discovered that the default Apache

Re: [PHP] Re: php.ini

2006-11-09 Thread zerof
Matt escreveu: Adding the line: PHPINIDir c:/php/ to my Apache configuration file has worked for me on Windows installs, assuming that you are using Apache. -- OH yes, in Apache 2.x this is also necessary. - zerof -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] php.ini

2006-11-09 Thread Jürgen Wind
PHP is not supposed to look for php.ini in PATH. (from http://bugs.php.net/bug.php?id=39432) zerof wrote: Alain Roger escreveu: Hi, everytime i install PHP, my php.ini must be installed in C:\windows\ folder. How can i do to force system to read php.ini file from C:\PHP\ folder only

Re: [PHP] gethostbyname failing?

2006-11-09 Thread Henrik Hudson
Thanks for the input everyone. It seems it Apache itself can't do lookups either (ie: Hostnamelookups On ..doesn't actually do anything..so, going to hunt down the issues inside Apache...) funny thing is I've got a test server with the same exact port versions and almost identical config

Re: [PHP] Staff log-in

2006-11-09 Thread benifactor
give us (the list) the website address. - Original Message - From: Brynjar Guðnason [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Thursday, November 09, 2006 11:16 AM Subject: [PHP] Staff log-in Hi, I need a little php script. Staff log in by entering username and password

Re: [PHP] http_build_query ... argh

2006-11-09 Thread Larry Garfield
On Thursday 09 November 2006 10:22, Jochem Maas wrote: apparently http_build_query() has been 'fixed' so that it now urlencodes square brackets (and if you have never used square brackets in a url pointing a php script then your obviously new here ;-) this is fine - apart from the fact that

[PHP] PHP, MySQL- Interested?

2006-11-09 Thread John Sladek
Hello, I'm looking for people that like messing around with PHP and MySql. I've started a project to help myself learn more about PHP, MySql. The program basically takes database infomation (username, password, database name and location) as input and then uses that info to create php

Re: [PHP] gethostbyname failing?

2006-11-09 Thread Chris
Henrik Hudson wrote: Thanks for the input everyone. It seems it Apache itself can't do lookups either (ie: Hostnamelookups On ..doesn't actually do anything..so, going to hunt down the issues inside Apache...) funny thing is I've got a test server with the same exact port versions and