<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Abeon Tech &#187; admin</title>
	<atom:link href="http://abeontech.com/author/admin/feed" rel="self" type="application/rss+xml" />
	<link>http://abeontech.com</link>
	<description>Abeon Techs Geeky blog for Coders, Gamers, Webmasters and Tech Addicts!</description>
	<lastBuildDate>Thu, 28 Jul 2011 18:50:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Farewell freelancing</title>
		<link>http://abeontech.com/436-mixed-farewell-freelancing</link>
		<comments>http://abeontech.com/436-mixed-farewell-freelancing#comments</comments>
		<pubDate>Wed, 27 Jul 2011 19:45:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mixed]]></category>

		<guid isPermaLink="false">http://abeontech.com/?p=436</guid>
		<description><![CDATA[My circumstances have changed somewhat in the past month. My son is growing up quickly and getting a temper like daddies, I have recently been employed by a local webdesign agency called ElevateLocal, and I have scaled down my hosting business to a bare minimum as a result. As my free time is very limited [...]]]></description>
			<content:encoded><![CDATA[<p>My circumstances have changed somewhat in the past month.<br />
My son is growing up quickly and getting a temper like daddies, I have recently been employed by a local <a href="http://www.elevatelocal.co.uk/" title="webdesign agency">webdesign agency</a> called ElevateLocal, and I have scaled down my hosting business to a bare minimum as a result.</p>
<p>As my free time is very limited at the moment, I will be stopping any freelance work for the foreseeable future.<br />
It means my income will take a hit for a while but it&#8217;s actually quite exciting to create websites for large companies instead of small gaming sites!</p>
<p>Just incase you missed it *cough, shameless plus, cough* and if your interested in an awesome new design or SEO boost&#8230; <a href="http://www.elevatelocal.co.uk/" title="Webdesign agency">ElevateLocal</a>.</p>
<p>There should be some nice additions to my portfolio if all goes well <img src='http://abeontech.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://abeontech.com/436-mixed-farewell-freelancing/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CandyBlue AV Arcade Template</title>
		<link>http://abeontech.com/434-webdesign-candyblue-av-arcade-template</link>
		<comments>http://abeontech.com/434-webdesign-candyblue-av-arcade-template#comments</comments>
		<pubDate>Tue, 05 Jul 2011 20:59:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[AV Arcade]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://abeontech.com/?p=434</guid>
		<description><![CDATA[CandyBlue is a premium template for AV Arcade v5.x. Features: Professional layout Optimized advert intergration Full PSD Customized navigation menus Multi-language support Many small changes included Demo: www.abeon-arcade.com Order: https://www.abeon-hosting.com/billing/cart.php?gid=3]]></description>
			<content:encoded><![CDATA[<p><img src="http://i53.tinypic.com/2dwgrkl.jpg" alt="AV Arcade Template" /></p>
<p>CandyBlue is a premium template for AV Arcade v5.x.</p>
<p><strong>Features:</strong></p>
<ul>
<li>Professional layout</li>
<li>Optimized advert intergration</li>
<li>Full PSD</li>
<li>Customized navigation menus</li>
<li>Multi-language support</li>
<li>Many small changes included</li>
</ul>
<p><strong>Demo:</strong><br />
<a title="Abeon Arcade" href="http://abeon-arcade.com/" target="_blank">www.abeon-arcade.com</a></p>
<p><strong>Order:</strong><br />
<a title="Order AV Arcade Template" href="https://www.abeon-hosting.com/billing/cart.php?gid=3" target="_blank">https://www.abeon-hosting.com/billing/cart.php?gid=3</a></p>
]]></content:encoded>
			<wfw:commentRss>http://abeontech.com/434-webdesign-candyblue-av-arcade-template/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AV Arcade instant FaceBook app</title>
		<link>http://abeontech.com/431-webdesign-av-arcade-instant-facebook-app</link>
		<comments>http://abeontech.com/431-webdesign-av-arcade-instant-facebook-app#comments</comments>
		<pubDate>Thu, 21 Apr 2011 20:40:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Addon]]></category>
		<category><![CDATA[AV Arcade]]></category>
		<category><![CDATA[Mod]]></category>
		<category><![CDATA[social networking]]></category>

		<guid isPermaLink="false">http://abeontech.com/?p=431</guid>
		<description><![CDATA[Abeon Tech&#8217;s plugin for AV Arcade has just been updated to v2.0. Many bugs have been fixed and several new features have been added. Info Take advantage of the 500 million members using facebook! Turn your arcade into a FaceBook application in minutes. Your FaceBook application will update it&#8217;s self as you add games to [...]]]></description>
			<content:encoded><![CDATA[<p>Abeon Tech&#8217;s plugin for AV Arcade has just been updated to v2.0.<br />
Many bugs have been fixed and several new features have been added.</p>
<p><strong>Info</strong><br />
Take advantage of the 500 million members using facebook!<br />
Turn your arcade into a FaceBook application in minutes.<br />
Your FaceBook application will update it&#8217;s self as you add games to your arcade.</p>
<p><strong>Features</strong></p>
<ul style="position:relative;bottom:15px">
<li>Instant and automated FaceBook application with admin panel.</li>
<li>Compatible with AVArcade Pro (v5) and AV Arcade Free (v4).</li>
<li>Autopost when playing a game (customizable).</li>
<li>Fullscreen button if game is too wide.</li>
<li>Pagination and sorting.</li>
<li>Track game plays on facebook.</li>
<li>Comments on game page.</li>
<li>Intergrated forum.</li>
<li>Like button on every page.</li>
<li>Tag Cloud.</li>
<li>Search feature.</li>
<li><a href="https://publisher.smowtion.com/users/signup/nwsfb">FaceBook Adverts</a>.</li>
<li>Updated to be v5.3.3+ compatible&#8230; The way it was meant to be <img title="Smile" src="http://www.forum.avscripts.net/images/smilies/smile.gif" border="0" alt="" /></li>
</ul>
<p><em>Note:</em><br />
There is a bug that prevents this working on subdomains.<br />
I still haven&#8217;t had time to test this.</p>
<p><strong>Demo and Screenshots</strong></p>
<ul style="position:relative;bottom:15px">
<li><a href="http://apps.facebook.com/abeonarcade/" target="_blank">FaceBook Arcade Demo</a></li>
<li><a href="http://i55.tinypic.com/dyvs00.jpg" target="_blank">Admin Panel</a></li>
<li><a href="http://i56.tinypic.com/s16vlx.jpg" target="_blank">AutoPost Message</a></li>
<li><a href="http://i56.tinypic.com/2ykyu53.jpg" target="_blank">Home Page</a></li>
<li><a href="http://i56.tinypic.com/1zdrguw.jpg" target="_blank">Game Page</a></li>
</ul>
<p><strong>Order Now</strong><br />
<a href="https://www.abeon-hosting.com/billing/cart.php?gid=3" target="_blank">https://www.abeon-hosting.com/billing/cart.php?gid=3</a></p>
<p>We accept Paypal, Credit card, Google Checkout and Bank Transfers.<br />
SSL Secured ordering, Fraud prevention and instant download after payment.</p>
]]></content:encoded>
			<wfw:commentRss>http://abeontech.com/431-webdesign-av-arcade-instant-facebook-app/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Domain Deals</title>
		<link>http://abeontech.com/428-webdesign-domain-deals</link>
		<comments>http://abeontech.com/428-webdesign-domain-deals#comments</comments>
		<pubDate>Thu, 27 Jan 2011 23:07:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mixed]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Web 2.0]]></category>

		<guid isPermaLink="false">http://abeontech.com/?p=428</guid>
		<description><![CDATA[If you want a website you need a domain name&#8230; Unless you want people to enter something like 255.255.255.255 to visit your site. I&#8217;ll keep this short and sweet. Get free Positive SSL and free Whois Guard with every domain name you register! With the added bonus of the cheapest rates about, you can&#8217;t complain! [...]]]></description>
			<content:encoded><![CDATA[<p>If you want a website you need a domain name&#8230; Unless you want people to enter something like 255.255.255.255 to visit your site.</p>
<p>I&#8217;ll keep this short and sweet.<br />
Get free Positive SSL and free Whois Guard with every domain name you register!<br />
With the added bonus of the cheapest rates about, you can&#8217;t complain!<span id="more-428"></span></p>
<p>I have used many different domain companies over the years I&#8217;ve been into programming and to be honest they are all pretty much the same apart from price. Some provide bad support, but as a whole there all equal.</p>
<p>So getting free stuff included like a <strong>free Positive SSL certificate</strong> and <strong>free Whois Guard</strong> with every domain name you register is a nice bonus!</p>
<p style="padding-left: 30px;">.info &#8211; $2.99/yr &#038;nbsp (<strong style="color: #ff9900;font-size:0.8em">Limited Time Only!</strong>)<br />
.com &#8211; $9.98/yr<br />
.net &#8211; $9.98/yr<br />
.org &#8211; $8.88/yr<br />
.mobi &#8211; $7.99/yr<br />
.biz &#8211; $9.69/yr</p>
<p style="text-align: center;"><a href="http://bit.ly/namecheapdeals">Name Cheap</a><br />
<a href="http://bit.ly/namecheapdeals"><img class="aligncenter" src="http://files.namecheap.com/graphics/linkus/468x60-3.gif" border="0" alt="Free PositiveSSL and WhoisGuard with Every Domain Purchase" width="468" height="60" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://abeontech.com/428-webdesign-domain-deals/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WebWoW In-game mail using SOAP</title>
		<link>http://abeontech.com/426-webdesign-webwow-in-game-mail-using-soap-ra-replacement</link>
		<comments>http://abeontech.com/426-webdesign-webwow-in-game-mail-using-soap-ra-replacement#comments</comments>
		<pubDate>Wed, 19 Jan 2011 09:42:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Mod]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://abeontech.com/?p=426</guid>
		<description><![CDATA[This little mod will replace WebWoWs RA (telnet) mail with Mangos' SOAP version.
This will replace both the admins "send mail" and users "vote shop" pages.]]></description>
			<content:encoded><![CDATA[<p>This little modification will replace <a href="http://www.web-wow.net/">WebWoWs&#8217;</a> RA mail system (Remote Access which uses telnet) with a fully <a href="http://en.wikipedia.org/wiki/SOAP">SOAP</a> compatible version.<br />
This will replace both the admins &#8220;send mail&#8221; and users &#8220;vote shop&#8221; features.<span id="more-426"></span></p>
<p>I have recently switched back to version 3.6.3 of the WebWoW <abbr title="Content Management System">CMS</abbr> (using the web creator v1) as the latest version just doesn&#8217;t seem ready yet.</p>
<p>I had problems sending in-game mail with the older version of WebWoW as I had disabled Remote Access in Mangos as the port being opened didn&#8217;t seem necessary.</p>
<p>I didn&#8217;t like the way telnet was forced instead of a web interface, so I replaced the telnet mail system.</p>
<p>The only error I saw was &#8220;Remote Login Problem:&#8221;, apparently caused by incorrect settings. I knew the problem was remote access so I patched the system to use SOAP.</p>
<p>I have edited the mail system in WebWoW so it can be used to send anything including money, items, support tickets, <a href="http://www.nextdayflyers.com/postcard-printing-marketing/">postcards</a>, and more. So getting it working was top of my list of things to do!</p>
<p>Below is how to get it working:</p>
<p><strong>1 &#8211; Enable SOAP in your mangosd.conf file.</strong></p>
<p><strong>2 &#8211; Open:</strong><br />
includes/core/mangos_sendmail.php</p>
<p><strong>3 &#8211; Replace:</strong><br />
The  sendmail function, below:</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;height:250px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">function</span> sendmail<span style="color: #009900;">&#40;</span><span style="color: #000088;">$playername</span><span style="color: #339933;">,</span><span style="color: #000088;">$playerguid</span><span style="color: #339933;">,</span> <span style="color: #000088;">$subject</span><span style="color: #339933;">,</span> <span style="color: #000088;">$text</span><span style="color: #339933;">,</span> <span style="color: #000088;">$item</span><span style="color: #339933;">,</span> <span style="color: #000088;">$shopid</span><span style="color: #339933;">=</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> &nbsp;<span style="color: #000088;">$money</span><span style="color: #339933;">=</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #000088;">$realmid</span><span style="color: #339933;">=</span><span style="color: #0000ff;">'1'</span><span style="color: #009900;">&#41;</span> <span style="color: #666666; font-style: italic;">//returns, IMPORTANT: do not remove &lt;!-- success --&gt; if success</span><br />
<span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$server</span><span style="color: #339933;">,</span><span style="color: #000088;">$ra_user</span><span style="color: #339933;">,</span><span style="color: #000088;">$ra_pass</span><span style="color: #339933;">,</span><span style="color: #000088;">$db</span><span style="color: #339933;">,</span><span style="color: #000088;">$a_user</span><span style="color: #339933;">,</span><span style="color: #000088;">$se_c</span><span style="color: #339933;">,</span><span style="color: #000088;">$realm</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #000088;">$playername</span> <span style="color: #339933;">=</span> clean_string<span style="color: #009900;">&#40;</span><span style="color: #000088;">$playername</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #000088;">$subject</span> <span style="color: #339933;">=</span> <span style="color: #990000;">preg_replace</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;/[^A-Za-z0-9]/&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">,</span> clean_string<span style="color: #009900;">&#40;</span><span style="color: #000088;">$subject</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//no whitespaces</span><br />
&nbsp; &nbsp; <span style="color: #000088;">$item</span> <span style="color: #339933;">=</span> <span style="color: #990000;">preg_replace</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;/[^0-9]/&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$item</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//item id</span><br />
&nbsp; &nbsp; <span style="color: #000088;">$realmid</span> <span style="color: #339933;">=</span> <span style="color: #990000;">preg_replace</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;/[^0-9]/&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$realmid</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//item id</span><br />
&nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$item</span><span style="color: #339933;">&lt;&gt;</span><span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span> <span style="color: #000088;">$item</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot; &quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$item</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #000088;">$text</span> <span style="color: #339933;">=</span> clean_string<span style="color: #009900;">&#40;</span><span style="color: #000088;">$text</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #000088;">$money</span><span style="color: #339933;">=</span> <span style="color: #990000;">preg_replace</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;/[^0-9]/&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$money</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span style="color: #000088;">$telnet</span> <span style="color: #339933;">=</span> <span style="color: #990000;">fsockopen</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$server</span><span style="color: #339933;">,</span> <span style="color: #000088;">$realm</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$realmid</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'port_ra'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$error</span><span style="color: #339933;">,</span> <span style="color: #000088;">$error_str</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">3</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$telnet</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #990000;">fgets</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$telnet</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">1024</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Motd</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #990000;">fputs</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$telnet</span><span style="color: #339933;">,</span> <span style="color: #000088;">$ra_user</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #990000;">sleep</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">3</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #666666; font-style: italic;">//fgets($telnet,1024); // PASS</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #990000;">fputs</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$telnet</span><span style="color: #339933;">,</span> <span style="color: #000088;">$ra_pass</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #990000;">sleep</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">3</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$remote_login</span> <span style="color: #339933;">=</span> <span style="color: #990000;">fgets</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$telnet</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">1024</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">strstr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$remote_login</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;Logged in.&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$item</span><span style="color: #339933;">&lt;&gt;</span><span style="color: #0000ff;">''</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #000088;">$item</span><span style="color: #339933;">&lt;&gt;</span><span style="color: #0000ff;">'0'</span><span style="color: #009900;">&#41;</span><span style="color: #666666; font-style: italic;">//send item</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #666666; font-style: italic;">//sendmail to RA console</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #990000;">fputs</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$telnet</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;.send items &quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$playername</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot; <span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$subject</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span> <span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$text</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$item</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$easf</span><span style="color: #339933;">=</span><span style="color: #990000;">time</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$mailtext</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Mail with item sent! No money was sent.&quot;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">elseif</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$money</span><span style="color: #339933;">&gt;</span><span style="color: #0000ff;">'0'</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #000088;">$money</span><span style="color: #339933;">&lt;&gt;</span><span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span><span style="color: #666666; font-style: italic;">//send money</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #990000;">fputs</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$telnet</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;.send money &quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$playername</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot; <span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$subject</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span> <span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$text</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span> &quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$money</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$moneytext</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Mail with money sent! No item was sent.&quot;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">else</span> <span style="color: #666666; font-style: italic;">//send letter</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #990000;">fputs</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$telnet</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;.send mail &quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$playername</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot; <span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$subject</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span> <span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$text</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$moneytext</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Normal Mail sent!&quot;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #666666; font-style: italic;">//check database if actuall item is there</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #666666; font-style: italic;">//WebsiteVoteShopREFXXXXXXX -&gt;this is unique</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$check</span><span style="color: #339933;">=</span><span style="color: #000088;">$db</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">query</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;SELECT * FROM mail WHERE receiver = '&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$playerguid</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;' AND subject ='&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$subject</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;' LIMIT 1&quot;</span><span style="color: #009900;">&#41;</span>or <span style="color: #990000;">die</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">mysql_error</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">mysql_num_rows</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$check</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">==</span><span style="color: #0000ff;">'0'</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$status</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Recheck script (just to make sure mail is actually sent):&lt;br&gt;&lt;br&gt;&lt;center&gt;&lt;iframe style='width:96%; &nbsp;height:100px' src='./include/core/mangos_iframe_mailcheck.php?shopid=&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$shopid</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&amp;reciver=&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$playerguid</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&amp;subject=&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$subject</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&amp;realmid=&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$realmid</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&amp;shash=&quot;</span><span style="color: #339933;">.</span><span style="color: #990000;">sha1</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$a_user</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'id'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #000088;">$playerguid</span><span style="color: #339933;">.</span><span style="color: #000088;">$subject</span><span style="color: #339933;">.</span><span style="color: #000088;">$se_c</span><span style="color: #339933;">.</span><span style="color: #000088;">$shopid</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;'&gt;&lt;a href='./include/core/mangos_iframe_mailcheck.php?shopid=&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$shopid</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&amp;reciver=&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$playerguid</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&amp;subject=&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$subject</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&amp;realmid=&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$realmid</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&amp;shash=&quot;</span><span style="color: #339933;">.</span><span style="color: #990000;">sha1</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$a_user</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'id'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #000088;">$playerguid</span><span style="color: #339933;">.</span><span style="color: #000088;">$subject</span><span style="color: #339933;">.</span><span style="color: #000088;">$se_c</span><span style="color: #339933;">.</span><span style="color: #000088;">$shopid</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;'&gt;Check here if your mail is here.&lt;/a&gt;&lt;/iframe&gt;&lt;/center&gt;&quot;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">return</span> &nbsp;<span style="color: #0000ff;">&quot;&lt;!-- success --&gt;&lt;span class=<span style="color: #000099; font-weight: bold;">\&quot;</span>colorgood<span style="color: #000099; font-weight: bold;">\&quot;</span>&gt;&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$mailtext</span><span style="color: #339933;">.</span><span style="color: #000088;">$moneytext</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&lt;br&gt;&lt;/span&gt;&lt;br&gt;&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$status</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">else</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">return</span> &nbsp;<span style="color: #0000ff;">&quot;&lt;span class=<span style="color: #000099; font-weight: bold;">\&quot;</span>colorbad<span style="color: #000099; font-weight: bold;">\&quot;</span>&gt;Remote Login Problem: &quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$remote_login</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&lt;/span&gt;&lt;br&gt;Used login: &quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$ra_user</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #990000;">fclose</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$telnet</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #b1b100;">else</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">return</span> &nbsp;<span style="color: #0000ff;">&quot;&lt;span class=<span style="color: #000099; font-weight: bold;">\&quot;</span>colorbad<span style="color: #000099; font-weight: bold;">\&quot;</span>&gt;MaNGOS server is offline, you must do this when server is online.&lt;/span&gt;&quot;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span></div></div>
<p><strong>4 &#8211; With</strong><br />
The following function:</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;height:250px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">function</span> sendmail<span style="color: #009900;">&#40;</span><span style="color: #000088;">$playername</span><span style="color: #339933;">,</span><span style="color: #000088;">$playerguid</span><span style="color: #339933;">,</span> <span style="color: #000088;">$subject</span><span style="color: #339933;">,</span> <span style="color: #000088;">$text</span><span style="color: #339933;">,</span> <span style="color: #000088;">$item</span><span style="color: #339933;">,</span> <span style="color: #000088;">$shopid</span><span style="color: #339933;">=</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> &nbsp;<span style="color: #000088;">$money</span><span style="color: #339933;">=</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #000088;">$realmid</span><span style="color: #339933;">=</span><span style="color: #0000ff;">'1'</span><span style="color: #009900;">&#41;</span> <span style="color: #666666; font-style: italic;">//returns, IMPORTANT: do not remove &lt;!-- success --&gt; if success</span><br />
<span style="color: #009900;">&#123;</span><br />
&nbsp;<span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$server</span><span style="color: #339933;">,</span><span style="color: #000088;">$ra_user</span><span style="color: #339933;">,</span><span style="color: #000088;">$ra_pass</span><span style="color: #339933;">,</span><span style="color: #000088;">$db</span><span style="color: #339933;">,</span><span style="color: #000088;">$a_user</span><span style="color: #339933;">,</span><span style="color: #000088;">$se_c</span><span style="color: #339933;">,</span><span style="color: #000088;">$realm</span><span style="color: #339933;">;</span><br />
&nbsp;<span style="color: #000088;">$playername</span> <span style="color: #339933;">=</span> clean_string<span style="color: #009900;">&#40;</span><span style="color: #000088;">$playername</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #000088;">$subject</span> <span style="color: #339933;">=</span> <span style="color: #990000;">preg_replace</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;/[^A-Za-z0-9]/&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">,</span> clean_string<span style="color: #009900;">&#40;</span><span style="color: #000088;">$subject</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//no whitespaces</span><br />
&nbsp;<span style="color: #000088;">$item</span> <span style="color: #339933;">=</span> <span style="color: #990000;">preg_replace</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;/[^0-9]/&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$item</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//item id</span><br />
&nbsp;<span style="color: #000088;">$realmid</span> <span style="color: #339933;">=</span> <span style="color: #990000;">preg_replace</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;/[^0-9]/&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$realmid</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//item id</span><br />
&nbsp;<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$item</span><span style="color: #339933;">&lt;&gt;</span><span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span> <span style="color: #000088;">$item</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot; &quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$item</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #000088;">$text</span> <span style="color: #339933;">=</span> clean_string<span style="color: #009900;">&#40;</span><span style="color: #000088;">$text</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp;<span style="color: #000088;">$money</span> <span style="color: #339933;">=</span> <span style="color: #990000;">preg_replace</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;/[^0-9]/&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$money</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp;<br />
&nbsp; <span style="color: #000088;">$username</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'GMNAME'</span><span style="color: #339933;">;</span><br />
&nbsp; <span style="color: #000088;">$password</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'GMPASS'</span><span style="color: #339933;">;</span><br />
&nbsp; <span style="color: #000088;">$host</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;localhost&quot;</span><span style="color: #339933;">;</span><br />
&nbsp; <span style="color: #000088;">$soapport</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">7878</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$item</span><span style="color: #339933;">&lt;&gt;</span><span style="color: #0000ff;">''</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #000088;">$item</span><span style="color: #339933;">&lt;&gt;</span><span style="color: #0000ff;">'0'</span><span style="color: #009900;">&#41;</span> <span style="color: #666666; font-style: italic;">//send item</span><br />
&nbsp;<span style="color: #009900;">&#123;</span><br />
&nbsp; <span style="color: #000088;">$command</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'send items '</span><span style="color: #339933;">.</span><span style="color: #000088;">$playername</span><span style="color: #339933;">.</span><span style="color: #0000ff;">' &quot;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$subject</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot; &quot;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$text</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot; '</span><span style="color: #339933;">.</span><span style="color: #000088;">$item</span><span style="color: #339933;">.</span><span style="color: #0000ff;">''</span><span style="color: #339933;">;</span><br />
&nbsp; <span style="color: #000088;">$moneytext</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&lt;strong&gt;Your reward has been sent.&lt;/strong&gt; Please check your mailbox in game!&quot;</span><span style="color: #339933;">;</span><br />
&nbsp; <br />
&nbsp; <span style="color: #000088;">$client</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> SoapClient<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">NULL</span><span style="color: #339933;">,</span><br />
&nbsp; <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><br />
&nbsp; &nbsp;<span style="color: #0000ff;">&quot;location&quot;</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">&quot;http://<span style="color: #006699; font-weight: bold;">$host</span>:<span style="color: #006699; font-weight: bold;">$soapport</span>/&quot;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp;<span style="color: #0000ff;">&quot;uri&quot;</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">&quot;urn:MaNGOS&quot;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp;<span style="color: #0000ff;">&quot;style&quot;</span> <span style="color: #339933;">=&gt;</span> SOAP_RPC<span style="color: #339933;">,</span><br />
&nbsp; &nbsp;<span style="color: #0000ff;">'login'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$username</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp;<span style="color: #0000ff;">'password'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$password</span><br />
&nbsp; <span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; <br />
&nbsp; try <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp;<span style="color: #000088;">$result</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$client</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">executeCommand</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> SoapParam<span style="color: #009900;">&#40;</span><span style="color: #000088;">$command</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;command&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp;<span style="color: #b1b100;">return</span> &nbsp;<span style="color: #0000ff;">&quot;&lt;!-- success --&gt;&lt;span class=<span style="color: #000099; font-weight: bold;">\&quot;</span>colorgood<span style="color: #000099; font-weight: bold;">\&quot;</span>&gt;&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$mailtext</span><span style="color: #339933;">.</span><span style="color: #000088;">$moneytext</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$status</span><span style="color: #339933;">;</span><br />
&nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; catch <span style="color: #009900;">&#40;</span>Exception <span style="color: #000088;">$e</span><span style="color: #009900;">&#41;</span> <br />
&nbsp; <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp;<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;Command failed! Reason:&lt;br /&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp;<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$e</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getMessage</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; <span style="color: #009900;">&#125;</span><br />
<br />
<span style="color: #009900;">&#125;</span><br />
&nbsp;<br />
<span style="color: #b1b100;">elseif</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$money</span><span style="color: #339933;">&gt;</span><span style="color: #0000ff;">'0'</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #000088;">$money</span><span style="color: #339933;">&lt;&gt;</span><span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span><span style="color: #666666; font-style: italic;">//send money</span><br />
&nbsp;<span style="color: #009900;">&#123;</span><br />
&nbsp; <span style="color: #000088;">$command</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'send money '</span><span style="color: #339933;">.</span><span style="color: #000088;">$playername</span><span style="color: #339933;">.</span><span style="color: #0000ff;">' &quot;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$subject</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot; &quot;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$text</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot; '</span><span style="color: #339933;">.</span><span style="color: #000088;">$money</span><span style="color: #339933;">.</span><span style="color: #0000ff;">''</span><span style="color: #339933;">;</span><br />
&nbsp; <span style="color: #000088;">$client</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> SoapClient<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">NULL</span><span style="color: #339933;">,</span><br />
&nbsp; <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><br />
&nbsp; &nbsp;<span style="color: #0000ff;">&quot;location&quot;</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">&quot;http://<span style="color: #006699; font-weight: bold;">$host</span>:<span style="color: #006699; font-weight: bold;">$soapport</span>/&quot;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp;<span style="color: #0000ff;">&quot;uri&quot;</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">&quot;urn:MaNGOS&quot;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp;<span style="color: #0000ff;">&quot;style&quot;</span> <span style="color: #339933;">=&gt;</span> SOAP_RPC<span style="color: #339933;">,</span><br />
&nbsp; &nbsp;<span style="color: #0000ff;">'login'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$username</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp;<span style="color: #0000ff;">'password'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$password</span><br />
&nbsp; <span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; <br />
&nbsp; try <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp;<span style="color: #000088;">$result</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$client</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">executeCommand</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> SoapParam<span style="color: #009900;">&#40;</span><span style="color: #000088;">$command</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;command&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp;<span style="color: #000088;">$moneytext</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&lt;strong&gt;Your money has been sent.&lt;/strong&gt; Please check your mailbox in game!&quot;</span><span style="color: #339933;">;</span><br />
&nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; catch <span style="color: #009900;">&#40;</span>Exception <span style="color: #000088;">$e</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp;<span style="color: #000088;">$moneytext</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;Failed to send any money. &lt;br /&gt;Please contact support!&quot;</span><span style="color: #339933;">;</span><br />
&nbsp; <span style="color: #009900;">&#125;</span><br />
<span style="color: #009900;">&#125;</span><br />
<br />
<span style="color: #b1b100;">else</span> <span style="color: #666666; font-style: italic;">//send mail</span><br />
&nbsp;<span style="color: #009900;">&#123;</span><br />
&nbsp; <span style="color: #000088;">$command</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'send mail '</span><span style="color: #339933;">.</span><span style="color: #000088;">$playername</span><span style="color: #339933;">.</span><span style="color: #0000ff;">' &quot;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$subject</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot; &quot;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$text</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot;'</span><span style="color: #339933;">;</span><br />
&nbsp; <span style="color: #000088;">$client</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> SoapClient<span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">NULL</span><span style="color: #339933;">,</span><br />
&nbsp; <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><br />
&nbsp; &nbsp;<span style="color: #0000ff;">&quot;location&quot;</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">&quot;http://<span style="color: #006699; font-weight: bold;">$host</span>:<span style="color: #006699; font-weight: bold;">$soapport</span>/&quot;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp;<span style="color: #0000ff;">&quot;uri&quot;</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">&quot;urn:MaNGOS&quot;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp;<span style="color: #0000ff;">&quot;style&quot;</span> <span style="color: #339933;">=&gt;</span> SOAP_RPC<span style="color: #339933;">,</span><br />
&nbsp; &nbsp;<span style="color: #0000ff;">'login'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$username</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp;<span style="color: #0000ff;">'password'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$password</span><br />
&nbsp; <span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; <br />
&nbsp; try <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp;<span style="color: #000088;">$result</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$client</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">executeCommand</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> SoapParam<span style="color: #009900;">&#40;</span><span style="color: #000088;">$command</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;command&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp;<span style="color: #000088;">$moneytext</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&lt;strong&gt;Your mail was sent.&lt;/strong&gt; Please check your mailbox in game!&quot;</span><span style="color: #339933;">;</span><br />
&nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; catch <span style="color: #009900;">&#40;</span>Exception <span style="color: #000088;">$e</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp;<span style="color: #000088;">$moneytext</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;Failed to send your mail. &lt;br /&gt;Please contact support!&quot;</span><span style="color: #339933;">;</span><br />
&nbsp; <span style="color: #009900;">&#125;</span><br />
<span style="color: #009900;">&#125;</span><br />
<br />
&nbsp; &nbsp;<span style="color: #000088;">$check</span><span style="color: #339933;">=</span><span style="color: #000088;">$db</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">query</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;SELECT * FROM mail WHERE receiver = '&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$playerguid</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;' AND subject ='&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$subject</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;' LIMIT 1&quot;</span><span style="color: #009900;">&#41;</span>or <span style="color: #990000;">die</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">mysql_error</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp;<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">mysql_num_rows</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$check</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">==</span><span style="color: #0000ff;">'0'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000088;">$status</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Rechecking, just to make sure mail is actually sent:&lt;br&gt;&lt;br&gt;&lt;center&gt;&lt;iframe style='width:96%; &nbsp;height:100px' src='./include/core/mangos_iframe_mailcheck.php?shopid=&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$shopid</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&amp;reciver=&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$playerguid</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&amp;subject=&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$subject</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&amp;realmid=&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$realmid</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&amp;shash=&quot;</span><span style="color: #339933;">.</span><span style="color: #990000;">sha1</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$a_user</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'id'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #000088;">$playerguid</span><span style="color: #339933;">.</span><span style="color: #000088;">$subject</span><span style="color: #339933;">.</span><span style="color: #000088;">$se_c</span><span style="color: #339933;">.</span><span style="color: #000088;">$shopid</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;'&gt;&lt;a href='./include/core/mangos_iframe_mailcheck.php?shopid=&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$shopid</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&amp;reciver=&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$playerguid</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&amp;subject=&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$subject</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&amp;realmid=&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$realmid</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&amp;shash=&quot;</span><span style="color: #339933;">.</span><span style="color: #990000;">sha1</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$a_user</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'id'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #000088;">$playerguid</span><span style="color: #339933;">.</span><span style="color: #000088;">$subject</span><span style="color: #339933;">.</span><span style="color: #000088;">$se_c</span><span style="color: #339933;">.</span><span style="color: #000088;">$shopid</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;'&gt;Check here if your mail is here.&lt;/a&gt;&lt;/iframe&gt;&lt;/center&gt;&quot;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp;<span style="color: #b1b100;">return</span> &nbsp;<span style="color: #0000ff;">&quot;&lt;!-- success --&gt;&lt;span class=<span style="color: #000099; font-weight: bold;">\&quot;</span>colorgood<span style="color: #000099; font-weight: bold;">\&quot;</span>&gt;&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$mailtext</span><span style="color: #339933;">.</span><span style="color: #000088;">$moneytext</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&lt;br&gt;&lt;/span&gt;&lt;br&gt;&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$status</span><span style="color: #339933;">;</span><br />
&nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; <span style="color: #b1b100;">else</span><br />
&nbsp; &nbsp;<span style="color: #b1b100;">return</span> &nbsp;<span style="color: #0000ff;">&quot;&lt;span class=<span style="color: #000099; font-weight: bold;">\&quot;</span>colorbad<span style="color: #000099; font-weight: bold;">\&quot;</span>&gt;Mail Problem: &quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$remote_login</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&lt;/span&gt;&lt;br&gt;Used login: &quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$ra_user</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span></div></div>
<p>5 &#8211; Change the username, password, host, and port (in the code above):</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; <span style="color: #000088;">$username</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'GMNAME'</span><span style="color: #339933;">;</span><br />
&nbsp; <span style="color: #000088;">$password</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'GMPASS'</span><span style="color: #339933;">;</span><br />
&nbsp; <span style="color: #000088;">$host</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;localhost&quot;</span><span style="color: #339933;">;</span><br />
&nbsp; <span style="color: #000088;">$soapport</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">7878</span><span style="color: #339933;">;</span></div></div>
<p>To a relevant account with admin access and you&#8217;re all set.<br />
This modification will allow you to use SOAP instead of Remote Access and should work exactly the same.</p>
]]></content:encoded>
			<wfw:commentRss>http://abeontech.com/426-webdesign-webwow-in-game-mail-using-soap-ra-replacement/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WebWoW Players Online Module</title>
		<link>http://abeontech.com/424-webdesign-webwow-players-online-module</link>
		<comments>http://abeontech.com/424-webdesign-webwow-players-online-module#comments</comments>
		<pubDate>Mon, 20 Dec 2010 08:40:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Mod]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://abeontech.com/?p=424</guid>
		<description><![CDATA[This module will show a list of the current users online with their sex, race, class, name, level, and location.]]></description>
			<content:encoded><![CDATA[<p>This module will show a list of the current users online with their sex, race, class, name, level, and location.<br />
It was designed with WebWoW CMS v2 in mind and hasn&#8217;t been tested on prior versions.<br />
No file edits are required. Simply upload the files and then add a link to the page using the &#8220;Menu Manager&#8221;<span id="more-424"></span></p>
<p>The code isn&#8217;t amazing but works perfectly and will be updated soon to include some form of map with the actual players locations indicated.<br />
Stay tuned for updates <img src='http://abeontech.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<h3>WebWoW Players Online Module</h3>
<p><img src="http://i54.tinypic.com/ivkdqf.jpg" alt="Online Players Module" /></p>
<ol>
<li>Upload the contents of the folder to your website&#8217;s root.</li>
<li>Login to your WebWoW&#8217;s admin panel / Menu Manager.</li>
<li>Add a link with the following information:</li>
<li style="list-style:none;position:relative;left:20px">URL: ./?page=online</li>
</ol>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a  title='WebWoW Players Online Module' href='http://abeontech.com/?wpdmact=process&did=Mi5ob3RsaW5r' style="background:url('http://abeontech.com/wp-content/plugins/download-manager/icon/download.png') no-repeat;padding:3px 12px 12px 28px;font:bold 10pt verdana;">Download Players Online Module</a></p>
]]></content:encoded>
			<wfw:commentRss>http://abeontech.com/424-webdesign-webwow-players-online-module/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WebWoW Captcha on Registration Mod</title>
		<link>http://abeontech.com/422-webdesign-webwow-captcha-on-registration-mod</link>
		<comments>http://abeontech.com/422-webdesign-webwow-captcha-on-registration-mod#comments</comments>
		<pubDate>Wed, 15 Dec 2010 19:35:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Mod]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://abeontech.com/?p=422</guid>
		<description><![CDATA[The WebWoW CMS has just released a v2 beta which is great so far.
Of course there are a few small bugs, but nothing huge.

I will probably make a few mods and hacks for the CMS as it's a great project with a nice style and ethos.
This modification will place a captcha on the registration page to help prevent spam, bots, and fake registrations.]]></description>
			<content:encoded><![CDATA[<p>The WebWoW CMS has just released a v2 beta which seems great so far.<br />
Of course there are a few small bugs, but nothing that breaks functionality&#8230; Mostly undefined indexes and the like.</p>
<p>I will probably make a few mods and hacks for the CMS as it&#8217;s a great project with a nice style and ethos.<br />
This simple modification will place a captcha on the registration page to help prevent spam, bots, and fake registrations.<span id="more-422"></span></p>
<p>After about 10 minutes of setting the WebWoW CMS I started to get bot registrations indicated by the spammy usernames and lack of activity.<br />
Hopefully this will be of use to someone <img src='http://abeontech.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Only two files edits are required so it shouldn&#8217;t take more than 5 minutes to implement.</p>
<h3>WebWoW Registration Captcha Mod</h3>
<p><img src="http://i56.tinypic.com/14ay0k8.jpg" alt="WebWoW Captcha Mod" /></p>
<p>Please remember to backup any files before editing!</p>
<p><strong>1 &#8211; Open:</strong> engine/func/session.php</p>
<p>&nbsp; <strong>1a. Find:</strong> (about line 324)</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">function</span> register<span style="color: #009900;">&#40;</span><span style="color: #000088;">$subuser</span><span style="color: #339933;">,</span> <span style="color: #000088;">$subpass</span><span style="color: #339933;">,</span> <span style="color: #000088;">$subemail</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span></div></div>
<p>&nbsp; &nbsp; &nbsp; &nbsp; <strong>Change To:</strong></p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">function</span> register<span style="color: #009900;">&#40;</span><span style="color: #000088;">$subuser</span><span style="color: #339933;">,</span> <span style="color: #000088;">$subpass</span><span style="color: #339933;">,</span> <span style="color: #000088;">$subemail</span><span style="color: #339933;">,</span> <span style="color: #000088;">$subcaptcha</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span></div></div>
<div style="height:20px">&nbsp;</div>
<p>&nbsp;<strong>1b. Find:</strong> (about line 397)</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000088;">$subemail</span> <span style="color: #339933;">=</span> <span style="color: #990000;">stripslashes</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$subemail</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span></div></div>
<p>&nbsp; &nbsp; &nbsp; &nbsp; <strong>Add BELOW:</strong></p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; &nbsp; &nbsp; <span style="color: #666666; font-style: italic;">/* captcha error checking - nowares */</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #000088;">$field</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;captcha&quot;</span><span style="color: #339933;">;</span> &nbsp;<span style="color: #666666; font-style: italic;">//Use field name for the generated captcha image</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #000088;">$subcaptcha</span> <span style="color: #339933;">||</span> <span style="color: #000088;">$subcaptcha</span> <span style="color: #339933;">!=</span> <span style="color: #000088;">$_SESSION</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'captcha'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000088;">$form</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">setError</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$field</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;* captcha incorrect&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">else</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000088;">$subcaptcha</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_real_escape_string</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$subcaptcha</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span></div></div>
<div style="height:30px">&nbsp;</div>
<p><strong>2 &#8211; Open:</strong> engine/modules/register.php</p>
<p>&nbsp;<strong>2a. Find:</strong> (about line 26)</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; &nbsp; &nbsp; <span style="color: #000088;">$retval</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$user</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">register</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'user_name'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'pass_word'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'email'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<p>&nbsp; &nbsp; &nbsp; &nbsp; <strong>Replace with:</strong></p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; &nbsp; &nbsp; <span style="color: #000088;">$retval</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$user</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">register</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'user_name'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'pass_word'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'email'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'captcha'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<div style="height:20px">&nbsp;</div>
<p>&nbsp;<strong>2b. Find: (about line 109)</strong></p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;td&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$form</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">error</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;email&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/td&gt;&lt;/tr&gt;</div></div>
<p>&nbsp; &nbsp; &nbsp; &nbsp; <strong>Add BELOW:</strong></p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:500px;"><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">tr</span>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;</span>Captcha:<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;captcha/php_captcha.php&quot;</span>&gt;</span> <span style="color: #ddbb00;">&amp;nbsp;</span><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;captcha&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text&quot;</span> <span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;width:65px;position:relative;bottom:5px;&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&lt;?php echo $form-&gt;</span></span>value(&quot;captcha&quot;); ?&gt;&quot; /&gt;<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">td</span>&gt;&lt;?php echo $form-&gt;</span>error(&quot;captcha&quot;); ?&gt;<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">td</span>&gt;</span><br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">tr</span>&gt;</span></div></div>
<div style="height:30px">&nbsp;</div>
<p>&nbsp;<strong>3. Upload:</strong> /captcha/ folder to your site root</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a  title='WebWoW Captcha' href='http://abeontech.com/?wpdmact=process&did=MS5ob3RsaW5r' style="background:url('http://abeontech.com/wp-content/plugins/download-manager/icon/download.png') no-repeat;padding:3px 12px 12px 28px;font:bold 10pt verdana;">Download Captcha Files</a></p>
<p>Please let me know if you find any errors or have any problems.</p>
]]></content:encoded>
			<wfw:commentRss>http://abeontech.com/422-webdesign-webwow-captcha-on-registration-mod/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SEO and Keyword density</title>
		<link>http://abeontech.com/420-webdesign-seo-and-keyword-density</link>
		<comments>http://abeontech.com/420-webdesign-seo-and-keyword-density#comments</comments>
		<pubDate>Sat, 27 Nov 2010 14:36:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://abeontech.com/?p=420</guid>
		<description><![CDATA[Website Search Engine Optimization (generally shortened to <abbr title="Search Engine Optimization">SEO</abbr>) and attaining your desired search engine placement usually relies heavily on a sound keyword strategy.
A website's success, or lack thereof, can be determined on choosing good keywords.
This article details some important information and common mistakes to consider while opimizing your website for search engines]]></description>
			<content:encoded><![CDATA[<p>Website Search Engine Optimization (generally shortened to <abbr title="Search Engine Optimization">SEO</abbr>) and attaining your desired search engine placement usually relies heavily on a sound keyword strategy.<br />
A website&#8217;s success, or lack thereof, can be determined on choosing good keywords.<br />
This article details some important information and common mistakes to consider while opimizing your website for search engines.. <span id="more-420"></span></p>
<p>Author’s Bio: Jeffrey Gross is an Search Engine Optimization (SEO) Enthusiast who lives on Long Island, NY. Jeff&#8217;s <a href="http://www.nPromote.com">SEO Company</a> (nPromote) helps Long Island business owners (and business owners across the country) get their businesses to the top of the search engines. In his spare time Jeff teaches Search Engine<br />
Optimization to small business owners and enjoys lecturing at local colleges and other venues as well.</p>
<p>Anyone with a blog, website, or who has even just been on the internet is likely aware that the way search engines like Google determine where a website will show up involves search engine optimization, or SEO.</p>
<p>There is however quite a bit of misinformation surrounding the relatively new field of SEO, and the web is flush with hacks, cons, and just bad practitioners of search engine optimization.</p>
<p>Perhaps the biggest misnomer is that simply spamming a word within the copy on your page will help you rank higher – it will not. And in fact if Google or other search engines find that the word being spammed is not relevant to the info on the page, there is a chance it could be &#8220;blacklisted&#8221; by these search engines. This, along with the fact that writing for search<br />
engines, instead of the people who will be reading your page (hopefully) just makes it sound horrible, is good reason to really learn a bit more about the field and how to balance your search optimization with content readers will actually be interested in and enjoy reading.</p>
<p>When optimizing the content on a page (not the Meta tags and backlinks &#8211; that is another story) there are 3 primary concerns:</p>
<ol>
<li> SEPS Keyword density – There can be several keywords. And your copy should not be too dense with keywords. It should fall within a percent of total content. Usually between 2-4%.</li>
<li> Main Theme Keyword Density – This is your one main keyword, and should be between 1-3%.</li>
<li> Main Keyword Prominence – This is where in the text the keyword appears, usually somewhere toward the beginning or in the title, and toward the end.</li>
</ol>
<p>Too really get your page top rankings, there are a number of more technical tricks available, and usually you would need to hire someone who specializes in the field to get the most out of your SEO. The real trick though is balancing this with good content. The above tips are a good step that nearly anyone can use to increase ranking though.</p>
<p>And you don’t have to count each keyword. There are tons of free programs available online that let you check the status of your optimization. With the majority of these programs you simply need to copy and paste your content, and verify exactly which keywords you are looking for, and the program will come back with your percentages letting you easily<br />
play with the content until it sounds good and contains the proper number of keywords.</p>
<p>Simply Google &#8220;Free SEO Software&#8221; or something similar and you should find several links to these free programs. Naturally hiring a professional will lead to greater results, but this is a wonderful start for anyone.</p>
]]></content:encoded>
			<wfw:commentRss>http://abeontech.com/420-webdesign-seo-and-keyword-density/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bypass iPhones screen lock (iOS 4.1)</title>
		<link>http://abeontech.com/419-security-bypass-iphones-screen-lock-ios-4-1</link>
		<comments>http://abeontech.com/419-security-bypass-iphones-screen-lock-ios-4-1#comments</comments>
		<pubDate>Tue, 02 Nov 2010 15:15:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Exploit]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://abeontech.com/?p=419</guid>
		<description><![CDATA[A recent security flaw in Apple&#8217;s iOS allows access to the device while the phone is &#8220;locked&#8221;. iOS is used in the iPhone 4, 3G and 3GS models so the attack has a high possible reach. With a few key presses you can make calls, listen to voicemail, browse the call history and address book! [...]]]></description>
			<content:encoded><![CDATA[<p>A recent security flaw in Apple&#8217;s iOS allows access to the device while the phone is &#8220;locked&#8221;.<br />
iOS is used in the iPhone 4, 3G and 3GS models so the attack has a high possible reach.<br />
With a few key presses you can make calls, listen to voicemail, browse the call history and address book!</p>
<p>This short article details how the attack works.<br />
<span id="more-419"></span></p>
<p>Enabling the passcode lock on your iPhone is, for now, not enough to prevent someone using your device and adding to your bill!<br />
This should worry you if your concerned about iPhone security.</p>
<h3>How the vulnerability works</h3>
<p><strong>1.</strong> Hit &#8220;emergency call&#8221;<br />
<strong>2.</strong> Type in a random number.<br />
<strong>3.</strong> Hit the call button.<br />
<strong>4. </strong>Shortly after, press the lock button on top of the phone.<br />
<strong>4.1</strong> That&#8217;s it! Your now an uber l33t haxor -_-</p>
<p>This isn&#8217;t a major security risk (yet) as full access to the phone&#8217;s operations isn&#8217;t granted, but it does point out yet another fundamental flaw in Apple&#8217;s iPhone software.<br />
Let&#8217;s hope the team working on security for iOS have a good look through the crappy code their producing to iron out any more surprises.</p>
<p>The video below shows how simple and quick this can be.</p>
<p><object width="500" height="290"><param name="movie" value="http://www.youtube.com/v/hq8Dok2Th2s&#038;hl=en_GB&#038;feature=player_embedded&#038;version=3"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.youtube.com/v/hq8Dok2Th2s&#038;hl=en_GB&#038;feature=player_embedded&#038;version=3" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="500" height="290"></embed></object></p>
<p>There is no fix for this hack yet and will probably only be patched on the next iOS update, 4.2.<br />
If you use an iPhone with iOS version 4.1 the only real way to keep it safe is to be careful who you let use it.</p>
]]></content:encoded>
			<wfw:commentRss>http://abeontech.com/419-security-bypass-iphones-screen-lock-ios-4-1/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Legends of Norrath free cards</title>
		<link>http://abeontech.com/418-gaming-legends-of-norrath-free-cards-workaround</link>
		<comments>http://abeontech.com/418-gaming-legends-of-norrath-free-cards-workaround#comments</comments>
		<pubDate>Tue, 07 Sep 2010 20:58:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Gaming]]></category>
		<category><![CDATA[Exploit]]></category>
		<category><![CDATA[Guide]]></category>

		<guid isPermaLink="false">http://abeontech.com/?p=418</guid>
		<description><![CDATA[A simple way to get more cards in Legends of Norrath for free.
Unluck the scenarios to get a better feel of the game!]]></description>
			<content:encoded><![CDATA[<p>I jumped into the EverQuest 2 Extended (Free-2-Play) Beta last week and saw that it was linked to a collectable card game called &#8220;Legends of Norrath&#8221;.</p>
<p>The card game in question is similar in nature to Magic: The Gathering.<br />
Unless you want to pay to play you are stuck with 11 tutorials, culminating in a match against a computer opponent.</p>
<p>This seems very limited to me and I wanted a little more before I decided to shell out any of my hard earned cash on a game I may never play!<br />
So&#8230; I messed about a little bit and found a way to get a free deck, 2 booster packs and many other cards (including &#8220;foils&#8221;) without spending a penny / cent.<br />
<span id="more-418"></span></p>
<p>I&#8217;m not sure this if this is how <abbr title="Sony Online Entertainment">SOE</abbr> wanted the system to work, but I&#8217;m going to share my findings anyway.</p>
<p>As the scenario button from the homepage is greyed out and clicking the scenario button at the end of the tutorial gives an error similar to:</p>
<blockquote><p>&#8220;You must purchase a deck to play the scenarios&#8221;</p></blockquote>
<p>It would seem they didn&#8217;t intend this to be possible.</p>
<ul>
<li>Log into Everquest 2 (you can use a <a href="http://everquest2.com/free_to_play">free-2-play</a> account) and type &#8220;/claim&#8221;</li>
<li>Claim the &#8220;OathBreaker Starter Deck and booster pack&#8221; and the &#8220;Kurnak Reward&#8221; (another booster pack)</li>
<li>Quit EverQuest and log into Legends of Norrath</li>
<li>Click &#8220;Casual Games&#8221; and join any room</li>
<li>Click &#8220;Fippy&#8217;s Revenge&#8221; (on the right) and select a scenario to play from the complete list!</li>
<li>You can play Boots of Zorash but won&#8217;t win any cards, but all the others I&#8217;ve played have given free cards so far</li>
</ul>
<p>You can get three cards by winning each scenario.<br />
1 for easy, 1 for medium and a foil card (shiny shiny) for hard.<br />
Completing hard mode will mean you get all three cards without the need to repeat each scenario.</p>
<p>Obviously, every card you win won&#8217;t fit perfectly into your deck, but it&#8217;s free&#8230;<br />
If you really want to play Legends of Norrath, by some damn cards!</p>
<p>It&#8217;s worth remembering that EverQuest 2 Extended is still in Beta, so this may change.</p>
]]></content:encoded>
			<wfw:commentRss>http://abeontech.com/418-gaming-legends-of-norrath-free-cards-workaround/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

