php-windows Digest 21 Jan 2002 19:34:20 -0000 Issue 963

Topics (messages 11536 through 11542):

Re: New PHP
        11536 by: John Z

php4ee light
        11537 by: eoghan

recursion
        11538 by: Sandeep Murphy
        11539 by: Svensson, B.A.T. (HKG)
        11540 by: Svensson, B.A.T. (HKG)

.php unrecognizable extension
        11541 by: Dion

http error apache 1.3.22 php 4.0.1
        11542 by: SomeGuy

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 ---
I love this article

Building a Database-Driven Web Site Using PHP and MySQL
http://www.mysql.com/articles/ddws/index.html



--- End Message ---
--- Begin Message ---
hello
i recently got the version of php4ee light. i think its
a nice studio, but i wnated to add some auto complete
tags for myself, but i cant seems to get it working. as 
i am develpoing in cf too i wanted to add all these tag also,
so i did:
<cfoutput 

=<cfoutput query="">

= |

=</cfoutput>

but it doesnt seems to be working, has anyone got an
example of how to use this properly? thanks.


--- End Message ---
--- Begin Message ---
hi,

I hv an XML tree with some elements which keep repeating.. As of now, I am
able to print only the last element..
I need to make the loop recursive in order to print all the elements..

wud appreciate any help..

TIA,
sands

like this:
<app_info>
                <app_id>001</app_id>
                <app_name>WORD</app_name>
                <app_info>
                        <app_id>002</app_id>
                        <app_name>excel</app_name>
                </app_info>
                <app_info>
                        <app_id>003</app_id>
                        <app_name>PPt</app_name>
                </app_info>
        </app_info>
        <app_info>
                <app_id>004</app_id>
                <app_name>ZIP</app_name>
        </app_info>
--- End Message ---
--- Begin Message ---
From: Sandeep Murphy
Sent: Monday, January 21, 2002 2:29 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] recursion

>I hv an XML tree with some elements which keep repeating.. As of now, I am
>able to print only the last element..
>I need to make the loop recursive in order to print all the elements..
>
>wud appreciate any help..

Frame for a recursive function in pseudo code:

RecursiveFunction(Recurs_Argument)
{
        if ([breakConditionTrue]) {
                return [breakConditionTrue];
        } 
        
        else {
                ProcessData([Recurs_Argument]);
                RecursiveFunction([Recurs_Argument]);
        }

        return [breakConditionFalse];
}
--- End Message ---
--- Begin Message ---
Sorry a bug slipped into the code:

The if statment is fualty!!! 

>RecursiveFunction(Recurs_Argument)
>{

****    if (CHECK_IF_BREAK_CONDITION_IS_TRUE()) {  *******

>               return [breakConditionTrue];
>       } 
>       
>       else {
>               ProcessData([Recurs_Argument]);
>               RecursiveFunction([Recurs_Argument]);
>       }
>
>       return [breakConditionFalse];
>}
>
>-- 
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: 
>[EMAIL PROTECTED]
>
--- End Message ---
--- Begin Message ---
I am running Apache 1.3 on WindowsXP just for some developement stuff that I
do at home.  I just installed PHP to the server but I can't get it to
recognize .php as an extension and to have it load those as if they were
.html files.  IE.... index.php it just shows a directory listing instead of
loading the file.  Can someone help me?



--- End Message ---
--- Begin Message ---
so i'm running apache 1.3.22 on windows XP
and trying to run phpnuke on it.It works fine locally without ANY errors.But
as soon as outside users try to connect to the server they say there was an
error.Since they are windows users they couldn't quite tell me what was
wrong.Anyway...after connecting to my machine from a linux box with lynx i
could see that instead of the clean html code sometimes i got

OI^]?Á^A+^A?r^A
and similar characters
the last was:
<OI^]?Á^A+^A?r^A
LA^XR? GMT
Server: Apache/1.3.22 (Win32) PHP/4.1.1
X-Powered-By: PHP/4.1.1
Set-Cookie: lang=english; expires=Tue, 21-Jan-03 17:59:13 GMT
Connection: close
Content-Type: text/html; charset=windows-1250

they are positioned randomly in the code so it can't be the fault of the
script because they are never the same and never in the same place.I get
<OI^]?Á^A+^A?r^A<OI^]?Á^A+^A?r^A<OI^]?Á^A+^A?r^A<OI^]?Á^A+^A?r^A and more
sometimes and only when trying to use apache from outside.

Does anyone have any idea what the problem might be?
I even tried going back to php 4.0.6 but that didn't help eather.
i thought it might for some strange reason be the default language in
php.ini but the error continued to be there after setting it from iso-8859-1
to windows-1250
didn't help...and it was a desperate attempt anyway.
Can anyone help :( ?





--- End Message ---

Reply via email to