List Info

Thread: URL in comments




URL in comments
user name
2006-06-06 02:11:58

I am using the code below for my story.html flavour. It calls a small
PHP script for the comments form.

<!-- Begin script

<p>
<h1>&lt;a name=";$fn"&gt;$title&lt;/a>&lt;/h1>
$body
<;div align=&quot;right&quot; class=&quot;blog-date">
posted: $date_fullname::$date_fullname::mo $da, $yr :: <a
href=&quot;$url$path/$fn.$flavour">permanent link</a>&nbsp;&nbsp;::&nbsp;&nbsp;
<a href=";http://www.shamar.org/contact-blog.htm&quot;
onclick="newWindow('/sendBlogComments.php?'&#43;document.location.href,'email',400,300,'');
return false;&quot; title=&quot;comments&quot;>comments</a></div>
&lt;/p>
<br />

End script -->

The command "/sendBlogComments.php?&quot; calls the PHP script; then the
"document.location.href&quot; command adds the URL to the form in the
variable "$QUERY_STRING&quot;.

I am trying to place the actual posting of the blog URL (the
permanent link) in the "$QUERY_STRING&quot; but am not sure how to do it.
That would then tell me which posting they are commenting on. Anybody
have any ideas? (If needed, I can supply the rest of the script.)

Lee

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.394 / Virus Database: 268.8.1/355 - Release Date: 6/2/2006

__._,_.___
.

__,_._,___
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )