Re: [PHP] Write html to file

2001-10-26 Thread Krzysztof Kocjan

There is option in PHP (php.ini file) magic_quotes_runtime set it Off.It 
shuold help You. Restart apache after.

Krzysztof

[EMAIL PROTECTED] wrote:

> Hi
> 
> I have a problem with writing html code to a file.Every time i write html to a file 
>PHP replace every " character into a \" character.Further more every   character 
>will replace into a empty character.
> So what should i do to stop replacing this character ?
> Thank you very much!
> 
> Chris 
> 
> 



--
Oszczedzaj papier. Nie przestawaj notowac.
Z zewnatrz poczta, w srodku takze notatnik.
Twoja nowa poczta >> http://poczta.interia.pl/


-- 
PHP General 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]




Re: [PHP] Write html to file

2001-10-26 Thread Richard Baskett

run the function stripslashes() on it this will get rid of the \ in front of
the single and double quotes.

I do not know how to help you with the non breaking space problem though.  I
have no clue why it would replace that... very strange..

Rick

> Hi
> 
> I have a problem with writing html code to a file.Every time i write html to a
> file PHP replace every " character into a \" character.Further more every
>   character will replace into a empty character.
> So what should i do to stop replacing this character ?
> Thank you very much!
> 
> Chris 
> 


-- 
PHP General 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]




[PHP] Write html to file

2001-10-26 Thread mail

Hi

I have a problem with writing html code to a file.Every time i write html to a file 
PHP replace every " character into a \" character.Further more every   character 
will replace into a empty character.
So what should i do to stop replacing this character ?
Thank you very much!

Chris