<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1040742" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1040742</link>
    <description></description>
    <language>en</language>
          <item>
    <title>My pleasure! 
If it works</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/how-do-i-use-my-websites-theme-or-template-my-php-contac#comment-1228782</link>
    <description> &lt;p&gt;My pleasure! &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;If it works and you&#039;re happy, fine. Also if some third party thingy created your form for you, it&#039;s probably better to just include it, then if you create a new form you just have to overwrite the existing file.&lt;/p&gt;
 </description>
     <pubDate>Mon, 25 Feb 2008 20:03:19 +0000</pubDate>
 <dc:creator>JeevesBond</dc:creator>
 <guid isPermaLink="false">comment 1228782 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Oh legend, it works 
Yeah, I</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/how-do-i-use-my-websites-theme-or-template-my-php-contac#comment-1228770</link>
    <description> &lt;p&gt;Oh legend, it works &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/big.png&quot; title=&quot;Laughing out loud&quot; alt=&quot;Laughing out loud&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Yeah, I dont know how to do the styling, I didnt do it, sitegrinder did it. Put it all in a common.css file, and I tried to link the contact.php to that file, but all it gave me was the background.&lt;/p&gt;
&lt;p&gt;But ill leave it this way, works great &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/big.png&quot; title=&quot;Laughing out loud&quot; alt=&quot;Laughing out loud&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Thanks Jeeves &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/big.png&quot; title=&quot;Laughing out loud&quot; alt=&quot;Laughing out loud&quot; class=&quot;smiley-content&quot; /&gt;..&lt;/p&gt;
 </description>
     <pubDate>Mon, 25 Feb 2008 09:53:55 +0000</pubDate>
 <dc:creator>DSSR</dc:creator>
 <guid isPermaLink="false">comment 1228770 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Ooops, think I got this</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/how-do-i-use-my-websites-theme-or-template-my-php-contac#comment-1228766</link>
    <description> &lt;p&gt;Ooops, think I got this wrong. Try:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;include &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;contact.php&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;That will work, but you only really need one file for a contact page. It would probably be better to just copy the styling, headings, sidebars etc. into your contact.php&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;I tried it, but wehre do I put the code? header, or place I want the form to appear?&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Where you want the form to appear. It will literally pull the whole contents of contact.php into twtcontact.php.&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;I couldnt name it contact.php because I already have a file contact.php with the form in it. So I named it twtcontact.php instead. it says its not there, but it mustbe otherwise the page wouldnt have opened right?&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;It&#039;s saying contact.php doesn&#039;t exist, but it&#039;s really having problems because I forgot the inch marks around the &lt;code&gt;contact.php&lt;/code&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;
 </description>
     <pubDate>Mon, 25 Feb 2008 04:10:36 +0000</pubDate>
 <dc:creator>JeevesBond</dc:creator>
 <guid isPermaLink="false">comment 1228766 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Thanks Jeeves
I tried it,</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/how-do-i-use-my-websites-theme-or-template-my-php-contac#comment-1228764</link>
    <description> &lt;p&gt;Thanks Jeeves&lt;/p&gt;
&lt;p&gt;I tried it, but wehre do I put the code? header, or place I want the form to appear?&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://twtcouriers.only-the-truth.com/twtcontact.php&quot; title=&quot;http://twtcouriers.only-the-truth.com/twtcontact.php&quot;&gt;http://twtcouriers.only-the-truth.com/twtcontact.php&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Got errors.&lt;/p&gt;
&lt;p&gt;Warning: main(contactphp): failed to open stream: No such file or directory in D:\Inetpub\vhosts\only-the-truth.com\subdomains\twtcouriers\httpdocs\twtcontact.php on line 28&lt;/p&gt;
&lt;p&gt;Warning: main(): Failed opening &#039;contactphp&#039; for inclusion (include_path=&#039;.;./includes;./pear&#039;) in D:\Inetpub\vhosts\only-the-truth.com\subdomains\twtcouriers\httpdocs\twtcontact.php on line 28&lt;/p&gt;
&lt;p&gt;I couldnt name it contact.php because I already have a file contact.php with the form in it. So I named it twtcontact.php instead. it says its not there, but it mustbe otherwise the page wouldnt have opened right?&lt;/p&gt;
&lt;p&gt;I also changed the formfile.php to contact.php.&lt;/p&gt;
&lt;p&gt;You know where im going wrong bud?&lt;/p&gt;
 </description>
     <pubDate>Mon, 25 Feb 2008 01:06:43 +0000</pubDate>
 <dc:creator>DSSR</dc:creator>
 <guid isPermaLink="false">comment 1228764 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Your form should be in a PHP</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/how-do-i-use-my-websites-theme-or-template-my-php-contac#comment-1228759</link>
    <description> &lt;p&gt;Your form should be in a PHP file, you can edit that file to contain the same tags (heading area, sidebars and what not) as the rest of the pages on the site.&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;Can I link to this form somehow and make it show up in an xhtml or html page I choose?&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Hmmm, possibly, but it will have to be a file with the name ending: &lt;code&gt;.php&lt;/code&gt;, it&#039;s possible that Apache has been setup on your server to also treat &lt;code&gt;.html&lt;/code&gt; files as PHP, although this configuration is uncommon.&lt;/p&gt;
&lt;p&gt;Try making a copy of your chosen xhtml/html page to &lt;code&gt;test.php&lt;/code&gt;, then add the following code:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;include &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;formfile&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;php&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;You&#039;ll need to change &lt;code&gt;formfile.php&lt;/code&gt; to the name of the file your form is in. Hope this makes sense. &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;
 </description>
     <pubDate>Sun, 24 Feb 2008 23:40:02 +0000</pubDate>
 <dc:creator>JeevesBond</dc:creator>
 <guid isPermaLink="false">comment 1228759 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>I want to put this php form,</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/how-do-i-use-my-websites-theme-or-template-my-php-contac#comment-1228756</link>
    <description> &lt;p&gt;I want to put this php form, into my contact page so it has my header, buttons exactly looking like my site does, but with the form in the text area.&lt;/p&gt;
&lt;p&gt;My contact page is xhtml.&lt;/p&gt;
&lt;p&gt;Can I link to this form somehow and make it show up in an xhtml or html page I choose? So I can have the form showup exactly where I want it in my page? So i dont have to theme it with css, because my pages are already using css?&lt;/p&gt;
 </description>
     <pubDate>Sun, 24 Feb 2008 22:00:54 +0000</pubDate>
 <dc:creator>DSSR</dc:creator>
 <guid isPermaLink="false">comment 1228756 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>It depends on what script</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/how-do-i-use-my-websites-theme-or-template-my-php-contac#comment-1228753</link>
    <description> &lt;p&gt;It depends on what script you are using for your contact form and what the rest of your site is using.&lt;/p&gt;
&lt;p&gt;You will most-likely have to edit the files of your contact form to match the rest of your site.&lt;/p&gt;
 </description>
     <pubDate>Sun, 24 Feb 2008 20:31:07 +0000</pubDate>
 <dc:creator>pr0gr4mm3r</dc:creator>
 <guid isPermaLink="false">comment 1228753 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
