php-windows Digest 6 Nov 2003 06:30:52 -0000 Issue 1986

2003-11-05 Thread php-windows-digest-help
php-windows Digest 6 Nov 2003 06:30:52 - Issue 1986 Topics (messages 22007 through 22011): Changing the format of a date 22007 by: Herhuth, Ron 22008 by: Ignatius Reilly using result of function in same line 22009 by: Igor Belagorudsky Two Dimm. Arrays 22010

[PHP-WIN] BLOB, LONVARCHAR FROM DB2

2003-11-05 Thread Walter Gyr
Hi I cannot select or update blob or longvarchar columns on a ibm db2 DB. I use odbc on php 4.3.0 and win2000. By a select the data are not complete (only first bytes) Has anybody a solution for this problem ? walter -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http:

[PHP-WIN] Two Dimm. Arrays

2003-11-05 Thread Muhammad Imran
How I can populate and restore the two dimensional array dynamically i.e under for/while loop. This is used in pear db but not directly link to just pear. Below is the code in which array is build manually. array( array(1, 'one', 'en'), array(2, 'two', 'to'),

[PHP-WIN] using result of function in same line

2003-11-05 Thread Igor Belagorudsky
ok here's the problem - in some languages (like javascript or c# for instance) you could use the results of a function in same line as your call. say you have a function foo that returns an array, you can do something like print foo()[4]; this will print the 5th element of whatever array foo retu

Re: [PHP-WIN] Changing the format of a date

2003-11-05 Thread Ignatius Reilly
$months = array( "Jan" => "01", ... ) ; $str = "Jun 15 1956" ; $str = explode( " ", $str ) ; $str = $months[$str[0]] ."/".$str[1] ."/". $str[2] ; HTH Ignatius _ - Original Message - From: "Herhuth, Ron" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, N

[PHP-WIN] Changing the format of a date

2003-11-05 Thread Herhuth, Ron
I have a current date in the format: Jun 15 1956 I need to convert it to: 06/15/1956 Is there a quick way to do this in PHP? Ron -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

php-windows Digest 5 Nov 2003 18:00:50 -0000 Issue 1985

2003-11-05 Thread php-windows-digest-help
php-windows Digest 5 Nov 2003 18:00:50 - Issue 1985 Topics (messages 21984 through 22006): Re: PHP4 + windows 2003 server 21984 by: Nick H. -- Network Operations 21985 by: karthikeyan Re: PHP4 + windows 2003 server] 21986 by: karthikeyan prob in qmailadmin 2

Re: [PHP-WIN] Why is phpinfo giving me these version numbers?

2003-11-05 Thread Eric COLINET
Hi ! I'm not familiar with the services of windows but for: - The first question: The version number shown is the version number of the client API ie the part of the code that was compiled with PHP (ext/mysql). under windows the mysql librairy that is bundled with the PHP di

[PHP-WIN] Why is phpinfo giving me these version numbers?

2003-11-05 Thread Roderick Martin
I had PHP 4 and MySQL 3 installed on a Windows NT4 server running Netscape Enterprise. Two weeks ago, I went in, wiped out all traces I could find of MySQL and installed MySQL 4. Everything went okay except it refuses to run as a service. Today I ran phpinfo and under mysql, I have these values

Re: [PHP-WIN] vars from page to page

2003-11-05 Thread Piotr Pluciennik
The default config for new version of php is with register_globals set to off. This is because of security reason. You have your variable in $HTTP_GET_VARS['action'] or in $_GET['action'] (depends on php ver you use). Consult manual at http://www.php.net/manual/en/security.registerglobals.php HTH

Re: [PHP-WIN] vars from page to page

2003-11-05 Thread Aidal
Yes this is properbly the right way to do it when register_globals is Off, which it should be for severel reasons I guess. Thanks "Ignatius Reilly" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Try $_REQUEST['msg'] instead of $msg > > This is the proper way to access form data. >

[PHP-WIN] Re: vars from page to page

2003-11-05 Thread Aidal
Nevermind - I'm a noob register_globals = on /nod /nod "Aidal" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi NG. > > I have a little problem with a new install of php/apache/win2k which has to > do with the setup I think. > > I have made a webpage on a local machine php/apache

Re: [PHP-WIN] vars from page to page

2003-11-05 Thread Ignatius Reilly
Try $_REQUEST['msg'] instead of $msg This is the proper way to access form data. _ - Original Message - From: "Aidal" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 05, 2003 3:17 PM Subject: [PHP-WIN] vars from page to page > Hi NG. > > I ha

[PHP-WIN] w2k3 and userdir

2003-11-05 Thread Probst Robert
i have installed apache 2.0 on a w2k3 domain-controller and tried to use the userdir directive in httpd.conf UserDir "web" AllowOverride FileInfo AuthConfig Limit Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec Order allow,deny Allow from all

[PHP-WIN] vars from page to page

