<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>WordPress &#8250; Support Tag: runphp</title>
<link>http://wordpress.org/support/</link>
<description>WordPress &#8250; Support Tag: runphp</description>
<language>en</language>
<pubDate>Tue, 24 Nov 2009 14:12:02 +0000</pubDate>

<item>
<title>wordswind on "RunPHP Help"</title>
<link>http://wordpress.org/support/topic/328077#post-1269322</link>
<pubDate>Wed, 04 Nov 2009 08:14:44 +0000</pubDate>
<dc:creator>wordswind</dc:creator>
<guid isPermaLink="false">1269322@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Did that but now it still says &#34;The plugin does not have a valid header.&#34; :(
&#60;/p&#62;</description>
</item>
<item>
<title>stvwlf on "RunPHP Help"</title>
<link>http://wordpress.org/support/topic/328077#post-1269294</link>
<pubDate>Wed, 04 Nov 2009 07:53:37 +0000</pubDate>
<dc:creator>stvwlf</dc:creator>
<guid isPermaLink="false">1269294@http://wordpress.org/support/</guid>
<description>&#60;p&#62;If you do a File/ View Source  on your browser menu bar and look at the code the browser is displaying you will see you indeed do have a &#60;code&#62;&#38;lt;body&#38;gt;&#60;/code&#62; tag.  Now you just have to find it.  If it is not in your header.php file, see if any files are &#34;Included&#34;   &#60;code&#62;&#38;lt;?php include (&#38;#39;...&#60;/code&#62; in header.php, and if so, look in those subsidiary files until you find the body tag.  Once you find it add &#60;code&#62;&#38;lt;?php wp_head(); ?&#38;gt;&#60;/code&#62; before it.
&#60;/p&#62;</description>
</item>
<item>
<title>wordswind on "RunPHP Help"</title>
<link>http://wordpress.org/support/topic/328077#post-1269260</link>
<pubDate>Wed, 04 Nov 2009 06:45:12 +0000</pubDate>
<dc:creator>wordswind</dc:creator>
<guid isPermaLink="false">1269260@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Apparently, I can't use the RunPHP plugin (so I can have php scripts/etc) because I am missing the following code in my header.php - now I went there, and looked for the &#60;code&#62;&#38;lt;body&#38;gt;&#60;/code&#62; tag to put it above there, but there isn't one.... Help?&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;?php wp_head(); ?&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;URL: &#60;a href=&#34;http://www.wordsonthewind.us/&#34; rel=&#34;nofollow&#34;&#62;http://www.wordsonthewind.us/&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>smgrainger on "PHP not running on pages even with plug-in. Please help!"</title>
<link>http://wordpress.org/support/topic/262081#post-1045473</link>
<pubDate>Tue, 14 Apr 2009 11:06:15 +0000</pubDate>
<dc:creator>smgrainger</dc:creator>
<guid isPermaLink="false">1045473@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;You can see the problem at &#60;a href=&#34;http://www.novajowhite.com/contact/&#34;&#62;http://www.novajowhite.com/contact/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I have installed the &#60;strong&#62;RunPHP&#60;/strong&#62; plug-in to get PHP working but it &#60;strong&#62;won't&#60;/strong&#62; run. The reason why I need it to run is to add a &#60;strong&#62;captcha&#60;/strong&#62; to my forms as I am getting tonnes of SPAM abuse which is really annoying.&#60;/p&#62;
&#60;p&#62;Can anybody help?&#60;/p&#62;
&#60;p&#62;Many Thanks,&#60;br /&#62;
Steven.
&#60;/p&#62;</description>
</item>
<item>
<title>caemusic on "Using php in posts?"</title>
<link>http://wordpress.org/support/topic/234721#post-957462</link>
<pubDate>Fri, 16 Jan 2009 04:38:21 +0000</pubDate>
<dc:creator>caemusic</dc:creator>
<guid isPermaLink="false">957462@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Sorry posted that in the wrong place. runphp worked. Great success!
&#60;/p&#62;</description>
</item>
<item>
<title>caemusic on "[Plugin: runPHP] Compatible with 2.7?"</title>
<link>http://wordpress.org/support/topic/234765#post-957461</link>
<pubDate>Fri, 16 Jan 2009 04:37:51 +0000</pubDate>
<dc:creator>caemusic</dc:creator>
<guid isPermaLink="false">957461@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I figured it out, the checkbox was in a different place on the option panel. Contrary to the Install instructions, the admin does not have this enabled by default in 2.7.
&#60;/p&#62;</description>
</item>
<item>
<title>caemusic on "Using php in posts?"</title>
<link>http://wordpress.org/support/topic/234721#post-957460</link>
<pubDate>Fri, 16 Jan 2009 04:36:38 +0000</pubDate>
<dc:creator>caemusic</dc:creator>
<guid isPermaLink="false">957460@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I figured it out, the checkbox was in a different place on the option panel. Contrary to the Install instructions, the admin does not have this enabled by default in 2.7.
&#60;/p&#62;</description>
</item>
<item>
<title>caemusic on "[Plugin: runPHP] Compatible with 2.7?"</title>
<link>http://wordpress.org/support/topic/234765#post-957455</link>
<pubDate>Fri, 16 Jan 2009 04:33:26 +0000</pubDate>
<dc:creator>caemusic</dc:creator>
<guid isPermaLink="false">957455@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Ok, I think I might see the problem. In Users &#38;gt; admin I see the following:&#60;/p&#62;
&#60;p&#62;Additional Capabilities	Denied: can_runPHP&#60;/p&#62;
&#60;p&#62;But it doesn't give me any options for this. Any ideas?
&#60;/p&#62;</description>
</item>
<item>
<title>caemusic on "[Plugin: runPHP] Compatible with 2.7?"</title>
<link>http://wordpress.org/support/topic/234765#post-957429</link>
<pubDate>Fri, 16 Jan 2009 04:01:22 +0000</pubDate>
<dc:creator>caemusic</dc:creator>
<guid isPermaLink="false">957429@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Does this plugin work with WP 2.7? Maybe I'm just missing something, but I'm able to figure out this step in the installation:&#60;/p&#62;
&#60;p&#62;&#34;Create a post and check the &#34;run PHP code?&#34; checkbox to enable PHP code to be dropped in to your post&#34;&#60;/p&#62;
&#60;p&#62;The checkbox doesn't show up anywhere when I create a new post. I'm using an admin account which can use runPHP by default, and I've checked the box in options to activate runPHP.&#60;/p&#62;
&#60;p&#62;Thanks!&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://wordpress.org/extend/plugins/runphp/&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/extend/plugins/runphp/&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>Dwords on "Using php in posts?"</title>
<link>http://wordpress.org/support/topic/234721#post-957398</link>
<pubDate>Fri, 16 Jan 2009 03:14:55 +0000</pubDate>
<dc:creator>Dwords</dc:creator>
<guid isPermaLink="false">957398@http://wordpress.org/support/</guid>
<description>&#60;p&#62;There might be a plugin that does what you want using shortcode [hide-this] something like this [/hide-this]&#60;/p&#62;
&#60;p&#62;But I don't know the name of that plugin, if it exists.&#60;/p&#62;
&#60;p&#62;If you want to run PHP inside a Post, I think you need to install a plugin like Run PHP,&#60;br /&#62;
&#60;a href=&#34;http://wordpress.org/extend/plugins/runphp/&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/extend/plugins/runphp/&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>caemusic on "Using php in posts?"</title>
<link>http://wordpress.org/support/topic/234721#post-957321</link>
<pubDate>Fri, 16 Jan 2009 02:03:47 +0000</pubDate>
<dc:creator>caemusic</dc:creator>
<guid isPermaLink="false">957321@http://wordpress.org/support/</guid>
<description>&#60;p&#62;It is possible to use php in posts?&#60;/p&#62;
&#60;p&#62;To be specific, I'm trying to display content conditionally based on whether the user is logged in (logged in users see supplementary material, unlike protection that hides the whole post). If there is a better way of doing this than including php in posts, please enlighten me!&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>loktakwah on "Urgent problem running PHP code in posts."</title>
<link>http://wordpress.org/support/topic/206738#post-863170</link>
<pubDate>Fri, 26 Sep 2008 19:27:21 +0000</pubDate>
<dc:creator>loktakwah</dc:creator>
<guid isPermaLink="false">863170@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I'm in a real bad spot atm and need some serious help.&#60;/p&#62;
&#60;p&#62;I was putting php code in posts in wordpress using a plugin: execPHP. &#60;/p&#62;
&#60;p&#62;Everything was working fine all day. I don't know what changed, but now, no PHP code is converting. I've tried two plugins, execPHP and runPHP, both with the same results.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.pokerjuke.com/?p=928&#34; rel=&#34;nofollow&#34;&#62;http://www.pokerjuke.com/?p=928&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The entire post of that was written in the regular html (not WYSIWYG).&#60;br /&#62;
The posts contents are:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;Learn how to correctly use a pushbot chart for late-stage tournament play.

