DeXTeR27
12-31-2007, 09:47 PM
I am working on a bbcode similiar to the [code] tag for posting links. The html output is a form where one can click the submit button which runs a cgi script.
I am having 2 issues.
heres my html replacement code
<img src="http://www.********.org/images/download.png" width="248" height="64" border="0">
<form action="http://********.com/cgi-bin/checkfiles.cgi" method="post" target="_blank">
<textarea name="urls" cols="100" rows="10">{param}</textarea><br><input type="submit" value="Check Links"></form>
The first issue is it parses html line breaks with multiple links listed.
The second issue and the most important is that this form will not work in the first post of a thread. Works great in both standard reply as well as quick reply. Just can seem to get it to work on new threads (first post).
any ideas as to why ?
I am having 2 issues.
heres my html replacement code
<img src="http://www.********.org/images/download.png" width="248" height="64" border="0">
<form action="http://********.com/cgi-bin/checkfiles.cgi" method="post" target="_blank">
<textarea name="urls" cols="100" rows="10">{param}</textarea><br><input type="submit" value="Check Links"></form>
The first issue is it parses html line breaks with multiple links listed.
The second issue and the most important is that this form will not work in the first post of a thread. Works great in both standard reply as well as quick reply. Just can seem to get it to work on new threads (first post).
any ideas as to why ?