htmlArea

A directory of browser-based WYSIWYG editors

  MAIN
INDEX
SEARCH
POSTS
WHO'S
ONLINE
LOG
IN

Home: htmlArea 2: htmlArea 2 & 3 archive (read only): htmlArea v2.0 - Add-Ons:
<HTML> with phpscript?


The htmlArea 2 & 3 editors have been discontinued.

We've made these forums available as a read-only reference and knowledge-base for people using or developing editors based on htmlArea 2 or 3.

Anyone who is interested in taking over version 2 or 3 is free to do so. All we ask is that you choose a new name that doesn't have "htmlarea" in it to avoid confusion with this site. We'll even give you a link in the directory to make it easier for people to find you. If you are developing or hosting an htmlArea based-editor under a new name, please submit it to our directory.

 


Hanna
Novice

Nov 17, 2003, 1:58 PM

Post #1 of 5 (5671 views)
Shortcut
<HTML> with phpscript? Can't Post

Luis you helped me,
thank you so much,
I will post my next question because
I ve got moore problems:

I try to save my file, it works with this script ,
but <HTML>
blablabla<Head> is not saved ,

is there anybody who knows why and how I can with php?:



<?php

$file = $_POST['file'];

$Body = stripslashes($Body);

$filename =("$file");
$myFile= fopen($filename,'w+');
if(! $myFile){
print ("Konnte nicht ge÷ffnet werden.");

exit;
}}

fputs("<HTML>
<HEAD>
<TITLE>"$myFile"</TITLE>
</HEAD>
<BODY>

"$Body
"</BODY>
</HTML>" );
?>




saved is only the code not <HTML>....<BoDY>
why????

Thanks Hanna


nikotto
User

Nov 26, 2003, 2:08 AM

Post #2 of 5 (5621 views)
Shortcut
Re: [Hanna] <HTML> with phpscript? [In reply to] Can't Post

try this:

fputs("<HTML>
<HEAD>
<TITLE>".$myFile."</TITLE>
</HEAD>
<BODY>
".$Body"
</BODY>
</HTML>" );


Hanna
Novice

Nov 26, 2003, 11:13 AM

Post #3 of 5 (5612 views)
Shortcut
Re: [nikotto] <HTML> with phpscript? [In reply to] Can't Post


In Reply To
Thanks I tried, but I get a parse error on the line:


</HTML>" ); Unsure Hanna



nikotto
User

Nov 26, 2003, 1:48 PM

Post #4 of 5 (5605 views)
Shortcut
Re: [Hanna] <HTML> with phpscript? [In reply to] Can't Post

must be

fputs("<HTML>
<HEAD>
<TITLE>".$myFile."</TITLE>
</HEAD>
<BODY>
".$Body."
</BODY>
</HTML>" );

sorry


Hanna
Novice

Nov 26, 2003, 3:57 PM

Post #5 of 5 (5601 views)
Shortcut
Re: [nikotto] <HTML> with phpscript? [In reply to] Can't Post

OOhh,that doesn`t work... a new error:

Wrong parameter count for fputs()
???
HannaMad

 
 
 


Search for (options)