Re: [PHP] Mixed PHP/SSI and environment variables

2005-10-29 Thread Richard Lynch
On Thu, October 27, 2005 3:43 am, Christoph Freundl wrote: I have a problem with the persistence of environment variables when mixing PHP and SSI (Apache) and I am not sure if I just made an error or if this approach cannot work at all. So please consider the following files: I *believe* that

Re: [PHP] Mixed PHP/SSI and environment variables

2005-10-29 Thread Richard Lynch
On Fri, October 28, 2005 9:36 am, Christoph Freundl wrote: Perhaps I return to what I primarily intended to ask: is it really the wanted behaviour of virtual() that changes that are made by the included file do not influence the environment of the including file? That is most definitely a

[PHP] Mixed PHP/SSI and environment variables

2005-10-28 Thread Christoph Freundl
Hello, I have a problem with the persistence of environment variables when mixing PHP and SSI (Apache) and I am not sure if I just made an error or if this approach cannot work at all. So please consider the following files: setvar.shtml -

Re: [PHP] Mixed PHP/SSI and environment variables

2005-10-28 Thread Jochem Maas
Christoph Freundl wrote: Hello, I have a problem with the persistence of environment variables when mixing PHP and SSI (Apache) and I am not sure if I just made an error or if this approach cannot work at all. So please consider the following files: setvar.shtml

Re: [PHP] Mixed PHP/SSI and environment variables

2005-10-28 Thread Christoph Freundl
Am Freitag, 28. Oktober 2005 13:22 schrieb Jochem Maas: info.php - ?php virtual( setvar.shtml ); have yuou tried include/require here instead of virtual() I imagine that the env of the subprocess wouldn't affect the env of the parent

Re: [PHP] Mixed PHP/SSI and environment variables

2005-10-28 Thread Jochem Maas
Christoph Freundl wrote: Am Freitag, 28. Oktober 2005 13:22 schrieb Jochem Maas: info.php - ?php virtual( setvar.shtml ); have yuou tried include/require here instead of virtual() I imagine that the env of the subprocess wouldn't affect the

Re: [PHP] Mixed PHP/SSI and environment variables

2005-10-28 Thread Christoph Freundl
Am Freitag, 28. Oktober 2005 13:42 schrieb Jochem Maas: ok, and if you stick the following in 1 file and call it?: !--#set var=myvar value=myval -- ?php echo apache_getenv( myvar ); ? ... just thinking out loud here. Ok, I tried this by configuring Apache such that .php-files are also

Re: [PHP] Mixed PHP/SSI and environment variables

2005-10-28 Thread Jochem Maas
Christoph Freundl wrote: Am Freitag, 28. Oktober 2005 13:42 schrieb Jochem Maas: ok, and if you stick the following in 1 file and call it?: !--#set var=myvar value=myval -- ?php echo apache_getenv( myvar ); ? ... just thinking out loud here. I just looked at apache_getenv(): string

[PHP] Mixed Up Values

2005-04-25 Thread Mark Sargent
Hi All, with the below code, $myrow[1] should = product_name's value, $myrow[2] should = product_model_number's value and $myrow[3] should = product_serial_number's value, but, product_name's value is not being displayed, and the values are being moved to the left 1. Meaning

Re: [PHP] Mixed Up Values

2005-04-25 Thread Matt Harnaga
Mark Sargent wrote: Hi All, with the below code, $myrow[1] should = product_name's value, $myrow[2] should = product_model_number's value and $myrow[3] should = product_serial_number's value, but, product_name's value is not being displayed, and the values are being moved to the left 1. Meaning

Re: [PHP] mixed strings

2004-12-20 Thread Richard Lynch
Ian Firla wrote: I'm wondering if anyone knows if there's a way of sending strings of mixed type to a UDP socket. I'm storing the data I need to send in an array. Parsing the array with a foreach, I'm sending out the various pieces to the socket with fwrite. fwrite converts your input to

[PHP] mixed strings

2004-12-18 Thread Ian Firla
Hi All, I'm wondering if anyone knows if there's a way of sending strings of mixed type to a UDP socket. I'm storing the data I need to send in an array. Parsing the array with a foreach, I'm sending out the various pieces to the socket with fwrite. Unfortunately, it seems that UDP terminates

Re: [PHP] How to comment out chunk of html/php mixed code?

2003-09-16 Thread rush
Raditha Dissanayake [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Wrong approach all together. Start using CVS and do not mix php and html - use templates :) rush -- http://www.templatetamer.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] How to comment out chunk of html/php mixed code?

2003-09-15 Thread Wei Wang
hi, This may sound very newbie. But since html comment uses !-- -- which doesn't comment out the php code. And the php comment /**/ // apparently doesn't work on html. So how do I comment out a chunk of html/php mixed code? Many thanks, Wei Wang

Re: [PHP] How to comment out chunk of html/php mixed code?