&#38;lt;?php
global $userdata;
get_currentuserinfo();
$userid = $userdata-&#38;gt;ID;

echo (&#38;#39;&#38;lt;a href=&#38;quot;http://www.pokerjuke.com/buynew.php?subid=&#38;#39;.urlencode($userid).&#38;#39;&#38;#38;item=pushbotguide&#38;quot;&#38;gt;&#38;lt;span style=&#38;quot;color: blue;&#38;quot;&#38;gt;&#38;lt;span style=&#38;quot;text-decoration: underline;&#38;quot;&#38;gt;Pushbot Video Guide&#38;lt;/span&#38;gt;&#38;lt;/span&#38;gt;&#38;lt;/a&#38;gt;&#38;#39;);
?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;The things I fiddled with that could cause this issue:&#60;/p&#62;
&#60;p&#62;I unchecked the &#34;Use the visual editor when writing&#34; box in the admin panel.&#60;/p&#62;
&#60;p&#62;I changed roles of a user.  I know you can set user permissions to who can run php code.  The code was written by an admin with access.&#60;/p&#62;
&#60;p&#62;That's about all I did. The only reasonable thing I think that could have caused this is disabling the visual editor. I have checked the box again and tried making new posts but I still get the same problem. Plus, I remember viewing pages after making that change and they were fine. &#60;/p&#62;
&#60;p&#62;I don't remember editing anything at all in between when pages went from working to broken.&#60;/p&#62;
&#60;p&#62;I'm very worried that my site is going to need a complete rebuild now  Can anyone think of anything that might save me from that?
&#60;/p&#62;</description>
</item>
<item>
<title>helmutgranda on "I need some help with runPHP!  Thank You!"</title>
<link>http://wordpress.org/support/topic/187002#post-797148</link>
<pubDate>Sun, 06 Jul 2008 01:26:42 +0000</pubDate>
<dc:creator>helmutgranda</dc:creator>
<guid isPermaLink="false">797148@http://wordpress.org/support/</guid>
<description>&#60;p&#62;you need to look under Options (in the admin panel) you know when you log in in www  yoursite com / wp-admin.
&#60;/p&#62;</description>
</item>
<item>
<title>LD Web on "I need some help with runPHP!  Thank You!"</title>
<link>http://wordpress.org/support/topic/187002#post-797132</link>
<pubDate>Sun, 06 Jul 2008 00:54:45 +0000</pubDate>
<dc:creator>LD Web</dc:creator>
<guid isPermaLink="false">797132@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Hello everyone,&#60;/p&#62;
&#60;p&#62;I’m new to WP, I’m installing runPHP , I’m following this directions: &#60;a href=&#34;http://www.nosq.com/blog/runphp/runphp-manual/&#34;&#62;http://www.nosq.com/blog/runphp/runphp-manual/&#60;/a&#62;  but I got suck in: &#60;strong&#62;In Options &#38;gt; Writing&#60;/strong&#62;.  Is this the right way to install it? I looked in my ftp and WP but I’m stuck.&#60;br /&#62;
I greatly appreciate any help!&#60;/p&#62;
&#60;p&#62;Thank you very much
&#60;/p&#62;</description>
</item>
<item>
<title>DannyIsOnFire on "runPHP, Mail Problem."</title>
<link>http://wordpress.org/support/topic/177810#post-765137</link>
<pubDate>Thu, 22 May 2008 15:53:27 +0000</pubDate>
<dc:creator>DannyIsOnFire</dc:creator>
<guid isPermaLink="false">765137@http://wordpress.org/support/</guid>
<description>&#60;p&#62;A mate of mine has mentioned he had a similar problem, so I'm assuming it's not my code, but Wordpress itself not liking the mail feature. Please, anyone have ANY ideas on a workaround for this.
&#60;/p&#62;</description>
</item>
<item>
<title>DannyIsOnFire on "runPHP, Mail Problem."</title>
<link>http://wordpress.org/support/topic/177810#post-764958</link>
<pubDate>Thu, 22 May 2008 12:14:55 +0000</pubDate>
<dc:creator>DannyIsOnFire</dc:creator>
<guid isPermaLink="false">764958@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Hey all,&#60;br /&#62;
I started using Wordpress just over a month ago and am currently setting up my blog. One of the things I definatley wanted to include was a contact form run via PHP.&#60;/p&#62;
&#60;p&#62;So, I looked into plugins and found &#60;a href=&#34;http://dev.wp-plugins.org/wiki/RunPHP&#34;&#62;this&#60;/a&#62;. RunPHP.&#60;br /&#62;
Installed it, and set up my contact form. It can be found &#60;a href=&#34;http://www.dannyisonfire.com/?page_id=3&#34;&#62;here&#60;/a&#62;.&#60;/p&#62;
&#60;p&#62;Only problem is, the mailing part of the script dosen't work. The form sets itself up fine, and the error checking works, but when it comes to sending the email, it just dosen't.&#60;/p&#62;
&#60;p&#62;Any advice on why this is the case and how I can fix it. Thanks.
&#60;/p&#62;</description>
</item>
<item>
<title>thunksalot on "WP 2.5 breaks runPHP??"</title>
<link>http://wordpress.org/support/topic/169053#post-734084</link>
<pubDate>Mon, 14 Apr 2008 16:35:02 +0000</pubDate>
<dc:creator>thunksalot</dc:creator>
<guid isPermaLink="false">734084@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I just upgraded to WP 2.5.  It seems to have broken runPHP.  Actually, it appears to be stripping the PHP out of my posts completely, so there isn't much runPHP can do about that.  Anybody know how to turn off whatever feature in WP 2.5 is causing this problem?
&#60;/p&#62;</description>
</item>
<item>
<title>chosig on "runPHP disables the tag box in 2.5-RC3"</title>
<link>http://wordpress.org/support/topic/164037#post-716304</link>
<pubDate>Sat, 29 Mar 2008 07:08:23 +0000</pubDate>
<dc:creator>chosig</dc:creator>
<guid isPermaLink="false">716304@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Just a heads up, the runPHP plug-in disables the box where you input tags in 2.5-RC3.
&#60;/p&#62;</description>
</item>
<item>
<title>mzimmers on "runPHP working?"</title>
<link>http://wordpress.org/support/topic/145025#post-653751</link>
<pubDate>Sun, 25 Nov 2007 18:36:31 +0000</pubDate>
<dc:creator>mzimmers</dc:creator>
<guid isPermaLink="false">653751@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I just deactivated it and went with exec-PHP instead. Marked as resolved.
&#60;/p&#62;</description>
</item>
<item>
<title>mzimmers on "runPHP working?"</title>
<link>http://wordpress.org/support/topic/145025#post-653694</link>
<pubDate>Sun, 25 Nov 2007 16:18:13 +0000</pubDate>
<dc:creator>mzimmers</dc:creator>
<guid isPermaLink="false">653694@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Hi, all -&#60;/p&#62;
&#60;p&#62;I just installed and activated the latest version of RunPHP. Here's the code from the Page I'm trying to use it in:&#60;br /&#62;
&#60;code&#62;&#38;lt;img src=&#38;quot;&#38;lt;?php bloginfo(&#38;#39;url&#38;#39;); ?&#38;gt;reviews/ransomrest/right.gif&#38;quot;  alt=&#38;quot;&#38;quot; height=&#38;quot;240&#38;quot; width=&#38;quot;320&#38;quot; border=&#38;quot;0&#38;quot;&#38;gt;&#38;lt;/img&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;It's not working. When I do a &#34;view source&#34; from my browser, it's not even decoding. I've read earlier posts about problems with RunPHP, but they're all pretty old. Does anyone know if it's working correctly, and if so, what am I doing wrong?&#60;/p&#62;
&#60;p&#62;Thanks...
&#60;/p&#62;</description>
</item>
<item>
<title>rogerjh on "Incorporate a PHP file into a static page"</title>
<link>http://wordpress.org/support/topic/129907#post-601998</link>
<pubDate>Sun, 12 Aug 2007 17:34:26 +0000</pubDate>
<dc:creator>rogerjh</dc:creator>
<guid isPermaLink="false">601998@http://wordpress.org/support/</guid>
<description>&#60;p&#62;SOLVED.&#60;/p&#62;
&#60;p&#62;I found this thread answered my question. &#60;a href=&#34;http://wordpress.org/support/topic/125832?replies=18&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/support/topic/125832?replies=18&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The template file was fine. The main thing is to make sure that the embedded php file has the right file path to call the wp-blog-header.php file (which is an admin file, not to be confused with the theme header.php).&#60;/p&#62;
&#60;p&#62;Then you use your page template code to fill around the php functions.&#60;/p&#62;
&#60;p&#62;Here's the end product: &#60;a href=&#34;http://www.urs.science-awards.org/ugresearchnews.php&#34; rel=&#34;nofollow&#34;&#62;http://www.urs.science-awards.org/ugresearchnews.php&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>rogerjh on "Incorporate a PHP file into a static page"</title>
<link>http://wordpress.org/support/topic/129907#post-601898</link>
<pubDate>Sun, 12 Aug 2007 11:48:23 +0000</pubDate>
<dc:creator>rogerjh</dc:creator>
<guid isPermaLink="false">601898@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Hi there,&#60;/p&#62;
&#60;p&#62;I have a PHP file that generates links on the fly from a newsfeed. The PHP file is read into a HTML page template that provides the formatting.&#60;/p&#62;
&#60;p&#62;I'd like to put that feature into a static page, so that the newsfeed is part of the blog pages.&#60;/p&#62;
&#60;p&#62;Here's the PHP file that generates the links:&#60;br /&#62;
&#60;a href=&#34;http://www.urs.science-awards.org/wp/wp-content/ursnewsfeed.php&#34; rel=&#34;nofollow&#34;&#62;http://www.urs.science-awards.org/wp/wp-content/ursnewsfeed.php&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Here's the template file.&#60;br /&#62;
&#60;a href=&#34;http://www.urs.science-awards.org/wp/wp-content/ursnewsfeed.shtml&#34; rel=&#34;nofollow&#34;&#62;http://www.urs.science-awards.org/wp/wp-content/ursnewsfeed.shtml&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The blog home page is here: &#60;a href=&#34;http://www.urs.science-awards.org&#34; rel=&#34;nofollow&#34;&#62;http://www.urs.science-awards.org&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I did install and activate the plugin runPHP but I am not sure how that works.&#60;/p&#62;
&#60;p&#62;Any help anyone would give is much appreciate and I'll be happy to acknowledge assistance on our credits page.&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>gagnews on "Executing php code from a Page"</title>
<link>http://wordpress.org/support/topic/104295#post-594010</link>
<pubDate>Wed, 25 Jul 2007 05:07:39 +0000</pubDate>
<dc:creator>gagnews</dc:creator>
<guid isPermaLink="false">594010@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Im having the same problem. Trying to reference the recent posts via a new page that Im creating in WP. doesnt work.
&#60;/p&#62;</description>
</item>
<item>
<title>gagnews on "PHP in a text widget"</title>
<link>http://wordpress.org/support/topic/82277#post-594009</link>
<pubDate>Wed, 25 Jul 2007 05:06:21 +0000</pubDate>
<dc:creator>gagnews</dc:creator>
<guid isPermaLink="false">594009@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Sorry if this has been touched upon but how can I get php code into my created pages? ie: under Manage, Pages, Create new page.&#60;/p&#62;
&#60;p&#62;In this new page I would like to reference my Recent Posts utilizing the existing code from my index.php file.&#60;/p&#62;
&#60;p&#62;Basically I want to create a &#34;homepage&#34; that isnt the default wordpress page but I'd like it to function the same way and reference certain posts. When I paste the code into the page via wordpress backend it doesn't work on preview, when I re-open it to edit the page the code is all messed up.
&#60;/p&#62;</description>
</item>
<item>
<title>FurrTrap on "WP Messes up PHP when using the runPHP plugin"</title>
<link>http://wordpress.org/support/topic/123737#post-589002</link>
<pubDate>Fri, 13 Jul 2007 14:52:02 +0000</pubDate>
<dc:creator>FurrTrap</dc:creator>
<guid isPermaLink="false">589002@http://wordpress.org/support/</guid>
<description>&#60;p&#62;@jdembowski:&#60;/p&#62;
&#60;p&#62;Thanks for the link to Exec-PHP, I just tried it with WP 2.2.1 and it works just fine in my posts.&#60;/p&#62;
&#60;p&#62;I'm just using it so I can code all my hyperlinks with get_bloginfo() it makes site cloning much easier.&#60;/p&#62;
&#60;p&#62;Great stuff, my workflow is now much more elegant :)
&#60;/p&#62;</description>
</item>
<item>
<title>senlin on "RunPHP -- getting error sometimes"</title>
<link>http://wordpress.org/support/topic/91991#post-587326</link>
<pubDate>Tue, 10 Jul 2007 03:35:11 +0000</pubDate>
<dc:creator>senlin</dc:creator>
<guid isPermaLink="false">587326@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Hi,&#60;br /&#62;
I am having the same difficulties as Haecceity had.&#60;/p&#62;
&#60;p&#62;I understand what needs to be done (put the entire php coding into one php&#34;block&#34;), but I don't have a clue on how to do that :(&#60;/p&#62;
&#60;p&#62;Basically I would like to put the following code into one so that runPHP sees it as 1 block:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php query_posts(&#38;#39;category_name=whatson&#38;#38;showposts=7&#38;#39;); ?&#38;gt;
&#38;lt;?php while (have_posts()) : the_post(); ?&#38;gt;

&#38;lt;div class=&#38;quot;post&#38;quot; id=&#38;quot;post-&#38;lt;?php the_ID(); ?&#38;gt;&#38;quot;&#38;gt;

&#38;lt;h2&#38;gt;&#38;lt;a href=&#38;quot;&#38;lt;?php the_permalink() ?&#38;gt;&#38;quot; rel=&#38;quot;bookmark&#38;quot; title=&#38;quot;Permanent Link to &#38;lt;?php the_title(); ?&#38;gt;&#38;quot;&#38;gt;&#38;lt;?php the_title(); ?&#38;gt; &#38;amp;raquo;&#38;lt;/a&#38;gt;&#38;lt;/h2&#38;gt;

&#38;lt;p class=&#38;quot;postinfo&#38;quot;&#38;gt;By &#38;lt;?php the_author_posts_link(); ?&#38;gt; on &#38;lt;?php the_time(&#38;#39;M j, Y&#38;#39;) ?&#38;gt; in &#38;lt;?php the_category(&#38;#39;, &#38;#39;) ?&#38;gt; &#124; &#38;lt;?php comments_popup_link(&#38;#39;0 Comments&#38;#39;, &#38;#39;1 Comment&#38;#39;, &#38;#39;% Comments&#38;#39;); ?&#38;gt;&#38;lt;?php edit_post_link(&#38;#39;Edit&#38;#39;, &#38;#39; &#124; &#38;#39;, &#38;#39;&#38;#39;); ?&#38;gt;

&#38;lt;div class=&#38;quot;entry&#38;quot;&#38;gt;
						&#38;lt;?php the_content(); ?&#38;gt;
&#38;lt;/div&#38;gt;
&#38;lt;/div&#38;gt;   

&#38;lt;?php endwhile; endif; ?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;(not sure if the last &#60;code&#62;&#38;lt;?php endwhile; endif; ?&#38;gt;&#60;/code&#62; has to be included or not...)&#60;/p&#62;
&#60;p&#62;I hope someone can help me with this or point me into the right direction, that would be awesome!&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Piet
&#60;/p&#62;</description>
</item>
<item>
<title>theblade24 on "PHP in a text widget"</title>
<link>http://wordpress.org/support/topic/82277#post-586819</link>
<pubDate>Mon, 09 Jul 2007 00:59:51 +0000</pubDate>
<dc:creator>theblade24</dc:creator>
<guid isPermaLink="false">586819@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Otto, I am using your php widget in MU. What is happening is the code I insert in the widget is being remove when I save it.&#60;/p&#62;
&#60;p&#62;The widget goes blank.&#60;/p&#62;
&#60;p&#62;Is this an MU issue? Is there a version of your plugin to work in MU?
&#60;/p&#62;</description>
</item>
<item>
<title>jdembowski on "WP Messes up PHP when using the runPHP plugin"</title>
<link>http://wordpress.org/support/topic/123737#post-581353</link>
<pubDate>Wed, 27 Jun 2007 11:49:08 +0000</pubDate>
<dc:creator>jdembowski</dc:creator>
<guid isPermaLink="false">581353@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I use the &#60;a href=&#34;http://bluesome.net/post/2005/08/18/50/&#34;&#62;Exec-PHP&#60;/a&#62; plugin myself but have had this problem too.&#60;/p&#62;
&#60;p&#62;The solution is to go to the My Profile link in your dashboard (top right of the page), turn off the &#34;Use the visual editor when writing&#34; option (make it un-checked) and save your profile.&#60;/p&#62;
&#60;p&#62;Once that is done then you should be able to embed PHP code.&#60;/p&#62;
&#60;p&#62;Embedding PHP code into your posts won't work even using the &#34;Code&#34; tab in the editor (as you have found out).&#60;/p&#62;
&#60;p&#62;I only embedded PHP in pages and not posts.  So doing this with a page that I only change once in a blue moon works for me.  For posts I turn the visual editor back on.
&#60;/p&#62;</description>
</item>
<item>
<title>jpr1011 on "WP Messes up PHP when using the runPHP plugin"</title>
<link>http://wordpress.org/support/topic/123737#post-581281</link>
<pubDate>Wed, 27 Jun 2007 06:14:16 +0000</pubDate>
<dc:creator>jpr1011</dc:creator>
<guid isPermaLink="false">581281@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Hi, im kind of a WP noob, so this may be fixable with some option that I overlooked or something.&#60;/p&#62;
&#60;p&#62;I'm using a plugin called runPHP, which is supposed to execute PHP code in your posts and pages. I have it all installed and activated and working fine with one exception.&#60;/p&#62;
&#60;p&#62;Whenever I post PHP code, WordPress filters it and replaces special characters with HTML codes.&#60;/p&#62;
&#60;p&#62;For example, if I use &#34;&#38;gt;&#34; as an operator in PHP, WP replaces it with &#34;&#38;gt;&#34; which causes some errors in the PHP.&#60;/p&#62;
&#60;p&#62;The only way I have to insert unfiltered PHP is to directly edit my mySQL DB, which is fine for now, but isn't going to fly if i get more authors.&#60;/p&#62;
&#60;p&#62;I am fine with modifying it so that it doesn't filter my posts like that at all, I just don't know how to do it.&#60;/p&#62;
&#60;p&#62;P.S: Yes, I am using the &#34;code&#34; tab to enter my PHP code.
&#60;/p&#62;</description>
</item>
<item>
<title>f888 on "htaccess help"</title>
<link>http://wordpress.org/support/topic/122371#post-575954</link>
<pubDate>Sun, 17 Jun 2007 12:14:17 +0000</pubDate>
<dc:creator>f888</dc:creator>
<guid isPermaLink="false">575954@http://wordpress.org/support/</guid>
<description>&#60;p&#62;hello everyone&#60;br /&#62;
I have been trying to get this to work for several hours but I didn't make it&#60;br /&#62;
I have made a script that works perfectly with standard urls like index.php?page_id=9&#38;#38;state=Oregon&#38;#38;city=Portland&#60;br /&#62;
basically I need to have urls like&#60;br /&#62;
&#60;a href=&#34;http://www.homeinsuranceguides.com/home-insurance-quotes/Oregon/Portland/&#34; rel=&#34;nofollow&#34;&#62;http://www.homeinsuranceguides.com/home-insurance-quotes/Oregon/Portland/&#60;/a&#62;&#60;br /&#62;
to be reweitten to &#60;a href=&#34;http://www.homeinsuranceguides.com/home-insurance-quotes/?state=Oregon&#38;#38;city=Portland&#34; rel=&#34;nofollow&#34;&#62;http://www.homeinsuranceguides.com/home-insurance-quotes/?state=Oregon&#38;#38;city=Portland&#60;/a&#62;&#60;br /&#62;
without being interpreted as standard posts&#60;br /&#62;
my script is in the /home-insurance-quotes/ page (which is not a physical directory on the server) and this is one of the htaccess have tried, but didn't work (this one actually causes a server error)&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;RewriteEngine On
RewriteRule ^/?home-insurance-quotes/([-A-Za-z0-9_]+)/([-A-Za-z0-9_]+)/?$
/home-insurance-quotes/?&#38;#38;state=$1&#38;#38;city=$2
RewriteRule ^/?home-insurance-quotes/([-A-Za-z0-9_]+)/?$ /home-insurance-quotes/?state=$1
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;you can see it at &#60;a href=&#34;http://www.homeinsuranceguides.com/&#34;&#62;http://www.homeinsuranceguides.com/&#60;/a&#62;, click the link at top right of the page&#60;br /&#62;
I am using runphp to execute the script and it works fine without rewriting the urls
&#60;/p&#62;</description>
</item>

</channel>
</rss>
