php-windows Digest 5 Nov 2003 18:00:50 -0000 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
        21987 by: Rinku Shivnani
        21988 by: Nick H. -- Network Operations

Re: R: [PHP-WIN] best php editor?
        21989 by: Svensson, B.A.T. (HKG)
        21990 by: Ignatius Reilly
        21991 by: Francesco
        21992 by: Svensson, B.A.T. (HKG)
        21993 by: Francesco
        21994 by: Svensson, B.A.T. (HKG)
        21995 by: David Felton
        21996 by: Francesco

Pear ::DB
        21997 by: Muhammad Imran
        21998 by: Ignatius Reilly

vars from page to page
        21999 by: Aidal
        22001 by: Ignatius Reilly
        22002 by: Aidal
        22003 by: Aidal
        22004 by: Piotr Pluciennik

w2k3 and userdir
        22000 by: Probst Robert

Why is phpinfo giving me these version numbers?
        22005 by: Roderick Martin
        22006 by: Eric COLINET

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
Read a little closer on the error.

> (Warning: session_start() [function.session-start]: open
> (/tmp\sess_25db9216cc993bf4a6c2051981a339f5, O_RDWR) failed:


It's trying to find /tmp, which does not exsit under any M$ filesystem that
I am aware of.  Try the .ini and be sure to specify your path within that
ini.  Then, it should at least try to start working and give you a valid
path to give permissions to.



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://ticketmonster.hostingsupport.com/
-------------------------------------------
Privileged/Confidential Information may be contained in this message.  If
you are not the addressee indicated in this message (or responsible for
delivery of the message to such person), you may not copy or deliver this
message to anyone.  In such case, you should destroy this message and kindly
notify the sender by reply email.  Please advise immediately if you or your
employer do not consent to Internet email for messages of this kind.
Opinions, conclusions and other information in this message that do not
relate to the official business of my firm shall be understood as neither
given nor endorsed by it.

----- Original Message ----- 
From: "Piotr Pluciennik" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 03, 2003 12:38 PM
Subject: Re: [PHP-WIN] PHP4 + windows 2003 server


> Hi,
>
> have you got all directories and rights for them to store session
> variables on your server (in your example this is tmp directory)? Your
> error message means that php cannot write/access the session file.
>
> HTH
> Piotr
>
> servidor wrote:
>
> > Hi!
> >
> > PHP4 + windows 2003 server + Apache4 works fine??
> > I have trouble with sesions,
> > *********************************************
> > (Warning: session_start() [function.session-start]: open
> > (/tmp\sess_25db9216cc993bf4a6c2051981a339f5, O_RDWR) failed:
> > *********************************************
> >
> > I test in Windows XP and all is OK.
> >
> > thanks
> >
> > Lazaro
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

--- End Message ---
--- Begin Message --- Change the

session.save_path in php.ini file

to some temp directory of ur windows system.

JAI SAIRAM

--
Regards
Karthikeyan.S

Sr. Technical Project Associate
NatureSoft Pvt. Ltd.
11/20 Appu Street 2nd Lane, Mylapore
Chennai  600004
India
tel: +91 44 2461 7193
fax: +91 44 2494 1474
http://www.nature-soft.com

--- End Message ---
--- Begin Message ---

-- Regards Karthikeyan.S

Sr. Technical Project Associate
NatureSoft Pvt. Ltd.
11/20 Appu Street 2nd Lane, Mylapore
Chennai  600004
India
tel: +91 44 2461 7193
fax: +91 44 2494 1474
http://www.nature-soft.com

--- Begin Message ---
Not my error.  The ini under 2003 is found in C:\WIndows\system32\inetsrv, not just C;\windows. Without the ini in the right place, it wont work.  Once the INI is in the right place, it'll work fine.
 
 

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://ticketmonster.hostingsupport.com/
-------------------------------------------
Privileged/Confidential Information may be contained in this message.  If
you are not the addressee indicated in this message (or responsible for
delivery of the message to such person), you may not copy or deliver this
message to anyone.  In such case, you should destroy this message and kindly
notify the sender by reply email.  Please advise immediately if you or your
employer do not consent to Internet email for messages of this kind.
Opinions, conclusions and other information in this message that do not
relate to the official business of my firm shall be understood as neither
given nor endorsed by it.
----- Original Message -----
Sent: Wednesday, November 05, 2003 4:51 AM
Subject: Re: [PHP-WIN] PHP4 + windows 2003 server

Change the

session.save_path in php.ini file

to some temp directory of ur windows system.

JAI SAIRAM

Nick H. -- Network Operations wrote:
Read a little closer on the error.

  
(Warning: session_start() [function.session-start]: open
(/tmp\sess_25db9216cc993bf4a6c2051981a339f5, O_RDWR) failed:
    


It's trying to find /tmp, which does not exsit under any M$ filesystem that
I am aware of.  Try the .ini and be sure to specify your path within that
ini.  Then, it should at least try to start working and give you a valid
path to give permissions to.



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://ticketmonster.hostingsupport.com/
-------------------------------------------
Privileged/Confidential Information may be contained in this message.  If
you are not the addressee indicated in this message (or responsible for
delivery of the message to such person), you may not copy or deliver this
message to anyone.  In such case, you should destroy this message and kindly
notify the sender by reply email.  Please advise immediately if you or your
employer do not consent to Internet email for messages of this kind.
Opinions, conclusions and other information in this message that do not
relate to the official business of my firm shall be understood as neither
given nor endorsed by it.

----- Original Message ----- 
From: "Piotr Pluciennik" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 03, 2003 12:38 PM
Subject: Re: [PHP-WIN] PHP4 + windows 2003 server


  
Hi,

have you got all directories and rights for them to store session
variables on your server (in your example this is tmp directory)? Your
error message means that php cannot write/access the session file.

HTH
Piotr

servidor wrote:

    
Hi!

PHP4 + windows 2003 server + Apache4 works fine??
I have trouble with sesions,
*********************************************
(Warning: session_start() [function.session-start]: open
(/tmp\sess_25db9216cc993bf4a6c2051981a339f5, O_RDWR) failed:
*********************************************

I test in Windows XP and all is OK.

thanks

Lazaro

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
      
-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
    

  


-- 
Regards
Karthikeyan.S
 
Sr. Technical Project Associate
NatureSoft Pvt. Ltd.
11/20 Appu Street 2nd Lane, Mylapore
Chennai  600004
India
tel: +91 44 2461 7193
fax: +91 44 2494 1474
http://www.nature-soft.com

--- End Message ---

--- End Message ---
--- Begin Message ---
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 httpd conf shows that it supports cgi. 

I am stuck since no display is generated from executable of qadmin.

is there any solution?????

--- End Message ---
--- Begin Message ---
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://ticketmonster.hostingsupport.com/
-------------------------------------------
Privileged/Confidential Information may be contained in this message.  If
you are not the addressee indicated in this message (or responsible for
delivery of the message to such person), you may not copy or deliver this
message to anyone.  In such case, you should destroy this message and kindly
notify the sender by reply email.  Please advise immediately if you or your
employer do not consent to Internet email for messages of this kind.
Opinions, conclusions and other information in this message that do not
relate to the official business of my firm shall be understood as neither
given nor endorsed by it.

----- Original Message ----- 
From: "Rinku Shivnani" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 05, 2003 1:30 AM
Subject: [PHP-WIN] prob in qmailadmin


> 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 httpd conf shows that it supports cgi.
>
> I am stuck since no display is generated from executable of qadmin.
>
> is there any solution?????
>
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

--- End Message ---
--- Begin Message ---
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] best php editor?
> 
> There is also PHPEDIT and TEXTPAD (this one at http://www.textpad.com/)
> 
> 
> Luis
> 

--- End Message ---
--- Begin Message ---
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-WIN] best php editor?


> 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] best php editor?
> >
> > There is also PHPEDIT and TEXTPAD (this one at http://www.textpad.com/)
> >
> >
> > Luis
> >
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message ---
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-----
> > Da: Luis Moreira [mailto:[EMAIL PROTECTED]
> > Inviato: marted́ 4 novembre 2003 17.28
> > A: Disko_kex; 'Bobo Wieland'; [EMAIL PROTECTED]
> > Oggetto: Re: [PHP-WIN] best php editor?
> >
> > There is also PHPEDIT and TEXTPAD (this one at http://www.textpad.com/)
> >
> >
> > Luis
> >

--- End Message ---
--- Begin Message ---
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 at 17:33, Francesco wrote:
> > > Or Ultraedit. Super-fast.
> > >
> > > -----Messaggio originale-----
> > > Da: Luis Moreira [mailto:]
> > > Inviato: martedi 4 novembre 2003 17.28
> > > A: Disko_kex; 'Bobo Wieland'; [EMAIL PROTECTED]
> > > Oggetto: Re: [PHP-WIN] best php editor?
> > >
> > > There is also PHPEDIT and TEXTPAD (this one at http://www.textpad.com/)
> > >
> > >
> > > Luis
> > >

--- End Message ---
--- Begin Message ---
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 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 at 17:33, Francesco wrote:
> > > > Or Ultraedit. Super-fast.
> > > >
> > > > -----Messaggio originale-----
> > > > Da: Luis Moreira [mailto:]
> > > > Inviato: martedi 4 novembre 2003 17.28
> > > > A: Disko_kex; 'Bobo Wieland'; [EMAIL PROTECTED]
> > > > Oggetto: Re: [PHP-WIN] best php editor?
> > > >
> > > > There is also PHPEDIT and TEXTPAD (this one at
http://www.textpad.com/)
> > > >
> > > >
> > > > Luis
> > > >

--- End Message ---
--- Begin Message ---
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 was about what possible could
be the point with a fast editor?

In my opinion an editor just need to be sufficient fast,
in other words "not slow". 


On Wed, 2003-11-05 at 12:29, Francesco wrote:
> 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"  ha scritto nel messaggio
> > 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 at 17:33, Francesco wrote:
> > > > > Or Ultraedit. Super-fast.
> > > > >
> > > > > -----Messaggio originale-----
> > > > > Da: Luis Moreira [mailto:]
> > > > > Inviato: martedi 4 novembre 2003 17.28
> > > > > A: Disko_kex; 'Bobo Wieland'; [EMAIL PROTECTED]
> > > > > Oggetto: Re: [PHP-WIN] best php editor?
> > > > >
> > > > > There is also PHPEDIT and TEXTPAD (this one at
> http://www.textpad.com/)
> > > > >
> > > > >
> > > > > Luis
> > > > >

--- End Message ---
--- Begin Message ---
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 to freezes. Also, as Java is often used for enterprise
/ nework apps network latency might be interpreted by the user as
performance problems, when really it's not.

-----Original Message-----
From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED]
Sent: 05 November 2003 11:43
To: Francescofrancescomarsanbmgc
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] R: [PHP-WIN] best php editor?


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 was about what possible could
be the point with a fast editor?

In my opinion an editor just need to be sufficient fast,
in other words "not slow". 


On Wed, 2003-11-05 at 12:29, Francesco wrote:
> 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"  ha scritto nel messaggio
> > 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 at 17:33, Francesco wrote:
> > > > > Or Ultraedit. Super-fast.
> > > > >
> > > > > -----Messaggio originale-----
> > > > > Da: Luis Moreira [mailto:]
> > > > > Inviato: martedi 4 novembre 2003 17.28
> > > > > A: Disko_kex; 'Bobo Wieland'; [EMAIL PROTECTED]
> > > > > Oggetto: Re: [PHP-WIN] best php editor?
> > > > >
> > > > > There is also PHPEDIT and TEXTPAD (this one at
> http://www.textpad.com/)
> > > > >
> > > > >
> > > > > Luis
> > > > >

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
**********************************************************************


--- End Message ---
--- Begin Message ---
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
even worst than Java, I'm with you on this one.
"David Felton" <[EMAIL PROTECTED]> ha scritto nel messaggio
news:[EMAIL PROTECTED]
> 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 to freezes. Also, as Java is often used for
enterprise
> / nework apps network latency might be interpreted by the user as
> performance problems, when really it's not.
>
> -----Original Message-----
> From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED]
> Sent: 05 November 2003 11:43
> To: Francescofrancescomarsanbmgc
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP-WIN] R: [PHP-WIN] best php editor?
>
>
> 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 was about what possible could
> be the point with a fast editor?
>
> In my opinion an editor just need to be sufficient fast,
> in other words "not slow".
>
>
> On Wed, 2003-11-05 at 12:29, Francesco wrote:
> > 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"  ha scritto nel messaggio
> > > 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 at 17:33, Francesco wrote:
> > > > > > Or Ultraedit. Super-fast.
> > > > > >
> > > > > > -----Messaggio originale-----
> > > > > > Da: Luis Moreira [mailto:]
> > > > > > Inviato: martedi 4 novembre 2003 17.28
> > > > > > A: Disko_kex; 'Bobo Wieland'; [EMAIL PROTECTED]
> > > > > > Oggetto: Re: [PHP-WIN] best php editor?
> > > > > >
> > > > > > There is also PHPEDIT and TEXTPAD (this one at
> > http://www.textpad.com/)
> > > > > >
> > > > > >
> > > > > > Luis
> > > > > >
>
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
>
> This footnote also confirms that this email message has been swept by
> MIMEsweeper for the presence of computer viruses.
> **********************************************************************
>

--- End Message ---
--- Begin Message ---
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'),
                   array(2, 'two', 'to'),
                   array(3, 'three', 'tre'),
                   array(4, 'four', 'fire'));
$sth = $dbh->prepare("INSERT INTO numbers VALUES(?,?,?)");

$dbh->executeMultiple($sth, $alldata);
}


--- End Message ---
--- Begin Message ---
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, November 05, 2003 1:24 PM
Subject: [PHP-WIN] Pear ::DB


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'),
                   array(2, 'two', 'to'),
                   array(3, 'three', 'tre'),
                   array(4, 'four', 'fire'));
$sth = $dbh->prepare("INSERT INTO numbers VALUES(?,?,?)");

$dbh->executeMultiple($sth, $alldata);
}

--- End Message ---
--- Begin Message ---
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 example, this should work but doesn't:

page code example:
==============
echo "click this <a href='$PHPSELF?action=say&msg=Hello_php_noob'>link</a>";
if (isset($action)) {
    echo "<br>". $msg ." so you did click the link huh ;o)";
}
==============

page output before click:
------------
clik this link

page output after click:
--------------------
click this link
Hello_php_noob so you did click the link huh ;o)


This is what should have happened...
But $action isn't set and nor is $msg, what can be wrong with the setup?

Any help appreciated....

/Aidal

--- End Message ---
--- Begin Message ---
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 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 example, this should work but doesn't:
>
> page code example:
> ==============
> echo "click this <a
href='$PHPSELF?action=say&msg=Hello_php_noob'>link</a>";
> if (isset($action)) {
>     echo "<br>". $msg ." so you did click the link huh ;o)";
> }
> ==============
>
> page output before click:
> ------------
> clik this link
>
> page output after click:
> --------------------
> click this link
> Hello_php_noob so you did click the link huh ;o)
>
>
> This is what should have happened...
> But $action isn't set and nor is $msg, what can be wrong with the setup?
>
> Any help appreciated....
>
> /Aidal
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message ---
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/win98 which runs
> perfectly.
> But when I transfer it to the new installation it seems that vars doesn't
> travel between pages.
>
> As an example, this should work but doesn't:
>
> page code example:
> ==============
> echo "click this <a
href='$PHPSELF?action=say&msg=Hello_php_noob'>link</a>";
> if (isset($action)) {
>     echo "<br>". $msg ." so you did click the link huh ;o)";
> }
> ==============
>
> page output before click:
> ------------
> clik this link
>
> page output after click:
> --------------------
> click this link
> Hello_php_noob so you did click the link huh ;o)
>
>
> This is what should have happened...
> But $action isn't set and nor is $msg, what can be wrong with the setup?
>
> Any help appreciated....
>
> /Aidal

