<?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; Script</title>
	<atom:link href="http://scriptahead.com/category/script/feed/" rel="self" type="application/rss+xml" />
	<link>http://scriptahead.com</link>
	<description></description>
	<lastBuildDate>Wed, 08 Sep 2010 05:04:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>HOW WOULD YOU RUN A BATCH SCRIPT (IN THE BACKGROUND SO THE WINDOW DOESN&#8217;T POP UP) FROM C#?</title>
		<link>http://scriptahead.com/431/how-would-you-run-a-batch-script-in-the-background-so-the-window-doesnt-pop-up-from-c/</link>
		<comments>http://scriptahead.com/431/how-would-you-run-a-batch-script-in-the-background-so-the-window-doesnt-pop-up-from-c/#comments</comments>
		<pubDate>Wed, 08 Sep 2010 05:04:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Script]]></category>
		<category><![CDATA[background]]></category>
		<category><![CDATA[batch]]></category>
		<category><![CDATA[doesnt]]></category>
		<category><![CDATA[from]]></category>
		<category><![CDATA[Window]]></category>
		<category><![CDATA[would]]></category>

		<guid isPermaLink="false">http://scriptahead.com/431/how-would-you-run-a-batch-script-in-the-background-so-the-window-doesnt-pop-up-from-c/</guid>
		<description><![CDATA[



Question by Jane: How would you run a batch script (in the background so the window doesn&#8217;t pop up) from c#?
I have a batch script that works and does what I want.
Now, how can I run that script without the console popping up (or even being minimized)?

&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;
Answer by RatchetrUse the function:
System.Diagnostics.Process.Start()
(Don&#8217;t ask me why they [...]]]></description>
			<content:encoded><![CDATA[<div style="float:right;margin: 12px;"><script type="text/javascript"><!--
google_ad_client = "pub-3414877763855798";
/* 336x280, created 12/20/09 */
google_ad_slot = "0793535425";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<p><strong><i>Question by Jane</i>: <br />How would you run a batch script (in the background so the window doesn&#8217;t pop up) from c#?</strong><br />
I have a batch script that works and does what I want.</p>
<p>Now, how can I run that script without the console popping up (or even being minimized)?</p>
<p><span id="more-431"></span><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><i>Answer by Ratchetr</i><br/>Use the function:<br />
System.Diagnostics.Process.Start()</p>
<p>(Don&#8217;t ask me why they buried it in Diagnostics where nobody would think to look for it).</p>
<p>Use the overload that takes a ProcessStartInfo. When you fill in the ProcessStartInfo, you can set WindowStyle to either Minimized or Hidden.</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/431/how-would-you-run-a-batch-script-in-the-background-so-the-window-doesnt-pop-up-from-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I WANT TO MAKE SITE LIKE YAHOO ANSWER , ANY ONE HAVE YAHOO ANSWER SITE SCRIPT?</title>
		<link>http://scriptahead.com/430/i-want-to-make-site-like-yahoo-answer-any-one-have-yahoo-answer-site-script/</link>
		<comments>http://scriptahead.com/430/i-want-to-make-site-like-yahoo-answer-any-one-have-yahoo-answer-site-script/#comments</comments>
		<pubDate>Mon, 06 Sep 2010 17:10:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Script]]></category>
		<category><![CDATA[answer.]]></category>
		<category><![CDATA[like]]></category>
		<category><![CDATA[site]]></category>
		<category><![CDATA[want]]></category>
		<category><![CDATA[YAHOO]]></category>

		<guid isPermaLink="false">http://scriptahead.com/430/i-want-to-make-site-like-yahoo-answer-any-one-have-yahoo-answer-site-script/</guid>
		<description><![CDATA[



Question by Lovedove: I want to make site like yahoo answer , any one have yahoo answer site script?
I want to make site like yahoo answer , any one have yahoo answer site script ?

&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;
Answer by Don MGo to View/ Source

&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;
Add your own answer in the comments!
]]></description>
			<content:encoded><![CDATA[<p><strong><i>Question by Lovedove</i>: <br />I want to make site like yahoo answer , any one have yahoo answer site script?</strong><br />
I want to make site like yahoo answer , any one have yahoo answer site script ?</p>
<p><span id="more-430"></span><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><i>Answer by Don M</i><br/>Go to View/ Source</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/430/i-want-to-make-site-like-yahoo-answer-any-one-have-yahoo-answer-site-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WHAT ARE SOME SCRIPT TERMS FOR CAMERA SHOTS AND TRANSITIONS?</title>
		<link>http://scriptahead.com/429/what-are-some-script-terms-for-camera-shots-and-transitions/</link>
		<comments>http://scriptahead.com/429/what-are-some-script-terms-for-camera-shots-and-transitions/#comments</comments>
		<pubDate>Sun, 05 Sep 2010 05:04:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Script]]></category>
		<category><![CDATA[camera]]></category>
		<category><![CDATA[shots]]></category>
		<category><![CDATA[some]]></category>
		<category><![CDATA[terms]]></category>
		<category><![CDATA[transitions]]></category>

		<guid isPermaLink="false">http://scriptahead.com/429/what-are-some-script-terms-for-camera-shots-and-transitions/</guid>
		<description><![CDATA[Question by somedaysoon: What are some script terms for camera shots and transitions?
I&#8217;m doing Script Frenzy and I have never written a script before. I am doing this just for fun and I might direct and produce it later if I have the time. Anyway, I get the whole character, action, and dialogue stuff, but [...]]]></description>
			<content:encoded><![CDATA[<p><strong><i>Question by somedaysoon</i>: <br />What are some script terms for camera shots and transitions?</strong><br />
I&#8217;m doing Script Frenzy and I have never written a script before. I am doing this just for fun and I might direct and produce it later if I have the time. Anyway, I get the whole character, action, and dialogue stuff, but I do not know about the shots or transitions. Could you write out the terms and what they mean or give me a link to a site that already has done that? I need to know them by the time it starts. Thanks.</p>
<p><span id="more-429"></span><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><i>Answer by markwillstar</i><br/>Fade in (camera starts showing a scene)<br />
Fade out (maybe a swift black screen) and to another scene</p>
<p>Push in (camera zooms)<br />
Pull out (Wide angel shot)</p>
<p>those are the most common</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/429/what-are-some-script-terms-for-camera-shots-and-transitions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WHAT IS A GOOD RUNESCAPE BOT SCRIPT FOR CUTTING AND BANKING WILLOWS?</title>
		<link>http://scriptahead.com/428/what-is-a-good-runescape-bot-script-for-cutting-and-banking-willows/</link>
		<comments>http://scriptahead.com/428/what-is-a-good-runescape-bot-script-for-cutting-and-banking-willows/#comments</comments>
		<pubDate>Fri, 03 Sep 2010 17:04:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Script]]></category>
		<category><![CDATA[banking]]></category>
		<category><![CDATA[cutting]]></category>
		<category><![CDATA[good]]></category>
		<category><![CDATA[Runescape]]></category>
		<category><![CDATA[willows]]></category>

		<guid isPermaLink="false">http://scriptahead.com/428/what-is-a-good-runescape-bot-script-for-cutting-and-banking-willows/</guid>
		<description><![CDATA[Question by CLEE99: What is a good Runescape bot script for slicing and banking willows?
Please give link to download. I dont want scripts that take breaks! The draynor willow chopper and Megalos Wc scripts take breaks.
Please give me a good RS bot WC script that
doesnt take breaks
excellent willow picking and fast
good anti bank
works with axe [...]]]></description>
			<content:encoded><![CDATA[<p><strong><i>Question by CLEE99</i>: <br />What is a good Runescape bot script for slicing and banking willows?</strong><br />
Please give link to download. I dont want scripts that take breaks! The draynor willow chopper and Megalos Wc scripts take breaks.<br />
Please give me a good RS bot WC script that<br />
doesnt take breaks<br />
excellent willow picking and fast<br />
good anti bank<br />
works with axe in iventory (some bots banks the axe)<br />
can work good overnight<br />
Ty.</p>
<p><span id="more-428"></span><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><i>Answer by Jason F</i><br/>Just get a Macro Recorder.</p>
<p>-Input your desired actions once,<br />
-Ask it to repeat. Indefinately.</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/428/what-is-a-good-runescape-bot-script-for-cutting-and-banking-willows/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>HOW LONG SHOULD A 30 MINUTE TELEVISION SCRIPT BE?</title>
		<link>http://scriptahead.com/427/how-long-should-a-30-minute-television-script-be/</link>
		<comments>http://scriptahead.com/427/how-long-should-a-30-minute-television-script-be/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 05:07:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Script]]></category>
		<category><![CDATA[long]]></category>
		<category><![CDATA[minute]]></category>
		<category><![CDATA[should]]></category>
		<category><![CDATA[television]]></category>

		<guid isPermaLink="false">http://scriptahead.com/427/how-long-should-a-30-minute-television-script-be/</guid>
		<description><![CDATA[Question by BohmaJ: How long should a 30 minute TV script be?
I am writing a script for a TV pilot and I am having a hard time getting a concept of its length. I looked at scripts from shows like Seinfeld and Friends, but those scripts range anywhere from 13 pages to 25 (when copied [...]]]></description>
			<content:encoded><![CDATA[<p><strong><i>Question by BohmaJ</i>: <br />How long should a 30 minute TV script be?</strong><br />
I am writing a script for a TV pilot and I am having a hard time getting a concept of its length. I looked at scripts from shows like Seinfeld and Friends, but those scripts range anywhere from 13 pages to 25 (when copied and pasted into Final Draft). </p>
<p>Does anyone have any experience with this topic that can give me a superior idea about how long a script should be?</p>
<p><span id="more-427"></span><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><i>Answer by Chris</i><br/>yes, it is supposed to be at least 20 pages, each page is a minute of screen time. So, if you have a 20 page script, you will have a 20 minute show. You also have to think about commercial breaks, because when you include commercial breaks with the script, it will be 30 minutes.</p>
<p>So, it would be 20-22 pages long.</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/427/how-long-should-a-30-minute-television-script-be/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOW CAN I AUTOMATE THE RENAMING OF FILES THROUGH A BATCH SCRIPT IN WINDOWS XP?</title>
		<link>http://scriptahead.com/426/how-can-i-automate-the-renaming-of-files-through-a-batch-script-in-windows-xp/</link>
		<comments>http://scriptahead.com/426/how-can-i-automate-the-renaming-of-files-through-a-batch-script-in-windows-xp/#comments</comments>
		<pubDate>Tue, 31 Aug 2010 17:08:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Script]]></category>
		<category><![CDATA[automate]]></category>
		<category><![CDATA[batch]]></category>
		<category><![CDATA[Files]]></category>
		<category><![CDATA[renaming]]></category>
		<category><![CDATA[through]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://scriptahead.com/426/how-can-i-automate-the-renaming-of-files-through-a-batch-script-in-windows-xp/</guid>
		<description><![CDATA[Question by dave: How can I automate the renaming of files through a batch script in Windows XP?
I&#8217;m not sure how to do this at the command prompt: 
I&#8217;d like to remove the first three characters from a filename.
How can I do that in a batch script?  This needs to be something that can [...]]]></description>
			<content:encoded><![CDATA[<p><strong><i>Question by dave</i>: <br />How can I automate the renaming of files through a batch script in Windows XP?</strong><br />
I&#8217;m not sure how to do this at the command prompt: </p>
<p>I&#8217;d like to remove the first three characters from a filename.</p>
<p>How can I do that in a batch script?  This needs to be something that can run automatically each day. </p>
<p>Thanks.</p>
<p><span id="more-426"></span><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><i>Answer by ErJeeB</i><br/>rename &#8216;file_to_rename&#8217; &#8216;new_name&#8217;</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/426/how-can-i-automate-the-renaming-of-files-through-a-batch-script-in-windows-xp/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>HOW DO I ACCESS MY USB WHEN THE WINDOWS SCRIPT HOST SAYS &#8220;CAN NOT FIND SCRIPT FILE &#8220;G:\SOLUTION.VBS&#8221;?</title>
		<link>http://scriptahead.com/425/how-do-i-access-my-usb-when-the-windows-script-host-says-can-not-find-script-file-gsolution-vbs/</link>
		<comments>http://scriptahead.com/425/how-do-i-access-my-usb-when-the-windows-script-host-says-can-not-find-script-file-gsolution-vbs/#comments</comments>
		<pubDate>Mon, 30 Aug 2010 05:08:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Script]]></category>
		<category><![CDATA[access]]></category>
		<category><![CDATA[File]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[G\solution.vbs]]></category>
		<category><![CDATA[Host]]></category>
		<category><![CDATA[says]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://scriptahead.com/425/how-do-i-access-my-usb-when-the-windows-script-host-says-can-not-find-script-file-gsolution-vbs/</guid>
		<description><![CDATA[Question by Ody: How do I access my usb when the Windows Script Host states &#8220;Can not find script file &#8220;G:\solution.vbs&#8221;?
When I plugged in my usb, my AVG warned me that the file solution.vbs was potentially harmful.
So I had it moved in to the vault.
Now whenever I try to open my usb at my G: [...]]]></description>
			<content:encoded><![CDATA[<p><strong><i>Question by Ody</i>: <br />How do I access my usb when the Windows Script Host states &#8220;Can not find script file &#8220;G:\solution.vbs&#8221;?</strong><br />
When I plugged in my usb, my AVG warned me that the file solution.vbs was potentially harmful.</p>
<p>So I had it moved in to the vault.</p>
<p>Now whenever I try to open my usb at my G: directory, a bubble Windows Script Host states &#8220;Can not find script file &#8216;G:\solution.vbs&#8217;&#8221; disabling me from accessing my usb.</p>
<p>Please help <img src='http://scriptahead.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><span id="more-425"></span><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><i>Answer by CaDeAtH</i><br/>This is cause by the virus that was deleted by the anti virus.</p>
<p>Use your:<br />
address bar<br />
and<br />
explorer</p>
<p>to stop this problem, try to show all hidden files and delete the AUTORUN.INF</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/425/how-do-i-access-my-usb-when-the-windows-script-host-says-can-not-find-script-file-gsolution-vbs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IS THERE A SCRIPT/BATCH COMMAND THAT LETS ME KILL A PROCESS EVERY FEW MIN?</title>
		<link>http://scriptahead.com/424/is-there-a-scriptbatch-command-that-lets-me-kill-a-process-every-few-min/</link>
		<comments>http://scriptahead.com/424/is-there-a-scriptbatch-command-that-lets-me-kill-a-process-every-few-min/#comments</comments>
		<pubDate>Sat, 28 Aug 2010 17:07:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Script]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[every]]></category>
		<category><![CDATA[kill]]></category>
		<category><![CDATA[lets]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[script/batch]]></category>
		<category><![CDATA[there]]></category>

		<guid isPermaLink="false">http://scriptahead.com/424/is-there-a-scriptbatch-command-that-lets-me-kill-a-process-every-few-min/</guid>
		<description><![CDATA[Question by xFrozen: Is there a script/batch command that lets me kill a process each few min?
I need to kill a process each few minutes (it&#8217;s a game and my brother keeps playing it so i want him to stop). Do not ask about the game. 
I just need the instructions to make a batch/script [...]]]></description>
			<content:encoded><![CDATA[<p><strong><i>Question by xFrozen</i>: <br />Is there a script/batch command that lets me kill a process each few min?</strong><br />
I need to kill a process each few minutes (it&#8217;s a game and my brother keeps playing it so i want him to stop). Do not ask about the game. </p>
<p>I just need the instructions to make a batch/script file so it can kill a process/window each few minutes.</p>
<p>And the game&#8217;s process is hidden. It doesn&#8217;t show in the task manager&#8217;s process list, but it shows in the application list. Is that a problem?</p>
<p><span id="more-424"></span><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><i>Answer by Diogo P</i><br/>you could make a batch file with a kill command in a loop followed by a delay (you can use the built in delay of ping), make sure you turn echo off.</p>
<p>This site might help with hiding the Command Prompt window: http://www.webmasterworld.com/forum10/8901.htm</p>
<p>and this link to make a batch file to kill a process:<br />
http://www.computing.net/answers/programming/a-batch-file-to-kill-a-process/12884.html</p>
<p>If you are a newbie you can use this tutorial:<br />
http://www.computerhope.com/batch.htm</p>
<p>If you just want to make s easy file with no loop, you can use the task scheduler:<br />
http://www.iopus.com/guides/winscheduler.htm</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/424/is-there-a-scriptbatch-command-that-lets-me-kill-a-process-every-few-min/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Q&AMP;A: HOW CAN I MAKE MY SCRIPT CHECK IF AN ENTERED SUBDIRECTORY IS VALID?</title>
		<link>http://scriptahead.com/423/qa-how-can-i-make-my-script-check-if-an-entered-subdirectory-is-valid/</link>
		<comments>http://scriptahead.com/423/qa-how-can-i-make-my-script-check-if-an-entered-subdirectory-is-valid/#comments</comments>
		<pubDate>Fri, 27 Aug 2010 05:14:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Script]]></category>
		<category><![CDATA[check]]></category>
		<category><![CDATA[entered]]></category>
		<category><![CDATA[subdirectory]]></category>
		<category><![CDATA[valid]]></category>

		<guid isPermaLink="false">http://scriptahead.com/423/qa-how-can-i-make-my-script-check-if-an-entered-subdirectory-is-valid/</guid>
		<description><![CDATA[Question by Chest Rockwell: How can I make my script check if an entered subdirectory is valid?
I&#8217;m writing a shell script for class that needs to prompt the user to enter a subdirectory, If their entry is valid, it will display the contents of that directory. If it is invalid, it will throw an error [...]]]></description>
			<content:encoded><![CDATA[<p><strong><i>Question by Chest Rockwell</i>: <br />How can I make my script check if an entered subdirectory is valid?</strong><br />
I&#8217;m writing a shell script for class that needs to prompt the user to enter a subdirectory, If their entry is valid, it will display the contents of that directory. If it is invalid, it will throw an error message and exit.</p>
<p>How can I make the script check if their entry is valid without having to program each and each directory into the script?</p>
<p><span id="more-423"></span><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><i>Answer by JoelKatz</i><br/>Attempt to read the contents of the directory. If you fail, it&#8217;s because the entered subdirectory is invalid.</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/423/qa-how-can-i-make-my-script-check-if-an-entered-subdirectory-is-valid/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>IS THERE ANY PHP SCRIPT SOFTWARE TO MANAGE USERS AND SESSIONS ACROSS ALL MY SITE SCRIPTS?</title>
		<link>http://scriptahead.com/422/is-there-any-php-script-software-to-manage-users-and-sessions-across-all-my-site-scripts/</link>
		<comments>http://scriptahead.com/422/is-there-any-php-script-software-to-manage-users-and-sessions-across-all-my-site-scripts/#comments</comments>
		<pubDate>Wed, 25 Aug 2010 17:03:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Script]]></category>
		<category><![CDATA[across]]></category>
		<category><![CDATA[manage]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[sessions]]></category>
		<category><![CDATA[site]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[there]]></category>
		<category><![CDATA[users]]></category>

		<guid isPermaLink="false">http://scriptahead.com/422/is-there-any-php-script-software-to-manage-users-and-sessions-across-all-my-site-scripts/</guid>
		<description><![CDATA[Question by Drigit Inrok: Is there any php script software to manage users and sessions across all my site scripts?
I have 10 site scripts which are all on different base of users&#8230; They have their own sessions users database tables and all&#8230; Is there any software(user management system) which can link all my scripts to [...]]]></description>
			<content:encoded><![CDATA[<p><strong><i>Question by Drigit Inrok</i>: <br />Is there any php script software to manage users and sessions across all my site scripts?</strong><br />
I have 10 site scripts which are all on different base of users&#8230; They have their own sessions users database tables and all&#8230; Is there any software(user management system) which can link all my scripts to one single sign-on standard?</p>
<p><span id="more-422"></span><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><i>Answer by Matt</i><br/>I do not think there is a good cookie-cutter php solution<br />
for what is required here.</p>
<p>But a manual solution might be easier in this case.</p>
<p>If your users are on a database for example you can merge<br />
all your user tables into one new &#8220;super-table&#8221; that contains<br />
all users. You can use software like phpMyAdmin to help<br />
you in this task.</p>
<p>Then you should do the same for any associated tables<br />
e.g. holding sessions etc. If sessions are in the filesystem<br />
just make sure they are using the same temporary directory.</p>
<p>Once this is done you can change configurations in your scripts<br />
to still use their own databases for everything else but use<br />
the new database/table for the users. Note that if you have used<br />
a different database you also might have to break into two any<br />
queries that use the user or session tables and another table<br />
on the same query.</p>
<p>If you are not confident about the above process then I would<br />
suggest to not try it at all because you might break functionality<br />
of your original scripts.</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/422/is-there-any-php-script-software-to-manage-users-and-sessions-across-all-my-site-scripts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