2003-09-15 Thread Robert Cummings
/**/ // apparently doesn't work on html. So how do I comment out a chunk of html/php mixed code? Many thanks, Wei Wang -- .-. | Worlds of Carnage - http://www.wocmud.org | :-: | Come visit a world

Re: [PHP] How to comment out chunk of html/php mixed code?

2003-09-15 Thread Gabriel Guzman
On Monday 15 September 2003 12:59 pm, Wei Wang wrote: hi, This may sound very newbie. But since html comment uses !-- -- which doesn't comment out the php code. And the php comment /**/ // apparently doesn't work on html. So how do I comment out a chunk of html/php mixed code? probably

Re: [PHP] How to comment out chunk of html/php mixed code?

2003-09-15 Thread CPT John W. Holmes
From: Wei Wang [EMAIL PROTECTED] This may sound very newbie. But since html comment uses !-- -- which doesn't comment out the php code. And the php comment /**/ // apparently doesn't work on html. So how do I comment out a chunk of html/php mixed code? /* and */ appears to work: ?php

Re: [PHP] How to comment out chunk of html/php mixed code?

2003-09-15 Thread Eugene Lee
On Mon, Sep 15, 2003 at 08:59:53PM +0100, Wei Wang wrote: : : This may sound very newbie. But since html comment uses !-- -- : which doesn't comment out the php code. And the php comment /**/ // : apparently doesn't work on html. So how do I comment out a chunk of : html/php mixed code? Remove

RE: [PHP] How to comment out chunk of html/php mixed code?

2003-09-15 Thread Jennifer Goodie
?php /* your mixed html and php code here */ ? that way php will take everything inside the ?php ? tags and comment them out, regardless of if they are html or php or whatever. This won't work is your PHP code has comments using /* */ syntax in it already. I always just through an

[PHP] Re: How to comment out chunk of html/php mixed code?

2003-09-15 Thread Curt Zirzow
On Mon, 15 Sep 2003 20:59:53 +0100, Wei Wang [EMAIL PROTECTED] wrote: hi, This may sound very newbie. But since html comment uses !-- -- which doesn't comment out the php code. And the php comment /**/ // apparently doesn't work on html. So how do I comment out a chunk of html/php mixed code

Re: [PHP] How to comment out chunk of html/php mixed code?

2003-09-15 Thread Raditha Dissanayake
Wrong approach all together. Start using CVS Wei Wang wrote: hi, This may sound very newbie. But since html comment uses !-- -- which doesn't comment out the php code. And the php comment /**/ // apparently doesn't work on html. So how do I comment out a chunk of html/php mixed code? Many

Re: [PHP] mixed

2002-10-31 Thread Marek Kilimajer
Shaun wrote: Hi, In asp there is a session timeout function that allows the session to end after the session is INACTIVE for x seconds/minutes ! How do i do this in php ? session_cache_expire(value_in_minutes); documentation is not very clear about it, but I guess it needs to be set before

RE: [PHP] mixed

2002-10-31 Thread John W. Holmes
In asp there is a session timeout function that allows the session to end after the session is INACTIVE for x seconds/minutes ! How do i do this in php ? You can set the lifetime of the session in php.ini. session.gc_maxlifetime is the time after which, inactive sessions will be deleted.

[PHP] mixed

2002-10-30 Thread Shaun
Hi, In asp there is a session timeout function that allows the session to end after the session is INACTIVE for x seconds/minutes ! How do i do this in php ? Is there a way to open a php page in internet expl. without having a url/adress bar or a back and forward button , if so how do i go to

[PHP] mixed type

2002-03-12 Thread max
While looking thru php funcions (mixed ora_getcolumn ( int cursor, mixed column) in partucular) I came across type MIXED. What does that mean? There is no such type mentioned in the php docs under TYPES section. thanks. max. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] mixed type

2002-03-12 Thread Lars Torben Wilson
On Tue, 2002-03-12 at 14:33, max wrote: While looking thru php funcions (mixed ora_getcolumn ( int cursor, mixed column) in partucular) I came across type MIXED. What does that mean? There is no such type mentioned in the php docs under TYPES section. thanks. max. It simply means that

[PHP] mixed datatype

2002-01-28 Thread charlesk
How do you make a function like bool session_register (mixed name [, mixed ...]) What does the function look like that it can take unlimited arguments? Charles Killmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

RE: [PHP] mixed datatype

2002-01-28 Thread Matt Schroebel
http://www.php.net/manual/en/functions.arguments.php#functions.variable-arg-list -Original Message- From: charlesk [mailto:[EMAIL PROTECTED]] What does the function look like that it can take unlimited arguments? -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] mixed datatype

2002-01-28 Thread Jim Lucas [php]
PROTECTED] Sent: Monday, January 28, 2002 8:23 AM Subject: [PHP] mixed datatype How do you make a function like bool session_register (mixed name [, mixed ...]) What does the function look like that it can take unlimited arguments? Charles Killmer -- PHP General Mailing List (http