<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1001097" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1001097</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/creating-directories#comment-1004784</link>
    <description> &lt;p&gt;At least do a filter so they can&#039;t type in ../ and anything but letters, _ , and numbers.&lt;/p&gt;
&lt;p&gt;Owen&lt;/p&gt;
 </description>
     <pubDate>Wed, 17 May 2000 04:26:00 +0000</pubDate>
 <dc:creator>BitSurfr</dc:creator>
 <guid isPermaLink="false">comment 1004784 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/creating-directories#comment-1004783</link>
    <description> &lt;p&gt;How else would I go about making a directory for each member?&lt;/p&gt;
&lt;p&gt;--Edge&lt;/p&gt;
 </description>
     <pubDate>Tue, 16 May 2000 22:51:00 +0000</pubDate>
 <dc:creator>Edge</dc:creator>
 <guid isPermaLink="false">comment 1004783 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/creating-directories#comment-1004782</link>
    <description> &lt;p&gt;Ouch!!!!&lt;/p&gt;
&lt;p&gt;Never use unchecked user input in a system call !!!&lt;/p&gt;
&lt;p&gt;You&#039;ve just build yourself a big (security-)hole. Just wait for someone to push you into it.&lt;/p&gt;
&lt;p&gt;Where are you using this script ?!&lt;/p&gt;
&lt;p&gt;ciao&lt;br /&gt;
Anti&lt;/p&gt;
 </description>
     <pubDate>Mon, 15 May 2000 08:26:00 +0000</pubDate>
 <dc:creator>anti</dc:creator>
 <guid isPermaLink="false">comment 1004782 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/creating-directories#comment-1004781</link>
    <description> &lt;p&gt;Not quite. It was actually something like:&lt;/p&gt;
&lt;p&gt;$dir = &quot;members&quot;;&lt;br /&gt;
mkdir(&quot;$dir&quot;,0777);&lt;br /&gt;
mkdir(&quot;$dir/$FORM{&#039;username&#039;}&quot;,0777);&lt;/p&gt;
&lt;p&gt;I needed a folder for each person that signed up and the directory permissions were wrong until I added the 0 in front. But now it works! Thanks for helping me figure it out!!&lt;/p&gt;
&lt;p&gt;--Edge&lt;/p&gt;
 </description>
     <pubDate>Sun, 14 May 2000 23:31:00 +0000</pubDate>
 <dc:creator>Edge</dc:creator>
 <guid isPermaLink="false">comment 1004781 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/creating-directories#comment-1004780</link>
    <description> &lt;p&gt;robp is thorough as usual.  ur great robp for helping us folks out.&lt;/p&gt;
&lt;p&gt;thx  &lt;img src=&quot;http://www.webmaster-forums.com/ubb/smile.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt;&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
&lt;a href=&quot;http://www.birminghamnet.com/search-engines/resources/webmaster_tools/&quot; class=&quot;bb-url&quot;&gt;&lt;strong&gt;CLICK&lt;/strong&gt;&lt;/a&gt; 4 some tested resources for making money $, hosting, and web promotions.&lt;br /&gt;
&lt;a href=&quot;http://www.birminghamnet.com&quot; class=&quot;bb-url&quot;&gt;&lt;strong&gt;My Site&lt;/strong&gt;&lt;/a&gt; got hacked, but i&#039;m coming back?&lt;/p&gt;
 </description>
     <pubDate>Sun, 14 May 2000 22:13:00 +0000</pubDate>
 <dc:creator>fairhousing</dc:creator>
 <guid isPermaLink="false">comment 1004780 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/creating-directories#comment-1004779</link>
    <description> &lt;p&gt;Wouldn&#039;t you just do something like:&lt;br /&gt;
$newdir = &quot;images&quot;;&lt;br /&gt;
$newestdir = &quot;people&quot;;&lt;br /&gt;
mkdir(&quot;$dir&quot;,775);&lt;br /&gt;
mkdir(&quot;$dir/$newestdir&quot;,775);&lt;/p&gt;
&lt;p&gt;And to make a file in the newest directory, just&lt;br /&gt;
open(IN,&quot;&amp;gt;/$newdir/$newestdir/file.txt&quot;);&lt;br /&gt;
close(IN);&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
&lt;a href=&quot;http://www.thehungersite.com&quot; class=&quot;bb-url&quot;&gt;click here to help save lives&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.wiredstart.com&quot; class=&quot;bb-url&quot;&gt;http://www.wiredstart.com&lt;/a&gt;  : The Technology Start Page&lt;/p&gt;
 </description>
     <pubDate>Sun, 14 May 2000 19:07:00 +0000</pubDate>
 <dc:creator>Rob Pengelly</dc:creator>
 <guid isPermaLink="false">comment 1004779 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/creating-directories#comment-1004778</link>
    <description> &lt;p&gt;Okay, I found out how to make a directory, but how do I make a directly inside one that already exists and isn&#039;t in the same directory as my script?? Also, how do I make new files inside the new directly?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;--Edge&lt;/p&gt;
 </description>
     <pubDate>Sun, 14 May 2000 17:15:00 +0000</pubDate>
 <dc:creator>Edge</dc:creator>
 <guid isPermaLink="false">comment 1004778 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
