<?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>Adsense Script &#187; using</title>
	<atom:link href="http://scriptahead.com/tag/using/feed/" rel="self" type="application/rss+xml" />
	<link>http://scriptahead.com</link>
	<description></description>
	<lastBuildDate>Fri, 10 Feb 2012 17:01:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>HOW DO YOU OPEN A NEW INTERNET EXPLORER WINDOW AND POINT IT TO A PARTICULAR SITE USING A DOS COMMAND SCRIPT?</title>
		<link>http://scriptahead.com/401/how-do-you-open-a-new-internet-explorer-window-and-point-it-to-a-particular-site-using-a-dos-command-script/</link>
		<comments>http://scriptahead.com/401/how-do-you-open-a-new-internet-explorer-window-and-point-it-to-a-particular-site-using-a-dos-command-script/#comments</comments>
		<pubDate>Mon, 06 Feb 2012 05:01:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Script]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[Explorer]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[open]]></category>
		<category><![CDATA[particular]]></category>
		<category><![CDATA[point]]></category>
		<category><![CDATA[site]]></category>
		<category><![CDATA[using]]></category>
		<category><![CDATA[Window]]></category>

		<guid isPermaLink="false">http://scriptahead.com/401/how-do-you-open-a-new-internet-explorer-window-and-point-it-to-a-particular-site-using-a-dos-command-script/</guid>
		<description><![CDATA[Question by fwcelticbrigand: How do you open a new World wide web Explorer window and point it to a particular site using a DOS command script? &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; Answer by Man.with.a.PlanBlue Screen of Death coming up. Device contention. &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; Know better? Leave your own answer in the comments!]]></description>
			<content:encoded><![CDATA[<p><strong><i>Question by fwcelticbrigand</i>: <br />How do you open a new World wide web Explorer window and point it to a particular site using a DOS command script?</strong></p>
<p><span id="more-401"></span><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><i>Answer by Man.with.a.Plan</i><br/>Blue Screen of Death coming up.<br />
Device contention.</p>
<p>
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
<strong>Know better? Leave your own answer in the comments!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://scriptahead.com/401/how-do-you-open-a-new-internet-explorer-window-and-point-it-to-a-particular-site-using-a-dos-command-script/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>IS THERE A WAY TO STRIP ADS FROM A WEBPABE BY USING EITHER SERVER SIDE OR CLIENT SIDE SCRIPTING?</title>
		<link>http://scriptahead.com/394/is-there-a-way-to-strip-ads-from-a-webpabe-by-using-either-server-side-or-client-side-scripting/</link>
		<comments>http://scriptahead.com/394/is-there-a-way-to-strip-ads-from-a-webpabe-by-using-either-server-side-or-client-side-scripting/#comments</comments>
		<pubDate>Thu, 26 Jan 2012 17:06:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Script]]></category>
		<category><![CDATA[client]]></category>
		<category><![CDATA[either]]></category>
		<category><![CDATA[from]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[side]]></category>
		<category><![CDATA[strip]]></category>
		<category><![CDATA[there]]></category>
		<category><![CDATA[using]]></category>
		<category><![CDATA[webpabe]]></category>

		<guid isPermaLink="false">http://scriptahead.com/394/is-there-a-way-to-strip-ads-from-a-webpabe-by-using-either-server-side-or-client-side-scripting/</guid>
		<description><![CDATA[Question by Jay: Is there a way to strip ads from a webpabe by using either server side or client side scripting? I am working with someone that needs a specific site blocked killingtime.com&#8230; They need it blocked from both search results and from directly typing in the address&#8230; I just had an idea though]]></description>
			<content:encoded><![CDATA[<p><strong><i>Question by Jay</i>: <br />Is there a way to strip ads from a webpabe by using either server side or client side scripting?</strong><br />
I am working with someone that needs a specific site blocked killingtime.com&#8230; They need it blocked from both search results and from directly typing in the address&#8230; I just had an idea though to try and find a way to strip the ads out of pages&#8230; This isnt to mess people out of revenues via the web but to keep younger children from seeing porn on the side and top of this site&#8230; Any help would be greatly appreciated&#8230;</p>
<p><span id="more-394"></span><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><i>Answer by Estelle</i><br/>Use CSS  &#8211; you can make the ads &#8220;display: none; visibility: hidden;&#8221;</p>
<p>You can also use JavaScript and the DOM to do it if there are frames that you have to target and they are served from the same server.  Use PHP to only impact killingtime.com &#8211; that way it will be squashed before it is sent to the browser.</p>
<p>Hope that makes sense.</p>
<p>
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
<strong>What do you think? Answer below!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://scriptahead.com/394/is-there-a-way-to-strip-ads-from-a-webpabe-by-using-either-server-side-or-client-side-scripting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WHAT SCRIPT THIS SITE IS USING? TRUMORS.COM?</title>
		<link>http://scriptahead.com/390/what-script-this-site-is-using-trumors-com/</link>
		<comments>http://scriptahead.com/390/what-script-this-site-is-using-trumors-com/#comments</comments>
		<pubDate>Fri, 20 Jan 2012 17:04:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Script]]></category>
		<category><![CDATA[site]]></category>
		<category><![CDATA[this]]></category>
		<category><![CDATA[Trumors.com]]></category>
		<category><![CDATA[using]]></category>

		<guid isPermaLink="false">http://scriptahead.com/390/what-script-this-site-is-using-trumors-com/</guid>
		<description><![CDATA[Question by ZIGX: What script this site is using? Trumors.com? I am just wondering what script this website is using. It has bunch of listings comming from ebay. I want to set up the same thing with ebay or maube with nextag if possible? Any thought? Thanks! &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; Know better? Leave your own answer]]></description>
			<content:encoded><![CDATA[<p><strong><i>Question by ZIGX</i>: <br />What script this site is using? Trumors.com?</strong><br />
I am just wondering what script this website is using. It has bunch of listings comming from ebay. I want to set up the same thing with ebay or maube with nextag if possible? Any thought? Thanks!</p>
<p><span id="more-390"></span><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
<strong>Know better? Leave your own answer in the comments!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://scriptahead.com/390/what-script-this-site-is-using-trumors-com/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>HOW DO I USE JAVASCRIPT WITH A YAHOO SITE? I AM USING THE SAME SCRIPT I USE ON OTHER (PROFILE PAGES). PLACE?</title>
		<link>http://scriptahead.com/381/how-do-i-use-javascript-with-a-yahoo-site-i-am-using-the-same-script-i-use-on-other-profile-pages-place/</link>
		<comments>http://scriptahead.com/381/how-do-i-use-javascript-with-a-yahoo-site-i-am-using-the-same-script-i-use-on-other-profile-pages-place/#comments</comments>
		<pubDate>Sat, 07 Jan 2012 05:04:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Script]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[pages]]></category>
		<category><![CDATA[place]]></category>
		<category><![CDATA[profile]]></category>
		<category><![CDATA[same]]></category>
		<category><![CDATA[site]]></category>
		<category><![CDATA[using]]></category>
		<category><![CDATA[YAHOO]]></category>

		<guid isPermaLink="false">http://scriptahead.com/381/how-do-i-use-javascript-with-a-yahoo-site-i-am-using-the-same-script-i-use-on-other-profile-pages-place/</guid>
		<description><![CDATA[Question by Thomas M: How do I use javascript with a yahoo site? I am using the same script I use on other (profile pages). Place? How do I use javascript with a yahoo site? I am using the same script I use on other (profile pages). Is there a certain place where I have]]></description>
			<content:encoded><![CDATA[<p><strong><i>Question by Thomas M</i>: <br />How do I use javascript with a yahoo site? I am using the same script I use on other (profile pages). Place?</strong><br />
How do I use javascript with a yahoo site?  I am using the same script I use on other (profile pages).  Is there a certain place where I have to insert the code?<br />
I am using sitebuilder (the newest version).<br />
an example of a code that is not working:</p>
<p><SCRIPT language=JavaScript1.2><br />
if(navigator.appName.indexOf(&#8220;WebTV&#8221;) != -1)<br />
   var x=1<br />
else<br />
 {<br />
var x=1<br />
var cp=0,alt=1,curpos1=0,curpos2=-1<br />
function initialize(){<br />
startit()<br />
}<br />
function sw(){<br />
if (document.all)<br />
temp=document.body.scrollTop<br />
else<br />
temp=window.pageYOffset<br />
if (alt==0)<br />
alt=2<br />
else<br />
alt=1<br />
if (alt==0)<br />
curpos1=temp<br />
else<br />
curpos2=temp<br />
if (curpos1!=curpos2){<br />
if (document.all)<br />
cp=document.body.scrollTop+x<br />
else<br />
cp=window.pageYOffset+x<br />
window.scroll(0,cp)<br />
}<br />
else{<br />
cp=0<br />
window.scroll(0,cp)<br />
}<br />
}<br />
function startit(){<br />
setInterval(&#8220;sw()&#8221;,50)<br />
}<br />
window.onload=initialize<br />
}<br />
</SCRIPT><br />
Awesome!  The second answer gave me the hnt I needed.  I changed the section (to the end) where I inserted the Java and &#8216;voila!&#8217; it worked!  The exact same code worked.</p>
<p><span id="more-381"></span><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><i>Answer by A J</i><br/>Javascript can be used anywhere within html. Put between script tags, like this.</p>
<p><script language="JavaScript">
alert("hi!")
</script></p>
<p>
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
<strong>What do you think? Answer below!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://scriptahead.com/381/how-do-i-use-javascript-with-a-yahoo-site-i-am-using-the-same-script-i-use-on-other-profile-pages-place/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>CAN I CREATE A LOGIN SCRIPT FOR MY WEBSITE WITHOUT USING PHP?</title>
		<link>http://scriptahead.com/372/can-i-create-a-login-script-for-my-website-without-using-php/</link>
		<comments>http://scriptahead.com/372/can-i-create-a-login-script-for-my-website-without-using-php/#comments</comments>
		<pubDate>Sat, 24 Dec 2011 17:07:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Script]]></category>
		<category><![CDATA[create]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[using]]></category>
		<category><![CDATA[website]]></category>
		<category><![CDATA[without]]></category>

		<guid isPermaLink="false">http://scriptahead.com/372/can-i-create-a-login-script-for-my-website-without-using-php/</guid>
		<description><![CDATA[Question by Alawex12: Can I create a login script for my website without using PHP? I tried to open my login page using MS Sharepoint and I do not think it will work with this. Is there a way for me to use the same information in something other than php??? &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; Answer by RonYes,]]></description>
			<content:encoded><![CDATA[<p><strong><i>Question by Alawex12</i>: <br />Can I create a login script for my website without using PHP?</strong><br />
I tried to open my login page using MS Sharepoint and I do not think it will work with this.  Is there a way for me to use the same information in something other than php???</p>
<p><span id="more-372"></span><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><i>Answer by Ron</i><br/>Yes, but it is not as secure as usding a server side scripting language. This might work for you, but you have to sign up for free account to get it:</p>
<p>Bravenet Password Protect &#8211; http://www.bravenet.com/webtools/passwd/</p>
<p>As for the PHP/ASP ones, see if you can use one:</p>
<p>Depending on what you run:</p>
<p>How to: Create an ASP.NET Login Page &#8211; http://msdn.microsoft.com/en-us/library/ms178331.aspx<br />
Creating Login Page  &#8211; http://www.adesdesign.net/php/tutorials/dreamweaver/secure_login.php<br />
Create login page &#8211; http://www.interaktonline.com/Documentation/MXCalendar/4243_createlogin.htm<br />
PHP Login System with Admin Features: http://www.evolt.org/node/60384</p>
<p>$  _SESSION based login system ::Class::: http://bb.dzsoundnirvana.com/viewtopic.php?f=3&#038;t=36<br />
Or,: http://answers.yahoo.com/question/index?qid=20100413175316AASAuQc</p>
<p>PHP Login Script with Remember Me Feature: http://www.evolt.org/node/60265<br />
How to Create a PHP AutoLogin (‘Remember Me’) Feature using Cookies: http://www.bitrepository.com/php-autologin.html</p>
<p>Ron</p>
<p>
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
<strong>Give your own answer to this question below!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://scriptahead.com/372/can-i-create-a-login-script-for-my-website-without-using-php/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>USING A DATABASE VARIABLE INSIDE AN OPTION VALUE IN A DROP DOWN BOX?</title>
		<link>http://scriptahead.com/369/using-a-database-variable-inside-an-option-value-in-a-drop-down-box/</link>
		<comments>http://scriptahead.com/369/using-a-database-variable-inside-an-option-value-in-a-drop-down-box/#comments</comments>
		<pubDate>Tue, 20 Dec 2011 05:02:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Script]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[down]]></category>
		<category><![CDATA[drop]]></category>
		<category><![CDATA[inside]]></category>
		<category><![CDATA[option]]></category>
		<category><![CDATA[using]]></category>
		<category><![CDATA[value]]></category>
		<category><![CDATA[variable]]></category>

		<guid isPermaLink="false">http://scriptahead.com/369/using-a-database-variable-inside-an-option-value-in-a-drop-down-box/</guid>
		<description><![CDATA[Question by shortpc89: Using a database variable inside an option value in a drop down box? I want to put a drop-down box on my gaming site. The user will be able to click on the box and the box will drop down and show a list of games that are in the database. Each]]></description>
			<content:encoded><![CDATA[<p><strong><i>Question by shortpc89</i>: <br />Using a database variable inside an option value in a drop down box?</strong><br />
I want to put a drop-down box on my gaming site.  The  user will be able to click on the box and the box will drop down and show a list of games that are in the database.  Each game listed in the box will have a link to it.  The link will be generated based on the ID of the game in the database.</p>
<p>At the moment, the code I have right now is this:</p>
<p>The Javascript:</p>
<p><script type="text/javascript">
function submitForm() {
var list = document.navList.subMenu;
var page = list.options[ list.selectedIndex ].value;
if (page != "home")
window.location = page;
return false;
}
</script></p>
<p>The dropdown box:</p>
<li style="line-height:38px;background:url();">
<form name="navList" onsubmit="return submitForm();">
<select name="subMenu">
<?php<br />
$  connection = mysql_connect("mysql1046.servage.net","mmocraze","jk1jk1jk1");</p>
<p>//Selects the Games table<br />
mysql_select_db("wp_MMOCraze_games", $  connection);</p>
<p>//The query to run on the table with variable set for WHERE gameName<br />
$  gameName = $  _GET['gameName'];<br />
$  gameName = strip_tags($  gameName);</p>
<p>$  query="SELECT gameName,gameId FROM wp_MMOCraze_games";</p>
<p>$  result = mysql_query($  query) or die(mysql_error());</p>
<p>while($  row = mysql_fetch_array($  result))<br />
{</p>
<p>$  row['gameName']= str_replace(' ', '-', $  row['gameName']);<br />
?><br />
echo &#8220;<br />
<option value='http://www.mmocraze.com/game-directory/game-profile/?gameId=" .$  row['gameId']. "'>&#8221; .$  row['gameName']. &#8220;</option>
<p>&#8220;;<br />
<?php<br />
}<br />
mysql_close($  connection);<br />
?><br />
</select>
<input type="submit" value="Go" />
</form>
</li>
<p>The problem is that when it shows up on my site, the actual names of the games do not show up. Instead the code shows up.  For instance, &#8221; .$  row['gameName']. &#8221; will loop itself over and over again int he menu and the link, when clicked on, will look like this: http://www.mmocraze.com/game-directory/game-profile/?gameId=&#8221; .$  row[</p>
<p>Here's the code my friend sent me (without the javascript and action page (haven't tried it yet):</p>
<form action="theReceivingPage" method="POST">
<p><?php</p>
<p>$  sql = "SELECT gameId, gameName FROM game ORDER BY gameName";<br />
$  result = mysql_query($  sql);</p>
<p>while($  row = mysql_fetch_array($  result))<br />
{</p>
<p>$  gameId = $  row['gameId'];<br />
$  gameName = $  row['gameName'];</p>
<p>print(&#8221;</p>
<option value=$  gameId>$  gameName</option>
<p>&#8220;);</p>
<p>}</p>
<p>?></p>
<input type="submit" value="See This Game">
</form>
<p>Can anyone help me with this?</p>
<p><span id="more-369"></span><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><i>Answer by Riley</i><br/>this is usually because you have not shut with a &#8221; or &#8216; can you link me?</p>
<p>
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
<strong>Give your own answer to this question below!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://scriptahead.com/369/using-a-database-variable-inside-an-option-value-in-a-drop-down-box/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>CAN SOMEONE TELL ME HOW TO MAKE A MYSPACE ADDING SITE SCRIPT USING MYSQL?</title>
		<link>http://scriptahead.com/356/can-someone-tell-me-how-to-make-a-myspace-adding-site-script-using-mysql/</link>
		<comments>http://scriptahead.com/356/can-someone-tell-me-how-to-make-a-myspace-adding-site-script-using-mysql/#comments</comments>
		<pubDate>Sat, 26 Nov 2011 05:04:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Script]]></category>
		<category><![CDATA[Adding]]></category>
		<category><![CDATA[myspace]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[site]]></category>
		<category><![CDATA[someone]]></category>
		<category><![CDATA[tell]]></category>
		<category><![CDATA[using]]></category>

		<guid isPermaLink="false">http://scriptahead.com/356/can-someone-tell-me-how-to-make-a-myspace-adding-site-script-using-mysql/</guid>
		<description><![CDATA[Question by Soda: Can someone tell me how to make a myspace adding site script using mysql? Can someone tell me how to make a myspace adding site script using mysql??? Me and a friend want to make one. He has a site but we dont know how to make a script for mysql and]]></description>
			<content:encoded><![CDATA[<p><strong><i>Question by Soda</i>: <br />Can someone tell me how to make a myspace adding site script using mysql?</strong><br />
Can someone tell me how to make a myspace adding site script using mysql??? Me and a friend want to make one. He has a site but we dont know how to make a script for mysql and how to connect it to the website. We want to be able to record how many points they have, if they have vip and whatever all the other sites have. We have experience in coding somewhat. But I dont see that being needed. We just need help with the mysql part of it all. Thanks if you help me.</p>
<p><span id="more-356"></span><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><i>Answer by Hex</i><br/>A Myspace adding site?</p>
<p>If you are speaking about the link then that is easy&#8230; <img src='http://scriptahead.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Here&#8217;s a link to your MySQL script:</p>
<p>http://www.xpence.net/temp/myspacelink.txt</p>
<p>It creates a database called: myspacelinks<br />
Then it creates a table called: content<br />
Finally it inserts the first record into<br />
the table. The first entry is the link to<br />
myspace.</p>
<p>Feel free to message me for more info.</p>
<p> Words of Wisdom,<br />
 &#8211; Hex</p>
<p>
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
<strong>Add your own answer in the comments!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://scriptahead.com/356/can-someone-tell-me-how-to-make-a-myspace-adding-site-script-using-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CAN A SERVER (USING PHP) HANDLE THINGS FOR PLAYERS WITHOUT ANYONE BEING ON THE WEBSITE?</title>
		<link>http://scriptahead.com/349/can-a-server-using-php-handle-things-for-players-without-anyone-being-on-the-website/</link>
		<comments>http://scriptahead.com/349/can-a-server-using-php-handle-things-for-players-without-anyone-being-on-the-website/#comments</comments>
		<pubDate>Tue, 15 Nov 2011 17:10:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Script]]></category>
		<category><![CDATA[anyone]]></category>
		<category><![CDATA[being]]></category>
		<category><![CDATA[handle]]></category>
		<category><![CDATA[players]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[things]]></category>
		<category><![CDATA[using]]></category>
		<category><![CDATA[website]]></category>
		<category><![CDATA[without]]></category>

		<guid isPermaLink="false">http://scriptahead.com/349/can-a-server-using-php-handle-things-for-players-without-anyone-being-on-the-website/</guid>
		<description><![CDATA[Question by tobbe_hunter: Can a server (using php) handle things for players without anyone being on the website? We&#8217;re using php. We wonder if we can set a timer to like 30 minutes, and then the server will run a php script once the timer runs out, even if there are no one on the]]></description>
			<content:encoded><![CDATA[<p><strong><i>Question by tobbe_hunter</i>: <br />Can a server (using php) handle things for players without anyone being on the website?</strong><br />
We&#8217;re using php. We wonder if we can set a timer to like 30 minutes, and then the server will run a php script once the timer runs out, even if there are no one on the site to load pages.(We&#8217;re making a game like travian and wondering how to make the attacks like they are in travian)</p>
<p><span id="more-349"></span><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><i>Answer by sney e</i><br/>Yes, there is. The simplest way I have heard is to use cron:</p>
<p>http://en.wikipedia.org/wiki/Cron</p>
<p>Most webhosts should have it or something equivalent at the least. It&#8217;s a bit hard to briefly explain, but the wiki page linked and source below will give more detail. Basically, you would use an entry in your crontab file like this:<br />
# Run each 30 minutes<br />
*/30 * * * * /path/to/file.php</p>
<p>On a specific webhost there will probably be more automated ways to do this, you should email your host if you cannot find anything about it.</p>
<p>If it&#8217;s on your own server, this might help a little:</p>
<p>http://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/</p>
<p>
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
<strong>Add your own answer in the comments!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://scriptahead.com/349/can-a-server-using-php-handle-things-for-players-without-anyone-being-on-the-website/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>JAVASCRIPT USING VAR TO ENTER DOMAINS?</title>
		<link>http://scriptahead.com/307/javascript-using-var-to-enter-domains/</link>
		<comments>http://scriptahead.com/307/javascript-using-var-to-enter-domains/#comments</comments>
		<pubDate>Tue, 13 Sep 2011 17:03:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Script]]></category>
		<category><![CDATA[domains]]></category>
		<category><![CDATA[enter]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[using]]></category>

		<guid isPermaLink="false">http://scriptahead.com/307/javascript-using-var-to-enter-domains/</guid>
		<description><![CDATA[Question by timbobelmo: Javascript using var to enter domains? My work uses this great code at the top their page&#8230;. var imghost = 'http://blah.images.com; var ahost = 'http://www.website.com; var khost = 'http://www.website.com/future/; Then in the HTML code the following is put to make it work:]]></description>
			<content:encoded><![CDATA[<p><strong><i>Question by timbobelmo</i>: <br />Javascript using var to enter domains?</strong><br />
My work uses this great code at the top their page&#8230;.<br />
        <script type="text/javascript">
            var imghost = 'http://blah.images.com;
            var ahost = 'http://www.website.com;
            var khost = 'http://www.website.com/future/; 
        </script><br />
Then in the HTML code the following is put to make it work:<br />
<img src="[imghost]/lp/blahblah.jpg" </p>
<p>When the page loads and the user views it it reads: src=" http://blah.images.com /lp/blahblah.jpg"</p>
<p>It automatically puts the domain information in case you need to change it. In my case, I'd like all items to point to ".com/future/" then when I am done with the new site simply change that original java script to remove the "future" and push the testing site live. My company uses .pd files…but that shouldn't make a difference. I have examined all the code and cannot make it work on my site, doesn’t look like I’m missing anything. Suggestions? Or maybe a different way to do this? I am using .php for my site. Thanks!</p>
<p><span id="more-307"></span><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><i>Answer by dhvrm</i><br/>UPDATE:</p>
<p>http://www.dougv.com/blog/2007/10/06/a-simple-link-rewriting-script-in-php/</p>
<p>
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
<strong>Give your own answer to this question below!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://scriptahead.com/307/javascript-using-var-to-enter-domains/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOW TO UPLOAD IMAGE TO MY WEB SITE THROUGH HTML FORMS USING A SCRIPT?</title>
		<link>http://scriptahead.com/280/how-to-upload-image-to-my-web-site-through-html-forms-using-a-script/</link>
		<comments>http://scriptahead.com/280/how-to-upload-image-to-my-web-site-through-html-forms-using-a-script/#comments</comments>
		<pubDate>Thu, 04 Aug 2011 05:03:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Script]]></category>
		<category><![CDATA[forms]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[site]]></category>
		<category><![CDATA[through]]></category>
		<category><![CDATA[upload]]></category>
		<category><![CDATA[using]]></category>

		<guid isPermaLink="false">http://scriptahead.com/280/how-to-upload-image-to-my-web-site-through-html-forms-using-a-script/</guid>
		<description><![CDATA[Question by emtee: How to upload image to my web site through html forms using a script? i need a form to upload images to my website. i have looked around for examples that do not work. please help anyone! &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; Answer by sharon xif u want 2 use a picture that is already on]]></description>
			<content:encoded><![CDATA[<p><strong><i>Question by emtee</i>: <br />How to upload image to my web site through html forms using a script?</strong><br />
i need a form to upload images to my website. i have looked around for examples that do not work. please help anyone!</p>
<p><span id="more-280"></span><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><i>Answer by sharon x</i><br/>if u want 2 use a picture that is already on the world wide web just click at the top of the page view>page source. then search something like ==Picture== little_babey.html___== ect.<br />
*cut and paste</p>
<p>if u want a picture from ur documents then just righ click the image open with>internet exploroer. cut and paste the URL from the top and use as a link.</p>
<p>hope that helps</p>
<p>
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
<strong>Know better? Leave your own answer in the comments!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://scriptahead.com/280/how-to-upload-image-to-my-web-site-through-html-forms-using-a-script/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