--- End Message ---
--- Begin Message ---
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.
> _________________________
> ----- 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 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 example, this should work but doesn't:
> >
> > page code example:
> > ==============
> > echo "click this <a
> href='$PHPSELF?action=say&msg=Hello_php_noob'>link</a>";
> > if (isset($action)) {
> >     echo "<br>". $msg ." so you did click the link huh ;o)";
> > }
> > ==============
> >
> > page output before click:
> > ------------
> > clik this link
> >
> > page output after click:
> > --------------------
> > click this link
> > Hello_php_noob so you did click the link huh ;o)
> >
> >
> > This is what should have happened...
> > But $action isn't set and nor is $msg, what can be wrong with the setup?
> >
> > Any help appreciated....
> >
> > /Aidal
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >

--- End Message ---
--- Begin Message ---
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
Piotr

Aidal wrote:

> 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 example, this should work but doesn't:
>
> page code example:
> ==============
> echo "click this <a href='$PHPSELF?action=say&msg=Hello_php_noob'>link</a>";
> if (isset($action)) {
>     echo "<br>". $msg ." so you did click the link huh ;o)";
> }
> ==============
>
> page output before click:
> ------------
> clik this link
>
> page output after click:
> --------------------
> click this link
> Hello_php_noob so you did click the link huh ;o)
>
> This is what should have happened...
> But $action isn't set and nor is $msg, what can be wrong with the setup?
>
> Any help appreciated....
>
> /Aidal
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

