<?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: Create URL Shortener For Twitter Using PHP</title> <atom:link href="http://brenelz.com/blog/create-url-shortener-for-twitter-using-php/feed/" rel="self" type="application/rss+xml" /><link>http://brenelz.com/blog/create-url-shortener-for-twitter-using-php/</link> <description>a winnipeg website design company.</description> <lastBuildDate>Mon, 06 Feb 2012 15:07:39 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" /> <item><title>By: Alex</title><link>http://brenelz.com/blog/create-url-shortener-for-twitter-using-php/comment-page-1/#comment-461858</link> <dc:creator>Alex</dc:creator> <pubDate>Wed, 04 Jan 2012 20:43:45 +0000</pubDate> <guid isPermaLink="false">http://brenelz.com/?p=2084#comment-461858</guid> <description>Yes, really should have. As I 1st was meaning for this to be just for use by a registered user who was running it I didn&#039;t overly add much security.</description> <content:encoded><![CDATA[<p>Yes, really should have. As I 1st was meaning for this to be just for use by a registered user who was running it I didn&#8217;t overly add much security.</p> ]]></content:encoded> </item> <item><title>By: mojoe</title><link>http://brenelz.com/blog/create-url-shortener-for-twitter-using-php/comment-page-1/#comment-442132</link> <dc:creator>mojoe</dc:creator> <pubDate>Mon, 19 Dec 2011 10:18:11 +0000</pubDate> <guid isPermaLink="false">http://brenelz.com/?p=2084#comment-442132</guid> <description>For the love of god, please use addSlashes on the variables on your SQL queries to prevent injections!Also, you may want to scan the links submitted to make sure someone isn&#039;t posting a javascript: url to do some xss attack.</description> <content:encoded><![CDATA[<p>For the love of god, please use addSlashes on the variables on your SQL queries to prevent injections!</p><p>Also, you may want to scan the links submitted to make sure someone isn&#8217;t posting a javascript: url to do some xss attack.</p> ]]></content:encoded> </item> <item><title>By: Emily</title><link>http://brenelz.com/blog/create-url-shortener-for-twitter-using-php/comment-page-1/#comment-52639</link> <dc:creator>Emily</dc:creator> <pubDate>Tue, 26 Oct 2010 11:03:23 +0000</pubDate> <guid isPermaLink="false">http://brenelz.com/?p=2084#comment-52639</guid> <description>Hi,I currently have a problem with the ambersand in my url and though twitter sends the correct url to its status line it doesnt enter it in at the status box and I thought maybe url shortneing would help but it hasn&#039;t?i used urlencode() to send it but recently on twitter its just not excepting this no more all that does is now send the correct info to twiter&#039;s status= part of the url but breaks at the ambersand again in the status box?thanks,</description> <content:encoded><![CDATA[<p>Hi,</p><p>I currently have a problem with the ambersand in my url and though twitter sends the correct url to its status line it doesnt enter it in at the status box and I thought maybe url shortneing would help but it hasn&#8217;t?</p><p>i used urlencode() to send it but recently on twitter its just not excepting this no more all that does is now send the correct info to twiter&#8217;s status= part of the url but breaks at the ambersand again in the status box?</p><p>thanks,</p> ]]></content:encoded> </item> <item><title>By: Steven</title><link>http://brenelz.com/blog/create-url-shortener-for-twitter-using-php/comment-page-1/#comment-30826</link> <dc:creator>Steven</dc:creator> <pubDate>Fri, 20 Aug 2010 23:46:03 +0000</pubDate> <guid isPermaLink="false">http://brenelz.com/?p=2084#comment-30826</guid> <description>HelloThanks for the tutorial, but I am having trouble getting it to work. It shortens the urls and adds them to the database, but doesn&#039;t allow me to access a short url. I get the following error: &quot;Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /nfs/raven/u1/c/craders/public_html/s/index.php:2) in /nfs/raven/u1/c/craders/public_html/s/files/functions/functions.php on line 3 ....&quot; Can you please help?Here is my functions.php file : http://dl.dropbox.com/u/3638821/functions.php</description> <content:encoded><![CDATA[<p>Hello</p><p>Thanks for the tutorial, but I am having trouble getting it to work. It shortens the urls and adds them to the database, but doesn&#8217;t allow me to access a short url. I get the following error:<br /> &#8220;Warning: session_start() [function.session-start]: Cannot send session cache limiter &#8211; headers already sent (output started at /nfs/raven/u1/c/craders/public_html/s/index.php:2) in /nfs/raven/u1/c/craders/public_html/s/files/functions/functions.php on line 3<br /> &#8230;.&#8221;<br /> Can you please help?</p><p>Here is my functions.php file : <a href="http://dl.dropbox.com/u/3638821/functions.php" rel="nofollow">http://dl.dropbox.com/u/3638821/functions.php</a></p> ]]></content:encoded> </item> <item><title>By: koduru</title><link>http://brenelz.com/blog/create-url-shortener-for-twitter-using-php/comment-page-1/#comment-26251</link> <dc:creator>koduru</dc:creator> <pubDate>Thu, 29 Jul 2010 18:34:25 +0000</pubDate> <guid isPermaLink="false">http://brenelz.com/?p=2084#comment-26251</guid> <description>I created this shortner on my doamin sweet.cc, but how do I use my custom url shortner site associated with retweet button so the short url&#039;s are generated as sweet.cc/1 instaed of bit.ly</description> <content:encoded><![CDATA[<p>I created this shortner on my doamin sweet.cc, but how do I use my custom url shortner site associated with retweet button so the short url&#8217;s are generated as sweet.cc/1 instaed of bit.ly</p> ]]></content:encoded> </item> <item><title>By: nestdev</title><link>http://brenelz.com/blog/create-url-shortener-for-twitter-using-php/comment-page-1/#comment-14132</link> <dc:creator>nestdev</dc:creator> <pubDate>Sat, 01 May 2010 02:33:22 +0000</pubDate> <guid isPermaLink="false">http://brenelz.com/?p=2084#comment-14132</guid> <description>Hi brenelz !, thank&#039;s for great tutorial. share and promote your article and tutorial in &lt;a href=&quot;http://nestdev.com&quot; rel=&quot;nofollow&quot;&gt;http://nestdev.com&lt;/a&gt;. check out, your tutorial was there. :)</description> <content:encoded><![CDATA[<p>Hi brenelz !, thank&#8217;s for great tutorial. share and promote your article and tutorial in <a href="http://nestdev.com" rel="nofollow">http://nestdev.com</a>. check out, your tutorial was there. <img src='http://brenelz.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: Alex</title><link>http://brenelz.com/blog/create-url-shortener-for-twitter-using-php/comment-page-1/#comment-11434</link> <dc:creator>Alex</dc:creator> <pubDate>Mon, 29 Mar 2010 18:14:50 +0000</pubDate> <guid isPermaLink="false">http://brenelz.com/?p=2084#comment-11434</guid> <description>Thanks for that fix! I added the &quot;addedById&quot; at the start then decided against it (I later changed this as you can see in part 2 if you download/view the tutorial). Think I forgot to change that in the tutorial and demo at the start... Anyway, thanks for telling me what it was! :)</description> <content:encoded><![CDATA[<p>Thanks for that fix! I added the &#8220;addedById&#8221; at the start then decided against it (I later changed this as you can see in part 2 if you download/view the tutorial). Think I forgot to change that in the tutorial and demo at the start&#8230;<br /> Anyway, thanks for telling me what it was! <img src='http://brenelz.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: fix for ridwan/alex</title><link>http://brenelz.com/blog/create-url-shortener-for-twitter-using-php/comment-page-1/#comment-11431</link> <dc:creator>fix for ridwan/alex</dc:creator> <pubDate>Mon, 29 Mar 2010 17:08:00 +0000</pubDate> <guid isPermaLink="false">http://brenelz.com/?p=2084#comment-11431</guid> <description>I only downloaded this for debugging the fact that ridwan isn&#039;t able to create a short url.Please, check your database for any field called &#039;addedById&#039; in the table &#039;url&#039; (if you&#039;ve downloaded the whole package, or followed this tutorial exactly as it is written). Now, go to your functions.php file (located in /files/functions) and search for the function &#039;add_url_to_database&#039;. Remove &#039;addedById&#039; from the query, as well as the value &#039;0&#039; (include the comma which is in front of that value).This will fix your issue.Regards,One of the many webdevelopers in the world.</description> <content:encoded><![CDATA[<p>I only downloaded this for debugging the fact that ridwan isn&#8217;t able to create a short url.</p><p>Please, check your database for any field called &#8216;addedById&#8217; in the table &#8216;url&#8217; (if you&#8217;ve downloaded the whole package, or followed this tutorial exactly as it is written). Now, go to your functions.php file (located in /files/functions) and search for the function &#8216;add_url_to_database&#8217;. Remove &#8216;addedById&#8217; from the query, as well as the value &#8217;0&#8242; (include the comma which is in front of that value).</p><p>This will fix your issue.</p><p>Regards,</p><p>One of the many webdevelopers in the world.</p> ]]></content:encoded> </item> <item><title>By: Atul Kash</title><link>http://brenelz.com/blog/create-url-shortener-for-twitter-using-php/comment-page-1/#comment-10510</link> <dc:creator>Atul Kash</dc:creator> <pubDate>Tue, 16 Mar 2010 22:26:07 +0000</pubDate> <guid isPermaLink="false">http://brenelz.com/?p=2084#comment-10510</guid> <description>Excellent work! This is much needed, I&#039;ll be doing a web app for twitter very soon and this is going to be very helpful.(Will credit you) Thanks</description> <content:encoded><![CDATA[<p>Excellent work! This is much needed, I&#8217;ll be doing a web app for twitter very soon and this is going to be very helpful.(Will credit you) Thanks</p> ]]></content:encoded> </item> <item><title>By: Linkhub &#8211; Woche 10-2010 &#171; pehbehbeh</title><link>http://brenelz.com/blog/create-url-shortener-for-twitter-using-php/comment-page-1/#comment-10373</link> <dc:creator>Linkhub &#8211; Woche 10-2010 &#171; pehbehbeh</dc:creator> <pubDate>Mon, 15 Mar 2010 09:13:54 +0000</pubDate> <guid isPermaLink="false">http://brenelz.com/?p=2084#comment-10373</guid> <description>[...] eigenen URL-Shortener [...]</description> <content:encoded><![CDATA[<p>[...] eigenen URL-Shortener [...]</p> ]]></content:encoded> </item> <item><title>By: 2010-03-12 유용한 링크 &#124; We are connected</title><link>http://brenelz.com/blog/create-url-shortener-for-twitter-using-php/comment-page-1/#comment-10371</link> <dc:creator>2010-03-12 유용한 링크 &#124; We are connected</dc:creator> <pubDate>Mon, 15 Mar 2010 08:55:51 +0000</pubDate> <guid isPermaLink="false">http://brenelz.com/?p=2084#comment-10371</guid> <description>[...] Create URL Shortener For Twitter Using PHP [...]</description> <content:encoded><![CDATA[<p>[...] Create URL Shortener For Twitter Using PHP [...]</p> ]]></content:encoded> </item> <item><title>By: Notable Tech Posts &#8211; 2010.03.14 &#124; The Life of Lew Ayotte</title><link>http://brenelz.com/blog/create-url-shortener-for-twitter-using-php/comment-page-1/#comment-10324</link> <dc:creator>Notable Tech Posts &#8211; 2010.03.14 &#124; The Life of Lew Ayotte</dc:creator> <pubDate>Sun, 14 Mar 2010 16:38:09 +0000</pubDate> <guid isPermaLink="false">http://brenelz.com/?p=2084#comment-10324</guid> <description>[...] Create URL shortener for Twitter using PHP [...]</description> <content:encoded><![CDATA[<p>[...] Create URL shortener for Twitter using PHP [...]</p> ]]></content:encoded> </item> <item><title>By: Design</title><link>http://brenelz.com/blog/create-url-shortener-for-twitter-using-php/comment-page-1/#comment-10244</link> <dc:creator>Design</dc:creator> <pubDate>Sat, 13 Mar 2010 13:29:57 +0000</pubDate> <guid isPermaLink="false">http://brenelz.com/?p=2084#comment-10244</guid> <description>Must take pleasure in your time you put into this blog :)</description> <content:encoded><![CDATA[<p>Must take pleasure in your time you put into this blog <img src='http://brenelz.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: Alex</title><link>http://brenelz.com/blog/create-url-shortener-for-twitter-using-php/comment-page-1/#comment-10192</link> <dc:creator>Alex</dc:creator> <pubDate>Fri, 12 Mar 2010 16:35:10 +0000</pubDate> <guid isPermaLink="false">http://brenelz.com/?p=2084#comment-10192</guid> <description>@ridwan - Can you give me some information such as what browser you are using? What OS etc so I can get this bug fixed.</description> <content:encoded><![CDATA[<p>@ridwan &#8211; Can you give me some information such as what browser you are using? What OS etc so I can get this bug fixed.</p> ]]></content:encoded> </item> <item><title>By: Johan</title><link>http://brenelz.com/blog/create-url-shortener-for-twitter-using-php/comment-page-1/#comment-10167</link> <dc:creator>Johan</dc:creator> <pubDate>Fri, 12 Mar 2010 10:12:34 +0000</pubDate> <guid isPermaLink="false">http://brenelz.com/?p=2084#comment-10167</guid> <description>Excellent tutorial! Found your blog when searching tweets for uploadify to see what people thought! :)</description> <content:encoded><![CDATA[<p>Excellent tutorial! Found your blog when searching tweets for uploadify to see what people thought! <img src='http://brenelz.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: Alex</title><link>http://brenelz.com/blog/create-url-shortener-for-twitter-using-php/comment-page-1/#comment-10160</link> <dc:creator>Alex</dc:creator> <pubDate>Fri, 12 Mar 2010 09:12:57 +0000</pubDate> <guid isPermaLink="false">http://brenelz.com/?p=2084#comment-10160</guid> <description>@Nick Parsons - Oh thanks, I tried it and it didn&#039;t work... Must have just been doing it wrong. Thanks for the comments people!</description> <content:encoded><![CDATA[<p>@Nick Parsons &#8211; Oh thanks, I tried it and it didn&#8217;t work&#8230; Must have just been doing it wrong.<br /> Thanks for the comments people!</p> ]]></content:encoded> </item> <item><title>By: ridwan</title><link>http://brenelz.com/blog/create-url-shortener-for-twitter-using-php/comment-page-1/#comment-10152</link> <dc:creator>ridwan</dc:creator> <pubDate>Fri, 12 Mar 2010 07:55:28 +0000</pubDate> <guid isPermaLink="false">http://brenelz.com/?p=2084#comment-10152</guid> <description>hi, i&#039;m interesting to try this tutorial. but when i add url to make it short. it doesn&#039;t give me any short url. neither store to url table nor to give me the link of short urls. (it just back to the current url/not generate the short url)thx b4</description> <content:encoded><![CDATA[<p>hi, i&#8217;m interesting to try this tutorial.<br /> but when i add url to make it short.<br /> it doesn&#8217;t give me any short url.<br /> neither store to url table nor to give me the link of short urls. (it just back to the current url/not generate the short url)</p><p>thx b4</p> ]]></content:encoded> </item> <item><title>By: brenelz</title><link>http://brenelz.com/blog/create-url-shortener-for-twitter-using-php/comment-page-1/#comment-10143</link> <dc:creator>brenelz</dc:creator> <pubDate>Fri, 12 Mar 2010 05:54:53 +0000</pubDate> <guid isPermaLink="false">http://brenelz.com/?p=2084#comment-10143</guid> <description>So glad that you like it.... more good tutorials to come!</description> <content:encoded><![CDATA[<p>So glad that you like it&#8230;. more good tutorials to come!</p> ]]></content:encoded> </item> <item><title>By: Nick Parsons</title><link>http://brenelz.com/blog/create-url-shortener-for-twitter-using-php/comment-page-1/#comment-10132</link> <dc:creator>Nick Parsons</dc:creator> <pubDate>Fri, 12 Mar 2010 00:22:01 +0000</pubDate> <guid isPermaLink="false">http://brenelz.com/?p=2084#comment-10132</guid> <description>Whoa - that was an amazing tutorial! I like the fact that you picked something so unique and yet useful.As a sidenote, jQuery.submit() did exist before v.4, but it&#039;s still a great idea to use the latest version :) Excellent job - I&#039;ll definitely be coming back here!</description> <content:encoded><![CDATA[<p>Whoa &#8211; that was an amazing tutorial! I like the fact that you picked something so unique and yet useful.</p><p>As a sidenote, jQuery.submit() did exist before v.4, but it&#8217;s still a great idea to use the latest version <img src='http://brenelz.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> Excellent job &#8211; I&#8217;ll definitely be coming back here!</p> ]]></content:encoded> </item> <item><title>By: Paperboy</title><link>http://brenelz.com/blog/create-url-shortener-for-twitter-using-php/comment-page-1/#comment-10131</link> <dc:creator>Paperboy</dc:creator> <pubDate>Fri, 12 Mar 2010 00:21:22 +0000</pubDate> <guid isPermaLink="false">http://brenelz.com/?p=2084#comment-10131</guid> <description>Thanks, this nice tut will come in handy! I have a pretty short domain name I&#039;ve thought about using for this! :)</description> <content:encoded><![CDATA[<p>Thanks, this nice tut will come in handy! I have a pretty short domain name I&#8217;ve thought about using for this! <img src='http://brenelz.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></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 26/51 queries in 0.100 seconds using disk: basic
Object Caching 800/800 objects using disk: basic

Served from: brenelz.com @ 2012-02-09 05:29:45 -->
