[pmwiki-users] Failing to include forms in a file

Steven Benmosh wordz2u at gmail.com
Sat Jan 26 06:45:38 CST 2008


I am trying and failing to include a paypal 'donate' button html code in a
web page.

1. I first tried to include the text in a block, [@@} and [==], but got
text.

2. Then included in config.php the following:

#This is used to allow inclusion of html tags
include_once("$FarmD/cookbook/enablehtml.php");

#The following line allows me to include forms in web pages
EnableHtml('form');

but this did not work either, it skipped the <form tags, but showed as text
the rest - <input type="hidden" name="cmd" value="_s-xclick"> and so on.

So I added EnableHtml('input'); into config.php, and now I see nothing at
all in the page.

What am I doing wrong, or alternatively, how do I put a paypal donate button
into the footer of my site? The code looks something like (I put breaks in
the encrypted part to fit the page better):

=== begin form text ===
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="image" src="
https://www.paypal.com/en_US/i/btn/x-click-but11.gif" border="0"
name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif"
width="1" height="1">
<input type="hidden" name="encrypted" value="-----BEGIN
PKCS7-----MIIHVwYJKoZIhvcNAQcEoIIHSDCCB0QCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCV
VMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWw
gSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEW
DXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYBZYplUMxy/2N6nOImFGBxV/c/Q0hpSAKhSKoe
DEONWzeE8JQTZ1FMb/eaXVsByPRNcLuCI93b03FeSKyF8bkUQQiXHW1tLoc1SGLQuU6Y3SljYiKKuXhk/RyD
+Bl+GA2O3M1A4fVyi5qurseJacqdCZ8VXv45lOk3TmX6nw6m7QjELMAkGBSsOAwIaBQAwgdQGC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ChvsENZklGuhgZSkgZEwgY4xCz
AJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChML
UGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIh
vcNAQkBFg1yZUBwYXlwYWwuY29tggEAMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADgYEAgV86V
pqAWuXvX6Oro4qJ1tYVIT5DgWpE692Ag422H7yRIr/9j/iKG4Thia/Oflx4TdL+IFJBAyPK9v6zZNZtBgPBynXb048hs
P16l2vi0k5Q2JKiPDsEfBhGI+HnxLXEaUWAcVfCsQFvd2A1sxRr67ip5y2wwBelUecP3AjJ+YcxggGaMIIBlgIBATCB
lDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEg
YDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAa
DgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwCQYFKw4DAhoFAKBdMBgGCSqGSIb3DQEJAzELBgk
qhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTA4MDEyNjEwNTc1NVowIwYJKoZIhvcNAQkEMRYEFI9AbjoIGmG
PQCvDnBwBXraNQY7mMA0GCSqGSIb3DQEBAQUABIGAI6tcq5Xid2AA9K8hYsZidefAt8F2eL0bBoJ7FNVatyNt
OW7rvdBwC0+oA7FBnSfMCthDgyUsDh/DAiEwR8/qImF2rWuBrYeuUtgnk3xOZHBuzggE=-----END
PKCS7-----
">
</form>

===end form text===

Thanks,

Z.
-- 
Check out my web site - www.words2u.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20080126/17bac3c8/attachment.html 


More information about the pmwiki-users mailing list