<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1012328" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1012328</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/feedback-forms#comment-1071121</link>
    <description> &lt;p&gt;ggogggo-&lt;br /&gt;
Yes, that is how it should work.&lt;/p&gt;
&lt;p&gt;Earlier today, I looked at bizland.com and couldn&#039;t find any documentation on what stuff they support.&lt;/p&gt;
&lt;p&gt;My advice is to contact someone and ask what they support (CGI, PHP, SSI, etc.).  Or you could try the phpinfo() thing.  That is like a fail proof thing.  (As far as I know) no matter the version of PHP that is running, that will show all the available info.  (Only if PHP is supported).&lt;/p&gt;
&lt;p&gt;Anyone interested in PHP?  I do recommend php.net as a desk-reference.  I&#039;ve had no problem finding info on functions.  And usually, it&#039;s good enough to slap some sense into me.&lt;/p&gt;
 </description>
     <pubDate>Thu, 14 Sep 2000 05:25:24 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1071121 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>sorry, but how exactly......</title>
    <link>https://www.webmaster-forums.net/serverside-scripting/feedback-forms#comment-1071047</link>
    <description> &lt;p&gt;max,&lt;br /&gt;
is should write (mail.php) code, save it as &quot;mail.php&quot;, upload it in the same dir where the html with&lt;br /&gt;
 tag is and it should work?&lt;br /&gt;
is that right&lt;br /&gt;
i just did it on a free host server and it doesn&#039;t work?&lt;br /&gt;
where am i wrong?&lt;br /&gt;
or it&#039;s because of the host (it&#039;s bizland.com)&lt;br /&gt;
thanks&lt;/p&gt;
 </description>
     <pubDate>Wed, 13 Sep 2000 16:25:06 +0000</pubDate>
 <dc:creator>ggogggo</dc:creator>
 <guid isPermaLink="false">comment 1071047 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/feedback-forms#comment-1071038</link>
    <description> &lt;p&gt;Wow,&lt;/p&gt;
&lt;p&gt;that is really neat, I really like that.&lt;/p&gt;
&lt;p&gt;Is there any way that you can configure that so you can see what other peoples servers are running&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;?&lt;br /&gt;phpinfo();&lt;br /&gt;add host name here or something&lt;br /&gt;?&amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;if you could tell me any other little tricks of the trade  would love to know !&lt;br /&gt;
&lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;thanks a lot&lt;/p&gt;
&lt;p&gt;~Ben&lt;/p&gt;
 </description>
     <pubDate>Wed, 13 Sep 2000 09:49:58 +0000</pubDate>
 <dc:creator>visordown</dc:creator>
 <guid isPermaLink="false">comment 1071038 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/feedback-forms#comment-1071026</link>
    <description> &lt;p&gt;create a file, name it whatever... but make the extension &#039;.php&#039; or &#039;.php3&#039;&lt;/p&gt;
&lt;p&gt;put this in it..&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;?&lt;br /&gt;phpinfo();&lt;br /&gt;?&amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;Now point your browser to it.  If your running PHP, this will show you ALL the information you could ever want about how your server has PHP configured.&lt;/p&gt;
&lt;p&gt;Easy, huh?&lt;/p&gt;
&lt;p&gt;also, I forgot to send the visitor somewhere after the mail is sent...&lt;br /&gt;
just add this after the mail() line:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;Header(&amp;quot;Location: your.com/here.html&amp;quot;);&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
 </description>
     <pubDate>Wed, 13 Sep 2000 05:36:47 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1071026 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/feedback-forms#comment-1071000</link>
    <description> &lt;p&gt;Yeah i think that my server does run PHP how can i check is there a website where you can check what server you are running ?&lt;/p&gt;
 </description>
     <pubDate>Tue, 12 Sep 2000 23:32:28 +0000</pubDate>
 <dc:creator>visordown</dc:creator>
 <guid isPermaLink="false">comment 1071000 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/feedback-forms#comment-1070999</link>
    <description> &lt;p&gt;PHP is better!  If your server supports it, look into a PHP emailer.&lt;/p&gt;
