php-windows Digest 16 Feb 2003 08:26:02 -0000 Issue 1590

Topics (messages 18547 through 18552):

Warnings
        18547 by: Bobo Wieland
        18549 by: Luis Ferro

Re: Subject: execute before fopen?
        18548 by: Neil Smith

html_entity_decode
        18550 by: Bobo Wieland
        18551 by: Matt Hillebrand

PHP Scripts can't write to files
        18552 by: Greg

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 ---
What does this mean:

Warning: Cannot send session cookie - headers already sent by (output
started at
/customers/pingstkyrkan.net/pingstkyrkan.net/httpd.www/fp/index.php:1) in
customers/pingstkyrkan.net/pingstkyrkan.net/httpd.www/fp/index.php on line 5

Warning:  Cannot send session cache limiter - headers already sent (output
started at
/customers/pingstkyrkan.net/pingstkyrkan.net/httpd.www/fp/index.php:1) in
/customers/pingstkyrkan.net/pingstkyrkan.net/httpd.www/fp/index.php on line
5


The php-file worked perfectly well on my local machine...


.bobo

--- End Message ---
--- Begin Message --- That means that there is some output done before the session is inicialized...

It can also be possible that the target web server is with a diferent configuration then your local machine. It is a known fact that some PHP versions are VERY bugged with regards to sessions (i think php 4.2.3 that shipped with one of the red hat linux distros was such - possible corrected by now, but in the world at large... it may exist still)

Compare the configurations and you may be on the way to correct the problem... (try to emulate in the local server the same configuration)...

Cheers,
Luis Ferro
Teladigital.net

Bobo Wieland wrote:

What does this mean:

Warning: Cannot send session cookie - headers already sent by (output
started at
/customers/pingstkyrkan.net/pingstkyrkan.net/httpd.www/fp/index.php:1) in
customers/pingstkyrkan.net/pingstkyrkan.net/httpd.www/fp/index.php on line 5

Warning: Cannot send session cache limiter - headers already sent (output
started at
/customers/pingstkyrkan.net/pingstkyrkan.net/httpd.www/fp/index.php:1) in
/customers/pingstkyrkan.net/pingstkyrkan.net/httpd.www/fp/index.php on line
5


The php-file worked perfectly well on my local machine...


.bobo




---
[This E-mail scanned for viruses by Declude Virus]

--- End Message ---
--- Begin Message --- I'm not sure I understand your problem. You want to use an external exe to *read* the XML then load into PHP to print it out ? When you say print do you mean literally print, on paper, or print as in display ?

Why not parse the file within PHP using either Expat parser and XSL, or use XPath DOM functions to walk the tree and format it that way. It would be more appropriate imho. You can always load the transformed XML into a browser and print / style it using CSS.

Cheers,
Neil Smith.

At 12:10 15/02/2003 +0000, you wrote:
----------------------------------------------------------------------
Message-ID: <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Reply-To: "Håkan" <[EMAIL PROTECTED]>
From: "Håkan" <[EMAIL PROTECTED]>
Date: Sat, 15 Feb 2003 06:14:28 +0100
Subject: execute before fopen?

Ok, I came up with a small problem, I have a function that opens and reads
information from xml files, and I have a php file that uses a
system(file.exe -xml) to print the xml code, is there any way to make the
php file execute it and then read the information somehow? I'm kind of
dumbstruck at the moment :)

Håkan

--- End Message ---
--- Begin Message ---
Hi!

i just noticed that the server I'm using doesn't got the latest version of
PHP installed... Until I get the people managing it to upgrade, does anyone
have the function html_entity_decode-code so that I can include it in my
pages?


.bobo

--- End Message ---
--- Begin Message ---
I found this in the PHP Manual, but I haven't tried it:

// For users prior to PHP 4.3.0 you may do this:
function unhtmlentities ($string)
{
    $trans_tbl = get_html_translation_table (HTML_ENTITIES);
    $trans_tbl = array_flip ($trans_tbl);
    return strtr ($string, $trans_tbl);
}

|-----Original Message-----
|From: Bobo Wieland [mailto:[EMAIL PROTECTED]] 
|Sent: Saturday, February 15, 2003 10:56 AM
|To: [EMAIL PROTECTED]
|Subject: [PHP-WIN] html_entity_decode
|
|
|Hi!
|
|i just noticed that the server I'm using doesn't got the 
|latest version of PHP installed... Until I get the people 
|managing it to upgrade, does anyone have the function 
|html_entity_decode-code so that I can include it in my pages?
|
|
|.bobo
|
|
|-- 
|PHP Windows Mailing List (http://www.php.net/)
|To unsubscribe, visit: http://www.php.net/unsub.php
|
|
|


--- End Message ---
--- Begin Message ---
I'm using windows 2000 professional as my webserver, i have apache 2 and the lastest 
version of php running....  now, when i access my webpage my phpscripts are supposed 
to write to a couple files and create files when needed, but they don't.  Are there 
any type of permissions i have to setup in windows??

-Greg

pLANned Chaos
--- End Message ---

Reply via email to