--- End Message ---
--- Begin Message ---
i have installed apache 2.0 on a w2k3 domain-controller and tried to use the
userdir directive in httpd.conf
 
 UserDir "web"
 
<Directory "D:/userhome/*/web">
    AllowOverride FileInfo AuthConfig Limit
    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
    <Limit GET POST OPTIONS PROPFIND>
        Order allow,deny
        Allow from all
    </Limit>
    <LimitExcept GET POST OPTIONS PROPFIND>
        Order deny,allow
        Deny from all
    </LimitExcept>
</Directory>

anybody knows why  http://localhost/~new/ does not work for the directory
d:\userhome\new\web\index.html ????
 
need some php-functionality there and it would be easier for me - i thought - to solve 
this with the apache and not with IIS6
 
 
thx  Robert
 
[EMAIL PROTECTED]

--- End Message ---
--- Begin Message --- 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...

MySQL Support: enabled
Active Persistent Links: 0
Active Links: 0
Client API version: 3.23.32

Directive Local Value Master Value

mysql.allow_persistent          On                                      On
mysql.default_host                      no value                                no 
value
mysql.default_password          no value                                no value
mysql.default_port                      no value                                no 
value
mysql.default_socket                    no value                                no 
value
mysql.default_user                      no value                                no 
value
mysql.max_links                         Unlimited                               
Unlimited
mysql.max_persistent                    Unlimited                               
Unlimited

My first question is; shouldn't the Client API version show me the 4.x.x of MySQL that I installed?

My second question is why are almost all the other directives have no value?

And might this indicate why it won't run as a service?
--- End Message ---
--- Begin Message --- 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 distribution is always compiled in.
I don't now if it's an issue with MySQL 4 but i don't think so and PHP itself can't stop your MySQL4 service


- The second question: The directives are set in your php.ini file that is somewhere on your system, check the PHP documentation but it's safe to let the default values (ie: no value).

For the problem that MySQL won't run as a service you should check the log of your MySQL server, the reason could be trivial.

Good luck ;)

Eric


At 16:40 05/11/2003, Roderick Martin wrote:
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...

MySQL Support: enabled
Active Persistent Links: 0
Active Links: 0
Client API version: 3.23.32

Directive Local Value Master Value

mysql.allow_persistent On On
mysql.default_host no value no value
mysql.default_password no value no value
mysql.default_port no value no value
mysql.default_socket no value no value
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited


My first question is; shouldn't the Client API version show me the 4.x.x of MySQL that I installed?

My second question is why are almost all the other directives have no value?

And might this indicate why it won't run as a service?

--- End Message ---

Reply via email to