<?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/"
xmlns:series="http://unfoldingneurons.com/"
> <channel><title>Comments on: PHP Redirect&#160;Function</title> <atom:link href="http://davidwalsh.name/php-redirect-function/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/php-redirect-function</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Thu, 09 Feb 2012 10:59:12 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3</generator> <item><title>By: shayan</title><link>http://davidwalsh.name/php-redirect-function/comment-page-1#comment-26276</link> <dc:creator>shayan</dc:creator> <pubDate>Thu, 28 Jul 2011 12:42:03 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/php-redirect-function/#comment-26276</guid> <description>hey,thats okhow i moust do if i want to run one of may actions in classesfor example=&gt;
http://localhost:8007/frontend_dev.php/rmsSetupReservation/create</description> <content:encoded><![CDATA[<p>hey,thats ok</p><p>how i moust do if i want to run one of may actions in classes</p><p>for example=&gt;<br
/> <a
href="http://localhost:8007/frontend_dev.php/rmsSetupReservation/create" rel="nofollow">http://localhost:8007/frontend_dev.php/rmsSetupReservation/create</a></p> ]]></content:encoded> </item> <item><title>By: txongoku</title><link>http://davidwalsh.name/php-redirect-function/comment-page-1#comment-20930</link> <dc:creator>txongoku</dc:creator> <pubDate>Mon, 11 Oct 2010 07:32:36 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/php-redirect-function/#comment-20930</guid> <description>&lt;code&gt;
// Nota : Rafael Trindade da Silva : Mantus Deus Etrusco do Inferno
// Email : rafaeltds at gmail dot com
function redirect($pURL) {
if (strlen($pURL) &gt; 0) {
if (headers_sent()) {
echo &quot;document.location.href=&#039;&quot;.$pURL.&quot;&#039;;\n&quot;; }
else {
header(&quot;Location: &quot; . $pURL);
}
exit();
}
}
&lt;/code&gt;</description> <content:encoded><![CDATA[<p><code><br
/> // Nota : Rafael Trindade da Silva : Mantus Deus Etrusco do Inferno<br
/> // Email : rafaeltds at gmail dot com<br
/> function redirect($pURL) {<br
/> if (strlen($pURL) &gt; 0) {<br
/> if (headers_sent()) {<br
/> echo "document.location.href='".$pURL."';\n"; }<br
/> else {<br
/> header("Location: " . $pURL);<br
/> }<br
/> exit();<br
/> }<br
/> }<br
/> </code></p> ]]></content:encoded> </item> <item><title>By: eskenfense</title><link>http://davidwalsh.name/php-redirect-function/comment-page-1#comment-14966</link> <dc:creator>eskenfense</dc:creator> <pubDate>Sun, 03 Jan 2010 10:29:28 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/php-redirect-function/#comment-14966</guid> <description>when i use this--&gt;
it respondes like
Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\New2\4.php:1) in C:\wamp\www\New2\4.php on line 3what shall i do</description> <content:encoded><![CDATA[<p>when i use this&#8211;&gt;</p><p>it respondes like<br
/> Warning: Cannot modify header information &#8211; headers already sent by (output started at C:\wamp\www\New2\4.php:1) in C:\wamp\www\New2\4.php on line 3</p><p>what shall i do</p> ]]></content:encoded> </item> <item><title>By: Mike Vysocka</title><link>http://davidwalsh.name/php-redirect-function/comment-page-1#comment-14502</link> <dc:creator>Mike Vysocka</dc:creator> <pubDate>Mon, 14 Dec 2009 18:44:55 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/php-redirect-function/#comment-14502</guid> <description>You can use highlight_string() in PHP to hightligt your code, or highlight_file()...
http://php.net/manual/en/function.highlight-string.php</description> <content:encoded><![CDATA[<p>You can use highlight_string() in PHP to hightligt your code, or highlight_file()&#8230;<br
/> <a
href="http://php.net/manual/en/function.highlight-string.php" rel="nofollow">http://php.net/manual/en/function.highlight-string.php</a></p> ]]></content:encoded> </item> <item><title>By: brion</title><link>http://davidwalsh.name/php-redirect-function/comment-page-1#comment-11152</link> <dc:creator>brion</dc:creator> <pubDate>Mon, 10 Aug 2009 00:53:05 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/php-redirect-function/#comment-11152</guid> <description>Nice and thanx</description> <content:encoded><![CDATA[<p>Nice and thanx</p> ]]></content:encoded> </item> <item><title>By: Sat Pirott</title><link>http://davidwalsh.name/php-redirect-function/comment-page-1#comment-2659</link> <dc:creator>Sat Pirott</dc:creator> <pubDate>Fri, 08 Aug 2008 16:53:07 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/php-redirect-function/#comment-2659</guid> <description>Ahm… As you&#039;re already talking about the syntaxhighlighter… Why is the little &quot;copy code&quot;-snippet copying code AFTER it says &quot;the code is in your clipboard now&quot;!? Wouldn&#039;t it make sense to copy it before the JS alert?
Well, anyway - nice website Dave! I like it - and all the little code snippets are really nice. So simple, but helping a lot. Sometimes it&#039;s harder to create them &quot;the easy way&quot;, so this really comes in handy. Thanks!</description> <content:encoded><![CDATA[<p>Ahm… As you&#8217;re already talking about the syntaxhighlighter… Why is the little &#8220;copy code&#8221;-snippet copying code AFTER it says &#8220;the code is in your clipboard now&#8221;!? Wouldn&#8217;t it make sense to copy it before the JS alert?<br
/> Well, anyway &#8211; nice website Dave! I like it &#8211; and all the little code snippets are really nice. So simple, but helping a lot. Sometimes it&#8217;s harder to create them &#8220;the easy way&#8221;, so this really comes in handy. Thanks!</p> ]]></content:encoded> </item> <item><title>By: Mark Sanborn</title><link>http://davidwalsh.name/php-redirect-function/comment-page-1#comment-299</link> <dc:creator>Mark Sanborn</dc:creator> <pubDate>Sat, 29 Dec 2007 07:43:57 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/php-redirect-function/#comment-299</guid> <description>Cool, I like the features it has over my current solution that I am using.Thanks.</description> <content:encoded><![CDATA[<p>Cool, I like the features it has over my current solution that I am using.</p><p>Thanks.</p> ]]></content:encoded> </item> <item><title>By: david</title><link>http://davidwalsh.name/php-redirect-function/comment-page-1#comment-298</link> <dc:creator>david</dc:creator> <pubDate>Sat, 29 Dec 2007 04:02:46 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/php-redirect-function/#comment-298</guid> <description>Shawn&#039;s correct -- you can go to the URL above to download the javascript and CSS files.  I&#039;m not using a WordPress plugin though -- it&#039;s easy to install on your own.</description> <content:encoded><![CDATA[<p>Shawn&#8217;s correct &#8212; you can go to the URL above to download the javascript and CSS files.  I&#8217;m not using a WordPress plugin though &#8212; it&#8217;s easy to install on your own.</p> ]]></content:encoded> </item> <item><title>By: Shawn</title><link>http://davidwalsh.name/php-redirect-function/comment-page-1#comment-297</link> <dc:creator>Shawn</dc:creator> <pubDate>Fri, 28 Dec 2007 23:22:10 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/php-redirect-function/#comment-297</guid> <description>I&#039;m pretty sure he uses:
http://code.google.com/p/syntaxhighlighter/</description> <content:encoded><![CDATA[<p>I&#8217;m pretty sure he uses:<br
/> <a
href="http://code.google.com/p/syntaxhighlighter/" rel="nofollow">http://code.google.com/p/syntaxhighlighter/</a></p> ]]></content:encoded> </item> <item><title>By: Mark Sanborn</title><link>http://davidwalsh.name/php-redirect-function/comment-page-1#comment-296</link> <dc:creator>Mark Sanborn</dc:creator> <pubDate>Fri, 28 Dec 2007 22:11:53 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/php-redirect-function/#comment-296</guid> <description>Do you use a plugin to highlight and format your php code?</description> <content:encoded><![CDATA[<p>Do you use a plugin to highlight and format your php code?</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 1/17 queries in 0.010 seconds using disk: basic
Object Caching 865/866 objects using disk: basic

Served from: davidwalsh.name @ 2012-02-09 08:04:00 -->
