Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Antwort: Re: CGI HTML Editor,

From: sharriff:aina:med-iq at: 15-Nov-2000 7:42

Thanks Tim, Elan for helping out. Heres the code The Form ------------------------------------ <?xml version="1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/transitional.dtd"> <html xmlns="http://www.w3.org/TR/xhtml1"> <head> <title>Add new Intranet page</title> <style type="text/css"> p.c1 {font-family: Verdana,Tahoma,Arial,Helvetica; font-size: 80%} </style> </head> <body bgcolor="#666666"> <form action="http://10.104.98.70/cgi-bin/newintranethomepage.r" enctype ="text" method="get" name="newcontact"> <table border="1" cellpadding="1" cellspacing="0" id="Tabelle1" width ="400"> <tbody> <tr> <td width="100" bgcolor="silver"> <p class="c1">Title</p> </td> <td colspan="2" bgcolor="silver"> <p><input id="" maxlength="45" name ="title" size="45" />&nbsp;</p> </td> </tr> <tr> <td width="100" bgcolor="silver"><font face ="Verdana" size="2">Author</font></td> <td bgcolor="silver" colspan="2"><input id="" maxlength="45" name="author" size="45" /></td> </tr> <tr> <td width="100" bgcolor="silver"> <p class="c1">Media</p> </td> <td colspan="2" bgcolor="silver"> <p><input type="file" name="receivemedia" size="16" /></p> </td> </tr> <tr> <td width="100" bgcolor="silver"> <p class="c1">Text</p> </td> <td bgcolor="silver" colspan="2"><textarea name="text" cols="75" rows="22" wrap="physical"/></textarea></td> </tr> <tr> <td bgcolor="gray">&nbsp;</td> <td colspan="2" bgcolor="gray">&nbsp;</td> </tr> <tr> <td bgcolor="#FF9900">&nbsp;</td> <td width="180" bgcolor="#FF9900"> <p><input id="" name="buttsave" type="submit" value="save" />&nbsp;</p> </td> <td width="180" bgcolor="#FF9900"> <p><input id="" name="buttreset" type="reset" value="reset" />&nbsp;</p> </td> </tr> </tbody> </table> </form> </body> </html> The CGI script --------------------------------------- <?xml version="1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/transitional.dtd"> <html xmlns="http://www.w3.org/TR/xhtml1"> <head> <title>Add new Intranet page</title> <style type="text/css"> p.c1 {font-family: Verdana,Tahoma,Arial,Helvetica; font-size: 80%} </style> </head> <body bgcolor="#666666"> <form action="http://10.104.98.70/cgi-bin/newintranethomepage.r" enctype ="text" method="get" name="newcontact"> <table border="1" cellpadding="1" cellspacing="0" id="Tabelle1" width ="400"> <tbody> <tr> <td width="100" bgcolor="silver"> <p class="c1">Title</p> </td> <td colspan="2" bgcolor="silver"> <p><input id="" maxlength="45" name ="title" size="45" />&nbsp;</p> </td> </tr> <tr> <td width="100" bgcolor="silver"><font face ="Verdana" size="2">Author</font></td> <td bgcolor="silver" colspan="2"><input id="" maxlength="45" name="author" size="45" /></td> </tr> <tr> <td width="100" bgcolor="silver"> <p class="c1">Media</p> </td> <td colspan="2" bgcolor="silver"> <p><input type="file" name="receivemedia" size="16" /></p> </td> </tr> <tr> <td width="100" bgcolor="silver"> <p class="c1">Text</p> </td> <td bgcolor="silver" colspan="2"><textarea name="text" cols="75" rows="22" wrap="physical"/></textarea></td> </tr> <tr> <td bgcolor="gray">&nbsp;</td> <td colspan="2" bgcolor="gray">&nbsp;</td> </tr> <tr> <td bgcolor="#FF9900">&nbsp;</td> <td width="180" bgcolor="#FF9900"> <p><input id="" name="buttsave" type="submit" value="save" />&nbsp;</p> </td> <td width="180" bgcolor="#FF9900"> <p><input id="" name="buttreset" type="reset" value="reset" />&nbsp;</p> </td> </tr> </tbody> </table> </form> </body> </html> -------------------------------------------------------------------------------------------------------- I´m sorry its not simplified, I was afraid that some important mistake might fall by the wayside. My first suspect was HTML, but after spending 2- 3 hours changing stylesheets and table cell definitions, my conclusion was that I have a problem in storing creating large strings EXACTLY the way they are stored. Another bad side effect is that after a certain amount of text in the textarea, the Internet explorer does´nt carry out the CGI request!!!! on the contrary to the Netscape, which sends off everything given to it no matter how large the string. Thanks for your anticipated help "A tired man called" Sharriff