[PHP] open blocks in one include and close it in another

2002-08-30 Thread Heiko Mundle
Hi, is there an workaround to open blocks (e.g after an if condition) in the first include and close this block in another? with the curly brace i get parse errors. I want to do this: startblock.inc: ?php if ( !$iPageRight ) { echo p class=\fError\access denied!/p; }

[PHP] threads in Apache 1.3

2002-09-03 Thread Heiko Mundle
I would like to know how many PHP page apache generates in one thread at the same time. For example, two clients share the same thread of the apache web server. they request at the same time a php page. Does apache process them one by one? I use persistant database connections and I wonder, if

[PHP] How to send gzip content

2002-09-17 Thread Heiko Mundle
Hi, this question is not about compressing HTML content, but SVG or VRML! i want to compress the entire output with gzip before sending it to the client. I found the function ob_start('ob_gzhandler') but this seems to compress only in special cases. (Actually I don't see if the content is

[PHP] How do I get the entire data sended to the web server?

2003-01-08 Thread Heiko Mundle
Is it possible with php to print the http header and the attached data for a transmitted http request? How can I do this? an example of what I want to see: POST /cgi-bin/CgiMfc1?MyQuery%3dQData HTTP/1.1 Accept: text/* User-Agent: HttpCall Accept-Language: en-us Host: localhost:680

Re: [PHP] php pages without .php extension on linux and windows

2003-07-28 Thread Heiko Mundle
I just had to turn on MultiViews in my directory options... Heiko Jeff Harris wrote: On Jul 7, 2003, Heiko Mundle claimed that: |I try to use PHP and Apache on both Linux (SuSE 8.1) and Windows (2K). | |On Linux I can access the PHP scripts without adding the .php extension. |E.g. |http

[PHP] php pages without .php extension on linux and windows

2003-07-07 Thread Heiko Mundle
I try to use PHP and Apache on both Linux (SuSE 8.1) and Windows (2K). On Linux I can access the PHP scripts without adding the .php extension. E.g. http://mydomain/myscript?para1=TRUE for http://mydomain/myscript.php?para1=TRUE But on Windows it doesn't work (page not found - HTTP 404) How do I

[PHP] get access to define() constants with dynamic names

2002-10-02 Thread Heiko Mundle
Hi all, my script knows three different constants define(G_T_USER,user_profile); define(G_T_TEAM,SAFETOUR_team); define(G_T_CALL,SAFETOUR_call); Is it possible to get access to them, if I have the names (USER, TEAM, CALL) in a variable? It must be something like that:

Re: [PHP] get access to define() constants with dynamic names

2002-10-02 Thread Heiko Mundle
:47 AM, Heiko Mundle wrote: Hi all, my script knows three different constants define(G_T_USER,user_profile); define(G_T_TEAM,SAFETOUR_team); define(G_T_CALL,SAFETOUR_call); Is it possible to get access to them, if I have the names (USER, TEAM, CALL) in a variable

[PHP] cutted values after posting multiple select list

2002-10-25 Thread Heiko Mundle
Hi i struggling with multiple select lists in HTML forms. The resulting $_REQUEST array cuts some characters from the values. If the value is value=99 i will get 99 after posting... my php file: *** htmlhead/head ?php echo {$_SERVER['REQUEST_URI']} br; echo First:

Re: [PHP] cutted values after posting multiple select list

2002-10-27 Thread Heiko Mundle
It doesn't work with $_POST and it doesn't work with $_GET... actually I thought there is no difference between the values in $_POST and $_REQUEST Does the example work on your box? Heiko Rick Emery wrote: use $_POST, not $_REQUEST - Original Message - From: Heiko Mundle [EMAIL