By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,156 Members | 1,071 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,156 IT Pros & Developers. It's quick & easy.

entire form content

P: n/a
Hello,

is it possible to get everything between <form></form> into an variable even
the plain text so i can work with it and write it to a file?

thanks for the advice
chris
Jul 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Regarding this well-known quote, often attributed to Christian's famous
"Fri, 21 Nov 2003 17:27:04 -0500" speech:
Hello,

is it possible to get everything between <form></form> into an variable even
the plain text so i can work with it and write it to a file?

thanks for the advice
chris


Please explain further.

Are you trying to get all the form HTML code from an outside page?

Are you trying to read everything that got filled into a form? With or
without knowing the elements in the form?

Are you trying to "write" a custom form based on previous data?

All of these things are possible... which one do you need?

--
-- Rudy Fleminger
-- sp@mmers.and.evil.ones.will.bow-down-to.us
(put "Hey!" in the Subject line for priority processing!)
-- http://www.pixelsaredead.com
Jul 17 '05 #2

P: n/a
I want to use aynhtml to change the content and i need to write the changed
content back to the file and i was thinking something like this
<form name="content" method="post" action="send.php">
Html Content
</form>
and in the php file
<?php
$textcontent = $_POST[$content];
fp = fopen() and so on.
?>
but will it write the plain html that is not in a form object somehow to the
variable?
Thanks

"FLEB" <so*********@mmers.and.evil.ones.will.bow-down-to.us> wrote in
message news:6a***************************@40tude.net...
Regarding this well-known quote, often attributed to Christian's famous
"Fri, 21 Nov 2003 17:27:04 -0500" speech:
Hello,

is it possible to get everything between <form></form> into an variable even the plain text so i can work with it and write it to a file?

thanks for the advice
chris


Please explain further.

Are you trying to get all the form HTML code from an outside page?

Are you trying to read everything that got filled into a form? With or
without knowing the elements in the form?

Are you trying to "write" a custom form based on previous data?

All of these things are possible... which one do you need?

--
-- Rudy Fleminger
-- sp@mmers.and.evil.ones.will.bow-down-to.us
(put "Hey!" in the Subject line for priority processing!)
-- http://www.pixelsaredead.com

Jul 17 '05 #3

P: n/a
Regarding this well-known quote, often attributed to Christian's famous
"Sun, 23 Nov 2003 11:59:09 -0500" speech:
I want to use aynhtml to change the content and i need to write the changed
content back to the file and i was thinking something like this
<form name="content" method="post" action="send.php">
Html Content
</form>
and in the php file
<?php
$textcontent = $_POST[$content];
fp = fopen() and so on.
?>
but will it write the plain html that is not in a form object somehow to the
variable?
Thanks

"FLEB" <so*********@mmers.and.evil.ones.will.bow-down-to.us> wrote in
message news:6a***************************@40tude.net...
Regarding this well-known quote, often attributed to Christian's famous
"Fri, 21 Nov 2003 17:27:04 -0500" speech:
Hello,

is it possible to get everything between <form></form> into an variable even the plain text so i can work with it and write it to a file?

thanks for the advice
chris


Please explain further.

Are you trying to get all the form HTML code from an outside page?

Are you trying to read everything that got filled into a form? With or
without knowing the elements in the form?

Are you trying to "write" a custom form based on previous data?

All of these things are possible... which one do you need?

--
-- Rudy Fleminger
-- sp@mmers.and.evil.ones.will.bow-down-to.us
(put "Hey!" in the Subject line for priority processing!)
-- http://www.pixelsaredead.com


Hmm... I'm not totally sure on the specifics of atnHTML, but I think your
best solution would be to save the file out, and upload it in a form FILE
element. Otherwise, you can copy/paste the HTML into a textbox.

If Ayn uses that "Publish to Web" type feature, well, I really haven't
gotten into that yet.

--
-- Rudy Fleminger
-- sp@mmers.and.evil.ones.will.bow-down-to.us
(put "Hey!" in the Subject line for priority processing!)
-- http://www.pixelsaredead.com
Jul 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.