<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Subscribe to comments (in MT): Call for help</title>
	<atom:link href="http://www.scriptygoddess.com/archives/2002/05/04/subscribe-to-comments-in-mt-call-for-help/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scriptygoddess.com/archives/2002/05/04/subscribe-to-comments-in-mt-call-for-help/</link>
	<description></description>
	<lastBuildDate>Tue, 10 Jan 2012 01:21:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Lynda</title>
		<link>http://www.scriptygoddess.com/archives/2002/05/04/subscribe-to-comments-in-mt-call-for-help/comment-page-1/#comment-6610</link>
		<dc:creator>Lynda</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/05/04/subscribe-to-comments-in-mt-call-for-help/#comment-6610</guid>
		<description>Okay.  I setup a test page to submit the form - I assume we have the comments form submit to the php page using the above code INSTEAD OF mt-comments.cgi??   

Doing that I got the php page with the form to display all the right fields, but not send the email.   There were also no comments submitted to mt-comments.cgi.  Is that where I should be at?  I just want to make sure we&#039;re on the same page before I start. lol.  

If so, we need to figure out why exactly the file isn&#039;t being parsed correctly and how to pass the comment information along to mt-comments.cgi ?</description>
		<content:encoded><![CDATA[<p>Okay.  I setup a test page to submit the form &#8211; I assume we have the comments form submit to the php page using the above code INSTEAD OF mt-comments.cgi??   </p>
<p>Doing that I got the php page with the form to display all the right fields, but not send the email.   There were also no comments submitted to mt-comments.cgi.  Is that where I should be at?  I just want to make sure we&#039;re on the same page before I start. lol.  </p>
<p>If so, we need to figure out why exactly the file isn&#039;t being parsed correctly and how to pass the comment information along to mt-comments.cgi ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lynda</title>
		<link>http://www.scriptygoddess.com/archives/2002/05/04/subscribe-to-comments-in-mt-call-for-help/comment-page-1/#comment-6621</link>
		<dc:creator>Lynda</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/05/04/subscribe-to-comments-in-mt-call-for-help/#comment-6621</guid>
		<description>I must have left an h3 tag open.

I got it to work fully with my test runs, so if you come into any problems, please let me know. :)</description>
		<content:encoded><![CDATA[<p>I must have left an h3 tag open.</p>
<p>I got it to work fully with my test runs, so if you come into any problems, please let me know. <img src='http://www.scriptygoddess.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: &#12458;&#12531;&#12521;&#12452;&#12531;&#12459;&#12472;&#12494;</title>
		<link>http://www.scriptygoddess.com/archives/2002/05/04/subscribe-to-comments-in-mt-call-for-help/comment-page-1/#comment-6622</link>
		<dc:creator>&#12458;&#12531;&#12521;&#12452;&#12531;&#12459;&#12472;&#12494;</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/05/04/subscribe-to-comments-in-mt-call-for-help/#comment-6622</guid>
		<description>I had it going to two of my email addresses. For some reason, when I send it FROM lynda@digitalwoe.com, it comes up with all that blank stuff, but if I make up an address, it works fine. It probably has something to do with my server though, not the script.
</description>
		<content:encoded><![CDATA[<p>I had it going to two of my email addresses. For some reason, when I send it FROM <a href="mailto:lynda@digitalwoe.com">lynda@digitalwoe.com</a>, it comes up with all that blank stuff, but if I make up an address, it works fine. It probably has something to do with my server though, not the script.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jennifer</title>
		<link>http://www.scriptygoddess.com/archives/2002/05/04/subscribe-to-comments-in-mt-call-for-help/comment-page-1/#comment-6620</link>
		<dc:creator>Jennifer</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/05/04/subscribe-to-comments-in-mt-call-for-help/#comment-6620</guid>
		<description>LOL!! I go out for an afternoon... and look at all that you did!! DAMN! NICE job!!!

I&#039;m going to read through all this and see where we are (and if it&#039;s working implement it here on scriptygoddess) :D</description>
		<content:encoded><![CDATA[<p>LOL!! I go out for an afternoon&#8230; and look at all that you did!! DAMN! NICE job!!!</p>
<p>I&#039;m going to read through all this and see where we are (and if it&#039;s working implement it here on scriptygoddess) <img src='http://www.scriptygoddess.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lynda</title>
		<link>http://www.scriptygoddess.com/archives/2002/05/04/subscribe-to-comments-in-mt-call-for-help/comment-page-1/#comment-6619</link>
		<dc:creator>Lynda</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/05/04/subscribe-to-comments-in-mt-call-for-help/#comment-6619</guid>
		<description>Okay, woot!  I got the meat of the subscribe/unsubscribe.  One more thing I&#039;d like to add to the subscribe is to check for duplicates and eliminate them.  There&#039;s a unique array function, but I haven&#039;t fiddled with it yet.

Here&#039;s what I have so far - you can put the subscribe.php script inside the sendcomment script and execute the ability to subscribe/unsubscribe to comments either WHEN someone posts and also separately.

&lt;h3&gt;&lt;?
$fileString = &quot;/home/pathto/comment_folder/$entry_id.txt&quot;;&lt;/h3&gt;

&lt;h3&gt;###################
/* This code, line for line says that if the variable equals subscribe, then open up the above file in APPEND mode (make additions).  If the file doesn&#039;t exist, create one.  Trim the email address, then put it at the end of the file and include a line break, then close the file.  */
###################&lt;/h3&gt;

&lt;h3&gt;if ($subscribe) 
{
     $file = fopen($fileString, &quot;a&quot;); 
     if ($file) 
     {
          $email = trim($email);
          fputs($file, &quot;$email&#092;n&quot;);
          fclose($file);
     } 
}&lt;/h3&gt;

&lt;h3&gt;###################
/* This code, line for line says that if the above file exists (otherwise it gives me errors) and then if the variable equals unsubscribe, then put the file into an array.  Then open up the file in WRITE mode (overwrite previous file).  If that array exists, then reassign the array to a new varaible, $oldemail.  Trim the oldemail varable to remove the line breaks.  Then if the oldemail address does NOT equal the unsubscription email address, write it to the file, then close the file.   This basically just rewrites the entire file MINUS the unsubsription address.  Probably not the best method of doing things.  Any improvements would be appreciated.  */
###################&lt;/h3&gt;

&lt;h3&gt;if (file_exists($fileString)) 
{
     if ($unsubscribe) 
     {
          $array = file($fileString);
          $file = fopen($fileString, &quot;w&quot;); 
          if ($array) 
          {
               foreach($array as $oldemail) 
               {
                    $oldemail = trim($oldemail);
                    if ($oldemail != $email) fputs($file, &quot;$oldemail&#092;n&quot;);
                }
                fclose ($file);
           }
      }
}
?&gt;&lt;/h3&gt;</description>
		<content:encoded><![CDATA[<p>Okay, woot!  I got the meat of the subscribe/unsubscribe.  One more thing I&#039;d like to add to the subscribe is to check for duplicates and eliminate them.  There&#039;s a unique array function, but I haven&#039;t fiddled with it yet.</p>
<p>Here&#039;s what I have so far &#8211; you can put the subscribe.php script inside the sendcomment script and execute the ability to subscribe/unsubscribe to comments either WHEN someone posts and also separately.</p>
<h3>&lt;?<br />
$fileString = &#034;/home/pathto/comment_folder/$entry_id.txt&#034;;</h3>
<h3>###################<br />
/* This code, line for line says that if the variable equals subscribe, then open up the above file in APPEND mode (make additions).  If the file doesn&#039;t exist, create one.  Trim the email address, then put it at the end of the file and include a line break, then close the file.  */<br />
###################</h3>
<h3>if ($subscribe)<br />
{<br />
     $file = fopen($fileString, &#034;a&#034;);<br />
     if ($file)<br />
     {<br />
          $email = trim($email);<br />
          fputs($file, &#034;$email&#92;n&#034;);<br />
          fclose($file);<br />
     }<br />
}</h3>
<h3>###################<br />
/* This code, line for line says that if the above file exists (otherwise it gives me errors) and then if the variable equals unsubscribe, then put the file into an array.  Then open up the file in WRITE mode (overwrite previous file).  If that array exists, then reassign the array to a new varaible, $oldemail.  Trim the oldemail varable to remove the line breaks.  Then if the oldemail address does NOT equal the unsubscription email address, write it to the file, then close the file.   This basically just rewrites the entire file MINUS the unsubsription address.  Probably not the best method of doing things.  Any improvements would be appreciated.  */<br />
###################</h3>
<h3>if (file_exists($fileString))<br />
{<br />
     if ($unsubscribe)<br />
     {<br />
          $array = file($fileString);<br />
          $file = fopen($fileString, &#034;w&#034;);<br />
          if ($array)<br />
          {<br />
               foreach($array as $oldemail)<br />
               {<br />
                    $oldemail = trim($oldemail);<br />
                    if ($oldemail != $email) fputs($file, &#034;$oldemail&#92;n&#034;);<br />
                }<br />
                fclose ($file);<br />
           }<br />
      }<br />
}<br />
?&gt;</h3>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lynda</title>
		<link>http://www.scriptygoddess.com/archives/2002/05/04/subscribe-to-comments-in-mt-call-for-help/comment-page-1/#comment-6618</link>
		<dc:creator>Lynda</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/05/04/subscribe-to-comments-in-mt-call-for-help/#comment-6618</guid>
		<description>lol.  the subscribe script should obviously have php openers and closers to it.  I accidentally replaced the ampersand with the % and that didn&#039;t come out right.</description>
		<content:encoded><![CDATA[<p>lol.  the subscribe script should obviously have php openers and closers to it.  I accidentally replaced the ampersand with the % and that didn&#039;t come out right.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lynda</title>
		<link>http://www.scriptygoddess.com/archives/2002/05/04/subscribe-to-comments-in-mt-call-for-help/comment-page-1/#comment-6611</link>
		<dc:creator>Lynda</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/05/04/subscribe-to-comments-in-mt-call-for-help/#comment-6611</guid>
		<description>Okay, I got the email list file to be READ by just doing this:

$emailList = file(&quot;$fileString&quot;);

Instead of parse_ini_file.   Does that get us any closer?  It still isn&#039;t sending the mail out - off to tackle that battle next with my trusty old friend php.net. hehe

So close and yet so far! 

GREAT job on this Jenn.  I wish I had your brain. :)</description>
		<content:encoded><![CDATA[<p>Okay, I got the email list file to be READ by just doing this:</p>
<p>$emailList = file(&#034;$fileString&#034;);</p>
<p>Instead of parse_ini_file.   Does that get us any closer?  It still isn&#039;t sending the mail out &#8211; off to tackle that battle next with my trusty old friend php.net. hehe</p>
<p>So close and yet so far! </p>
<p>GREAT job on this Jenn.  I wish I had your brain. <img src='http://www.scriptygoddess.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lynda</title>
		<link>http://www.scriptygoddess.com/archives/2002/05/04/subscribe-to-comments-in-mt-call-for-help/comment-page-1/#comment-6612</link>
		<dc:creator>Lynda</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/05/04/subscribe-to-comments-in-mt-call-for-help/#comment-6612</guid>
		<description>Okay - next.  I got emails to be sent to me from the list by replacing this:

&lt;b&gt;if (!strcasecmp($isSent, &quot;false&quot;)) {&lt;/b&gt;

with this:

&lt;b&gt;if (!isset($isSent)) {&lt;/b&gt;

I&#039;m not sure if that&#039;s the effect you wanted, but basically mine says &quot;If the value isSent has not been assigned yet, do this&quot;

I&#039;m getting two emails per &quot;comment&quot; though - one from lynda@digitalwoe.com with &quot;New Comment on 1356&quot; in the subject and one from &quot;Nobody&quot; with nothing at all in the subject, but both the Subject: and From: fields INSIDE the email.

I think we might be getting closer?</description>
		<content:encoded><![CDATA[<p>Okay &#8211; next.  I got emails to be sent to me from the list by replacing this:</p>
<p><b>if (!strcasecmp($isSent, &#034;false&#034;)) {</b></p>
<p>with this:</p>
<p><b>if (!isset($isSent)) {</b></p>
<p>I&#039;m not sure if that&#039;s the effect you wanted, but basically mine says &#034;If the value isSent has not been assigned yet, do this&#034;</p>
<p>I&#039;m getting two emails per &#034;comment&#034; though &#8211; one from <a href="mailto:lynda@digitalwoe.com">lynda@digitalwoe.com</a> with &#034;New Comment on 1356&#034; in the subject and one from &#034;Nobody&#034; with nothing at all in the subject, but both the Subject: and From: fields INSIDE the email.</p>
<p>I think we might be getting closer?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lynda</title>
		<link>http://www.scriptygoddess.com/archives/2002/05/04/subscribe-to-comments-in-mt-call-for-help/comment-page-1/#comment-6617</link>
		<dc:creator>Lynda</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/05/04/subscribe-to-comments-in-mt-call-for-help/#comment-6617</guid>
		<description>Okay, I changed things around a bit as far as the file that&#039;s called up just because I didn&#039;t see any sense in breaking it up and ini files scare me.  I assume these can be changed back.   Otherwise, everything works!  

Here&#039;s what I have for the subscribe script:

&lt;h3&gt;%lt;?
$fileString = &quot;/home/pathto/comment_subscribe_folder/$entry_id.txt&quot;;
$file = fopen(&quot;$fileString&quot;, &quot;a+&quot;); 
if ($file) {
fputs($file, $email);
fputs($file, &quot;&#092;n&quot;);
fclose($file);
} 
?%gt;&lt;/h3&gt;

It will try to open the file and if it doesn&#039;t exist, it will create it.  Then it will put the email address and a line break in there before closing the file.

The good thing about this is you can create a separate subscription.php or whatever for people who don&#039;t want to leave comments to subscribe to the thread 

*AND* you can put another line in your comments form like this:

&lt;h3&gt;&lt;input type=&quot;checkbox&quot; name=&quot;subscribe&quot; value=&quot;yes&quot; /&gt; &lt;span&gt;Subscribe to comments?&lt;/span&gt;&lt;/h3&gt;

then include the snippet in the sendcomments.php file like so (this is my entire file, to show all the changes I&#039;ve made):

&lt;h3&gt;&lt;?
$fileString = &quot;/home/lynda/public_html/posh/$entry_id.txt&quot;;&lt;/h3&gt;

&lt;h3&gt;if ($subscribe) {
$file = fopen(&quot;$fileString&quot;, &quot;a+&quot;); 
if ($file) {
fputs($file, $email);
fputs($file, &quot;&#092;n&quot;);
fclose($file);
} 
}&lt;/h3&gt;

&lt;h3&gt;if (file_exists($fileString)) {
$emailList = file(&quot;$fileString&quot;);
$count = count($emailList);
}
if (!isset($isSent)) {&lt;/h3&gt;

&lt;h3&gt;for ($i = 0; $i &lt; $count; $i++) {
mail(&quot;$emailList[$i]&quot;, &quot;New Comment on $entry_id&quot;, &quot;Author: $author&#092;ncomment: $text&quot;, &quot;From: comments@digitalwoe.com&quot;);
}&lt;/h3&gt;

&lt;h3&gt;$submitForm = &quot;document.comments_form.submit()&quot;;
$isSent = true;
} else {
$submitForm = &quot;document.location=&#039;http://posh.digitalwoe.com&#039;&quot;;
/*
I put this here in case someone tried to reload THIS page... 
that way the $isSent variable is set to true (at the bottom)... 
and the form won&#039;t process again post the comment again
and annoy people with bogus emails
*/
}
?&gt;
&lt;html&gt;&lt;head&gt;&lt;title&gt;&lt;/title&gt;&lt;/head&gt;&lt;body onLoad=&quot;&lt;? echo $submitForm ?&gt;&quot;&gt;&lt;/h3&gt;


&lt;h3&gt;&lt;form method=&quot;post&quot; action=&quot;http://www.digitalwoe.com/cgi-bin/mt-comments.cgi&quot; name=&quot;comments_form&quot;&gt;
&lt;input type=&quot;hidden&quot; name=&quot;static&quot; value=&quot;&lt;? echo $static ?&gt;&quot; /&gt;
&lt;input type=&quot;hidden&quot; name=&quot;entry_id&quot; value=&quot;&lt;? echo $entry_id ?&gt;&quot; /&gt;
&lt;input type=&quot;hidden&quot; name=&quot;ipadd&quot; value=&quot;&lt;? echo $ip ?&gt;&quot; /&gt;
&lt;input type=&quot;hidden&quot; name=&quot;author&quot; value=&quot;&lt;? echo $author ?&gt;&quot; /&gt;
&lt;input type=&quot;hidden&quot; name=&quot;email&quot; value=&quot;&lt;? echo $email ?&gt;&quot; /&gt;
&lt;input type=&quot;hidden&quot; name=&quot;url&quot; value=&quot;&lt;? echo $url ?&gt;&quot; /&gt;
&lt;input type=&quot;hidden&quot; name=&quot;text&quot; value=&quot;&lt;? echo $text ?&gt;&quot; /&gt;
&lt;input type=&quot;hidden&quot; name=&quot;post&quot; value=&quot;submit&quot; /&gt;
&lt;/form&gt;
&lt;?
$isSent = &quot;true&quot;;
?&gt;
&lt;/body&gt;&lt;/h3&gt;

===========================

There&#039;s one problem I forsee - how to let users unsubscribe?

I assume it is possible to create a script to:
1) open a file
2) search the file for the string (the email address)
3) remove the string from the file
4) close the file

Once we do the unsubscribe, this will be a very functional script!  Greymatter users will be able to use it as well!!!   Perhaps once we get this rock solid, I&#039;ll write up GM specific directions.

Awesome, awesome.  (I know, I was being a spoiled sport before. lol)</description>
		<content:encoded><![CDATA[<p>Okay, I changed things around a bit as far as the file that&#039;s called up just because I didn&#039;t see any sense in breaking it up and ini files scare me.  I assume these can be changed back.   Otherwise, everything works!  </p>
<p>Here&#039;s what I have for the subscribe script:</p>
<h3>%lt;?<br />
$fileString = &#034;/home/pathto/comment_subscribe_folder/$entry_id.txt&#034;;<br />
$file = fopen(&#034;$fileString&#034;, &#034;a+&#034;);<br />
if ($file) {<br />
fputs($file, $email);<br />
fputs($file, &#034;&#92;n&#034;);<br />
fclose($file);<br />
}<br />
?%gt;</h3>
<p>It will try to open the file and if it doesn&#039;t exist, it will create it.  Then it will put the email address and a line break in there before closing the file.</p>
<p>The good thing about this is you can create a separate subscription.php or whatever for people who don&#039;t want to leave comments to subscribe to the thread </p>
<p>*AND* you can put another line in your comments form like this:</p>
<h3>&lt;input type=&#034;checkbox&#034; name=&#034;subscribe&#034; value=&#034;yes&#034; /&gt; &lt;span&gt;Subscribe to comments?&lt;/span&gt;</h3>
<p>then include the snippet in the sendcomments.php file like so (this is my entire file, to show all the changes I&#039;ve made):</p>
<h3>&lt;?<br />
$fileString = &#034;/home/lynda/public_html/posh/$entry_id.txt&#034;;</h3>
<h3>if ($subscribe) {<br />
$file = fopen(&#034;$fileString&#034;, &#034;a+&#034;);<br />
if ($file) {<br />
fputs($file, $email);<br />
fputs($file, &#034;&#92;n&#034;);<br />
fclose($file);<br />
}<br />
}</h3>
<h3>if (file_exists($fileString)) {<br />
$emailList = file(&#034;$fileString&#034;);<br />
$count = count($emailList);<br />
}<br />
if (!isset($isSent)) {</h3>
<h3>for ($i = 0; $i &lt; $count; $i++) {<br />
mail(&#034;$emailList[$i]&#034;, &#034;New Comment on $entry_id&#034;, &#034;Author: $author&#92;ncomment: $text&#034;, &#034;From: <a href="mailto:comments@digitalwoe.com">comments@digitalwoe.com</a>&#034;);<br />
}</h3>
<h3>$submitForm = &#034;document.comments_form.submit()&#034;;<br />
$isSent = true;<br />
} else {<br />
$submitForm = &#034;document.location=&#039;http://posh.digitalwoe.com&#039;&#034;;<br />
/*<br />
I put this here in case someone tried to reload THIS page&#8230;<br />
that way the $isSent variable is set to true (at the bottom)&#8230;<br />
and the form won&#039;t process again post the comment again<br />
and annoy people with bogus emails<br />
*/<br />
}<br />
?&gt;<br />
&lt;html&gt;&lt;head&gt;&lt;title&gt;&lt;/title&gt;&lt;/head&gt;&lt;body onLoad=&#034;&lt;? echo $submitForm ?&gt;&#034;&gt;</h3>
<h3>&lt;form method=&#034;post&#034; action=&#034;http://www.digitalwoe.com/cgi-bin/mt-comments.cgi&#034; name=&#034;comments_form&#034;&gt;<br />
&lt;input type=&#034;hidden&#034; name=&#034;static&#034; value=&#034;&lt;? echo $static ?&gt;&#034; /&gt;<br />
&lt;input type=&#034;hidden&#034; name=&#034;entry_id&#034; value=&#034;&lt;? echo $entry_id ?&gt;&#034; /&gt;<br />
&lt;input type=&#034;hidden&#034; name=&#034;ipadd&#034; value=&#034;&lt;? echo $ip ?&gt;&#034; /&gt;<br />
&lt;input type=&#034;hidden&#034; name=&#034;author&#034; value=&#034;&lt;? echo $author ?&gt;&#034; /&gt;<br />
&lt;input type=&#034;hidden&#034; name=&#034;email&#034; value=&#034;&lt;? echo $email ?&gt;&#034; /&gt;<br />
&lt;input type=&#034;hidden&#034; name=&#034;url&#034; value=&#034;&lt;? echo $url ?&gt;&#034; /&gt;<br />
&lt;input type=&#034;hidden&#034; name=&#034;text&#034; value=&#034;&lt;? echo $text ?&gt;&#034; /&gt;<br />
&lt;input type=&#034;hidden&#034; name=&#034;post&#034; value=&#034;submit&#034; /&gt;<br />
&lt;/form&gt;<br />
&lt;?<br />
$isSent = &#034;true&#034;;<br />
?&gt;<br />
&lt;/body&gt;</h3>
<p>===========================</p>
<p>There&#039;s one problem I forsee &#8211; how to let users unsubscribe?</p>
<p>I assume it is possible to create a script to:<br />
1) open a file<br />
2) search the file for the string (the email address)<br />
3) remove the string from the file<br />
4) close the file</p>
<p>Once we do the unsubscribe, this will be a very functional script!  Greymatter users will be able to use it as well!!!   Perhaps once we get this rock solid, I&#039;ll write up GM specific directions.</p>
<p>Awesome, awesome.  (I know, I was being a spoiled sport before. lol)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lynda</title>
		<link>http://www.scriptygoddess.com/archives/2002/05/04/subscribe-to-comments-in-mt-call-for-help/comment-page-1/#comment-6614</link>
		<dc:creator>Lynda</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2002/05/04/subscribe-to-comments-in-mt-call-for-help/#comment-6614</guid>
		<description>what a moron am I?  That&#039;s what the body onload thing is.  I took that out for testing purposes. hehe.  Let&#039;s add that back and see what we get..</description>
		<content:encoded><![CDATA[<p>what a moron am I?  That&#039;s what the body onload thing is.  I took that out for testing purposes. hehe.  Let&#039;s add that back and see what we get..</p>
]]></content:encoded>
	</item>
</channel>
</rss>