&lt;p&gt;This is an example.  It should work, but you may want to get more etravagant.&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;(mail.php)&lt;br /&gt;&lt;br /&gt;if($field{&amp;#039;name&amp;#039;} &amp;amp;&amp;amp; $field{&amp;#039;email&amp;#039;} &amp;amp;&amp;amp; $field{&amp;#039;feedback&amp;#039;}) {&lt;br /&gt;# Put your email address here&lt;br /&gt;$MailTo = &amp;quot;you@your.com&amp;quot;;&lt;br /&gt;&lt;br /&gt;# Put the subject you want here&lt;br /&gt;$MailSubject = &amp;quot;My Subject Line&amp;quot;;&lt;br /&gt;&lt;br /&gt;# This is the message&lt;br /&gt;$MailMessage = $Message;&lt;br /&gt;&lt;br /&gt;# Add extra headers&lt;br /&gt;$MailExtra = &amp;quot;From: &amp;quot;.$Name.&amp;quot; &amp;lt;&amp;quot;.$Email.&amp;quot;&amp;gt;\n&amp;quot;;&lt;br /&gt;$MailExtra .= &amp;quot;Reply-To: &amp;quot;.$Email.&amp;quot;\n&amp;quot;;&lt;br /&gt;$MailExtra .= &amp;quot;Content-Type: text/plain\n&amp;quot;;&lt;br /&gt;&lt;br /&gt;# Send the mail!&lt;br /&gt;mail($MailTo, $MailSubject, $MailMessage, $MailExtra);&lt;br /&gt;}&lt;br /&gt;else {&lt;br /&gt;&lt;br /&gt;#Informing user to fill out all fields&lt;br /&gt;echo &amp;quot;Content-type:text/html\n\n&amp;quot;;	&lt;br /&gt;echo &amp;quot;&amp;lt;html&amp;gt;&amp;lt;title&amp;gt;Error with Feedback&amp;lt;/title&amp;gt;&amp;lt;body&amp;gt;&amp;lt;b&amp;gt;Please enter information in all of the fields. Press back&amp;lt;/b&amp;gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&amp;quot;;&lt;br /&gt;&lt;br /&gt;}&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;You can assign $MailTo, $MailSubject, $MailMessage to a variable that is passed via POST/GET, or set it to a string (i.e. &quot;My string&quot;)&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;(any html page)&lt;br /&gt;&lt;br /&gt;&amp;lt;form action=mail.php method=POST&amp;gt; &lt;br /&gt;&amp;lt;b&amp;gt;NAME&amp;lt;/b&amp;gt;: &amp;lt;input name=&amp;quot;Name&amp;quot; type=&amp;quot;text&amp;quot; maxlength=&amp;quot;30&amp;quot;&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;&amp;lt;b&amp;gt;EMAIL&amp;lt;/b&amp;gt;:&amp;lt;input name=&amp;quot;Email&amp;quot; type=&amp;quot;text&amp;quot; maxlength=&amp;quot;60&amp;quot;&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;&amp;lt;b&amp;gt;COMMENTS&amp;lt;/b&amp;gt;:&amp;lt;br&amp;gt; &lt;br /&gt;&amp;lt;textarea name=&amp;quot;Message&amp;quot; rows=10 cols=30 &amp;gt;&amp;lt;/textarea&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;&amp;lt;input type=&amp;quot;submit&amp;quot; value=&amp;quot;Send Feedback&amp;quot;&amp;gt; &lt;br /&gt;&amp;lt;/form&amp;gt; &lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;It can be that simple!  or.. you can have a whole lotta more fun.  You see, with PHP, there is no need to do all that work to get stuff from POST/GET... it does that for you.&lt;/p&gt;
 </description>
     <pubDate>Tue, 12 Sep 2000 23:28:46 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1070999 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/feedback-forms#comment-1070997</link>
    <description> &lt;p&gt;Add&lt;/p&gt;
&lt;p&gt;NAME:&lt;br /&gt;
EMAIL:&lt;br /&gt;
COMMENTS:&lt;/p&gt;
&lt;p&gt;to any html page.&lt;/p&gt;
&lt;p&gt;Than copy the whole code above, open notepad and paste. Edit the variables (ie &#039;$url&#039; and $your_email&#039;, and verify with your host that the path to sendmail is correct). Now,  name the file &#039;feedback.cgi&#039;.  Upload it to your cgi-bin and chmod it to 755 or 777.&lt;/p&gt;
&lt;p&gt;Hopefully it will work then.&lt;/p&gt;
 </description>
     <pubDate>Tue, 12 Sep 2000 23:01:14 +0000</pubDate>
 <dc:creator>Rob Pengelly</dc:creator>
 <guid isPermaLink="false">comment 1070997 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/feedback-forms#comment-1070996</link>
    <description> &lt;p&gt;Thanks a lot for that,&lt;/p&gt;
&lt;p&gt;do i just cut and paste the code into the body of a web page and go from there.&lt;/p&gt;
&lt;p&gt;What do i need to change for it to work for me ?&lt;/p&gt;
&lt;p&gt;thanks for being patient, I am learning, I am just slow !&lt;/p&gt;
 </description>
     <pubDate>Tue, 12 Sep 2000 22:44:01 +0000</pubDate>
 <dc:creator>visordown</dc:creator>
 <guid isPermaLink="false">comment 1070996 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/feedback-forms#comment-1070995</link>
    <description> &lt;p&gt;I wrote a really basic Feedback script which allows a user to input his name,email and feedback.  The script will than make sure the variables are not left empty, and send the email using sendmail.  If any of the fields are empty, an error message will show up.  The code has been tested, so it does work.&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;#!/usr/bin/perl&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#COPY/PASTE THE FOLLOWING HTML&lt;br /&gt;#&amp;lt;form action=&amp;quot;/cgi-bin/feedback.cgi&amp;quot; method=&amp;quot;POST&amp;quot;&amp;gt;&lt;br /&gt;#&amp;lt;b&amp;gt;NAME&amp;lt;/b&amp;gt;: &amp;lt;input name=&amp;quot;name&amp;quot; type=&amp;quot;text&amp;quot; maxlength=&amp;quot;30&amp;quot;&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;#&amp;lt;b&amp;gt;EMAIL&amp;lt;/b&amp;gt;:&amp;lt;input name=&amp;quot;email&amp;quot; type=&amp;quot;text&amp;quot; maxlength=&amp;quot;60&amp;quot;&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;#&amp;lt;b&amp;gt;COMMENTS&amp;lt;/b&amp;gt;:&amp;lt;br&amp;gt;&lt;br /&gt;#&amp;lt;textarea name=&amp;quot;feedback&amp;quot; rows=10 cols=30 &amp;gt;&amp;lt;/textarea&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;#&amp;lt;input type=&amp;quot;submit&amp;quot; value=&amp;quot;Send Feedback&amp;quot;&amp;gt;&lt;br /&gt;#&amp;lt;/form&amp;gt;&lt;br /&gt;$mail_prog = &amp;#039;/usr/lib/sendmail&amp;#039;; #Path to sendmail&lt;br /&gt;$your_email = &amp;#039;your@email.com&amp;#039;;#Email you want the feedback sent to&lt;br /&gt;$url = &amp;#039;http://www.google.com&amp;#039;; #URL user is forwarded to after he completes form&lt;br /&gt;&lt;br /&gt;#Parsing the input&lt;br /&gt;&amp;amp;parseinput;&lt;br /&gt;&lt;br /&gt;#Emailing Feedback if all of the variables are filled out&lt;br /&gt;if($field{&amp;#039;name&amp;#039;} &amp;amp;&amp;amp; $field{&amp;#039;email&amp;#039;} &amp;amp;&amp;amp; $field{&amp;#039;feedback&amp;#039;})&lt;br /&gt;{&lt;br /&gt;	&lt;br /&gt;	open (MAIL, &amp;quot;|$mail_prog -t&amp;quot;);&lt;br /&gt;	print MAIL &amp;quot;To: $your_email\n&amp;quot;;&lt;br /&gt;	print MAIL &amp;quot;Reply-to: $field{&amp;#039;email&amp;#039;}\n&amp;quot;;&lt;br /&gt;	print MAIL &amp;quot;From: $field{&amp;#039;name&amp;#039;}\n&amp;quot;;&lt;br /&gt;	print MAIL &amp;quot;Subject: Feedback\n&amp;quot;;&lt;br /&gt;	print MAIL &amp;quot;\n\n&amp;quot;;&lt;br /&gt;	print MAIL &amp;quot;IP: $ENV{&amp;#039;REMOTE_ADDR&amp;#039;}\n&amp;quot;;&lt;br /&gt;	print MAIL &amp;quot;Browser: $ENV{&amp;#039;HTTP_USER_AGENT&amp;#039;}\n&amp;quot;;&lt;br /&gt;	print MAIL &amp;quot;Name: $field{&amp;#039;name&amp;#039;}\n&amp;quot; ;&lt;br /&gt;	print MAIL &amp;quot;Email: $field{&amp;#039;email&amp;#039;}\n&amp;quot; ;&lt;br /&gt;	print MAIL &amp;quot;Feedback: $field{&amp;#039;feedback&amp;#039;}\n&amp;quot; ;&lt;br /&gt;	print MAIL &amp;quot;\n\n&amp;quot;;&lt;br /&gt;	close (MAIL);&lt;br /&gt;	print &amp;quot;Location: $url\nURI: $url\n\n&amp;quot; ;&lt;br /&gt;	&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;	#Informing user to fill out all fields&lt;br /&gt;	print &amp;quot;Content-type:text/html\n\n&amp;quot;;	&lt;br /&gt;	print &amp;#039;&amp;lt;html&amp;gt;&amp;lt;title&amp;gt;Error with Feedback&amp;lt;/title&amp;gt;&amp;lt;body&amp;gt;&amp;lt;b&amp;gt;Please enter information in all of the fields. Press back&amp;lt;/b&amp;gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&amp;#039;;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;sub parseinput {&lt;br /&gt;&lt;br /&gt;	(*fval) = @_ if @_ ;&lt;br /&gt;&lt;br /&gt;	local ($buf);&lt;br /&gt;	if ($ENV{&amp;#039;REQUEST_METHOD&amp;#039;} eq &amp;#039;POST&amp;#039;) {&lt;br /&gt;		read(STDIN,$buf,$ENV{&amp;#039;CONTENT_LENGTH&amp;#039;});&lt;br /&gt;	}&lt;br /&gt;	else {&lt;br /&gt;		$buf=$ENV{&amp;#039;QUERY_STRING&amp;#039;};&lt;br /&gt;	}&lt;br /&gt;	if ($buf eq &amp;quot;&amp;quot;) {&lt;br /&gt;			return 0 ;&lt;br /&gt;		}&lt;br /&gt;	else {&lt;br /&gt; 		@fval=split(/&amp;amp;/,$buf);&lt;br /&gt;		foreach $i (0 .. $#fval){&lt;br /&gt;			($name,$val)=split (/=/,$fval[$i],2);&lt;br /&gt;			$val=~tr/+/ /;&lt;br /&gt;			$val=~ s/%(..)/pack(&amp;quot;c&amp;quot;,hex($1))/ge;&lt;br /&gt;			$name=~tr/+/ /;&lt;br /&gt;			$name=~ s/%(..)/pack(&amp;quot;c&amp;quot;,hex($1))/ge;&lt;br /&gt;&lt;br /&gt;			if (!defined($field{$name})) {&lt;br /&gt;				$field{$name}=$val;&lt;br /&gt;			}&lt;br /&gt;			else {&lt;br /&gt;				$field{$name} .= &amp;quot;,$val&amp;quot;;&lt;br /&gt;				&lt;br /&gt;			&lt;br /&gt;			}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;		&amp;nbsp;&amp;nbsp; }&lt;br /&gt;		}&lt;br /&gt;return 1;&lt;br /&gt;}&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;If you have any questions, feel free to ask.&lt;/p&gt;
&lt;p&gt;Hope that helps.&lt;/p&gt;
 </description>
     <pubDate>Tue, 12 Sep 2000 22:31:20 +0000</pubDate>
 <dc:creator>Rob Pengelly</dc:creator>
 <guid isPermaLink="false">comment 1070995 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/feedback-forms#comment-1070994</link>
    <description> &lt;p&gt;Well all i really wanted was a feedback form code that was basic and the instructions on how to use it. I can then mess about with it, all i want it to do is submit the results to a mail account.&lt;/p&gt;
&lt;p&gt;now wheres that code &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/wink.png&quot; title=&quot;Wink&quot; alt=&quot;Wink&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;I am still trawling the net looking for a good tutorial&lt;/p&gt;
 </description>
     <pubDate>Tue, 12 Sep 2000 21:21:01 +0000</pubDate>
 <dc:creator>visordown</dc:creator>
 <guid isPermaLink="false">comment 1070994 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