2003-11-05 Thread Aidal
Hi NG. I have a little problem with a new install of php/apache/win2k which has to do with the setup I think. I have made a webpage on a local machine php/apache/win98 which runs perfectly. But when I transfer it to the new installation it seems that vars doesn't travel between pages. As an exam

Re: [PHP-WIN] Pear ::DB

2003-11-05 Thread Ignatius Reilly
For PEAR-related questions, you probably will find better support on the PEAR mailing lists (php.pear.general), which already has a large, helpful archive. _ - Original Message - From: "Muhammad Imran" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, Nov

[PHP-WIN] Pear ::DB

2003-11-05 Thread Muhammad Imran
I am using Pear::DB package, Can anybody help me if I have array of values and I want to prepare the insert statements through those arrays. Below is the example which I find on every site but not found what I need, please help me. Thank you, Imran $alldata = array( array(1, 'one', 'en'),

Re: [PHP-WIN] R: [PHP-WIN] best php editor?

2003-11-05 Thread Francesco
I think what you say about the GUI, AWT, etc. is true, but in my experience 99% of Java applications, not only client, but also server, are slow. And especially with something I use so often as an editor, the more speed I have the better - even if it is load time, exit time, etc. Oh, and BTW, VB is

RE: [PHP-WIN] R: [PHP-WIN] best php editor?

2003-11-05 Thread David Felton
I feel I need to stand up for Java a little here. Java itself it not particularly slow. Lagginess in GUI applications is often more the fault of developers who don't understand threading and the Java AWT event-dispatch/repainting scheme, who block the GUI and create apps that appear slow or prone

Re: [PHP-WIN] R: [PHP-WIN] best php editor?

2003-11-05 Thread Svensson, B.A.T. (HKG)
Aha, I see your point, the windows update/refresh speed. But that's a bottleneck most interpreted languages has. A GUI written in VB is terrible for instance. But I wasn't aware that Java generally was that "bad" to? Anyhow, I agree that it is indeed annoying with a slow editor, but my question wa

Re: [PHP-WIN] R: [PHP-WIN] best php editor?

2003-11-05 Thread Francesco
I meant: try an editor written in Java. All applications I tried written in Java were paintakingsly slow. And I know many editors are written with it. "B.A.T. Svensson" <[EMAIL PROTECTED]> ha scritto nel messaggio news:[EMAIL PROTECTED] > I don't do development with Java, nor UltraEdit, so please e

Re: [PHP-WIN] R: [PHP-WIN] best php editor?

2003-11-05 Thread Svensson, B.A.T. (HKG)
I don't do development with Java, nor UltraEdit, so please enlighten me. On Wed, 2003-11-05 at 12:05, Francesco wrote: > Try something written in Java, then you tell me... > > "B.A.T. Svensson" <> ha scritto nel messaggio > > Why do a text editor need to be fast??? > > > > > > On Tue, 2003-11-04

Re: [PHP-WIN] R: [PHP-WIN] best php editor?

2003-11-05 Thread Francesco
Try something written in Java, then you tell me... "B.A.T. Svensson" <[EMAIL PROTECTED]> ha scritto nel messaggio news:[EMAIL PROTECTED] > Why do a text editor need to be fast??? > > > On Tue, 2003-11-04 at 17:33, Francesco wrote: > > Or Ultraedit. Super-fast. > > > > -Messaggio originale-

Re: [PHP-WIN] R: [PHP-WIN] best php editor?

2003-11-05 Thread Ignatius Reilly
Fast to type, maybe ;-) Reminds me that this list once hosted an epic brawl about Notepad... _ - Original Message - From: "Svensson, B.A.T. (HKG)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 05, 2003 11:49 AM Subject: Re: [PHP-WIN] R: [PHP

Re: [PHP-WIN] R: [PHP-WIN] best php editor?

2003-11-05 Thread Svensson, B.A.T. (HKG)
Why do a text editor need to be fast??? On Tue, 2003-11-04 at 17:33, Francesco wrote: > Or Ultraedit. Super-fast. > > -Messaggio originale- > Da: Luis Moreira [mailto:[EMAIL PROTECTED] > Inviato: martedà 4 novembre 2003 17.28 > A: Disko_kex; 'Bobo Wieland'; [EMAIL PROTECTED] > Oggetto:

Re: [PHP-WIN] prob in qmailadmin

2003-11-05 Thread Nick H. -- Network Operations
This is a PHP-WINDOWS list. Not a qmail for RedHat 9 list. Please consult the proper mailing list. Thank you. Regards, Nick H. Network Operations Center [EMAIL PROTECTED] Please rate my performance! http://www.supportteam.net/rate.php3 Please submit all new support requests to http://ticketm

[PHP-WIN] prob in qmailadmin

2003-11-05 Thread Rinku Shivnani
Dear all, I am trying to configure qmail. I have installed qmail and also qmail admin. I am using rh9, and my all setting are default settings. But when read all manual qmailadmin, It's default executable doesn't display the login screen for administration. It is actually cgi script. And my htt