<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1021371" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1021371</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/delete-files-directory-and-db-using-php-mysql-and-crontab#comment-1132390</link>
    <description> &lt;p&gt;okay, I&#039;ll check it out. Thanks, Mark. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Sun, 01 Jun 2003 21:31:17 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1132390 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/delete-files-directory-and-db-using-php-mysql-and-crontab#comment-1132388</link>
    <description> &lt;p&gt;For wget, you basically just use: &quot;wget URL&quot;&lt;/p&gt;
&lt;p&gt;There are quite a few options if you do &quot;wget --help&quot;.  Including no-cache, faking the User-Agent header, and faking the Referer header.&lt;/p&gt;
&lt;p&gt;As for php, my guess is that /usr/bin/php is the binary.&lt;/p&gt;
 </description>
     <pubDate>Sun, 01 Jun 2003 19:52:33 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1132388 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/delete-files-directory-and-db-using-php-mysql-and-crontab#comment-1132371</link>
    <description> &lt;p&gt;Whee, exploring again, found lynx. Woo!&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;lynx: /usr/bin/lynx /etc/lynx.cfg /usr/share/man/man1/lynx.1.gz&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;Okay, so I have lynx, and I have php somewhere I don&#039;t know how to find it. How do I use wget? I want to cover all my bases here.&lt;/p&gt;
&lt;p&gt;Update: it WORKS! Finally. *phew* Using lynx is solid, does the job.&lt;/p&gt;
 </description>
     <pubDate>Sat, 31 May 2003 19:26:12 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1132371 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/delete-files-directory-and-db-using-php-mysql-and-crontab#comment-1132369</link>
    <description> &lt;p&gt;Aha, okay, I have access to the server through shell. Of course, now I can&#039;t remember what the heck I needed to do this for. *argh* This over-a-few-days troubleshoooting is ridiculously hard. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/sad.png&quot; title=&quot;Sad&quot; alt=&quot;Sad&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Sat, 31 May 2003 19:20:32 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1132369 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/delete-files-directory-and-db-using-php-mysql-and-crontab#comment-1132367</link>
    <description> &lt;p&gt;okay, that didn&#039;t have any results, though it was really really cool to learn.&lt;/p&gt;
&lt;p&gt;I went digging and found that my host uses MindTerm (java applet) to fake SSH, so I used that. &lt;/p&gt;
&lt;p&gt;This is what it returned for a &quot;whereis php&quot;&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;/usr/bin/php&lt;br /&gt;/usr/lib/php&lt;br /&gt;/usr/local/bin/php&lt;br /&gt;/usr/local/lib/php.ini&lt;br /&gt;/usr/local/lib/php&lt;br /&gt;/usr/include/php&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;So, now, which do you suppose is what I need?&lt;/p&gt;
&lt;p&gt;I tried them all in the passthru above, to no avail.&lt;/p&gt;
 </description>
     <pubDate>Sat, 31 May 2003 19:02:13 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1132367 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/delete-files-directory-and-db-using-php-mysql-and-crontab#comment-1132364</link>
    <description> &lt;p&gt;You can fake shell access:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;passthru&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;sh /usr/local/php/bin/php -r \\&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;echo &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;found php!\n&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;\\&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
 </description>
     <pubDate>Sat, 31 May 2003 18:04:15 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1132364 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/delete-files-directory-and-db-using-php-mysql-and-crontab#comment-1132362</link>
    <description> &lt;p&gt;I don&#039;t have shell access on my own server, and it&#039;s not working there. I&#039;ll try it on the client server and see if I can find it. &lt;/p&gt;
&lt;p&gt;I&#039;m getting very frustrated now, so I think maybe rewriting it in Perl would be easier. I say this BEFORE rewriting it, naturally.&lt;/p&gt;
 </description>
     <pubDate>Sat, 31 May 2003 15:07:43 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1132362 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/delete-files-directory-and-db-using-php-mysql-and-crontab#comment-1132231</link>
    <description> &lt;p&gt;There is no --prefix, so the default (/usr/local/php) would have been used.&lt;/p&gt;
&lt;p&gt;So try:&lt;br /&gt;
/usr/local/php/bin/php -f /path/to/script.php&lt;/p&gt;
&lt;p&gt;Or... better yet, try this in the shell first:&lt;br /&gt;
/usr/local/php/bin/php -r &#039;echo &quot;found php!\n&quot;;&#039;&lt;/p&gt;
 </description>
     <pubDate>Thu, 29 May 2003 05:33:35 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1132231 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/delete-files-directory-and-db-using-php-mysql-and-crontab#comment-1132218</link>
    <description> &lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;Configure Command &lt;br /&gt;&lt;br /&gt; &amp;#039;./configure&amp;#039; &lt;br /&gt;&amp;#039;--with-apxs=/usr/local/apache/bin/apxs&amp;#039; &lt;br /&gt;&amp;#039;--with-xml&amp;#039; &lt;br /&gt;&amp;#039;--enable-bcmath&amp;#039; &lt;br /&gt;&amp;#039;--enable-calendar&amp;#039; &lt;br /&gt;&amp;#039;--enable-ftp&amp;#039;&lt;br /&gt; &amp;#039;--enable-magic-quotes&amp;#039; &lt;br /&gt;&amp;#039;--with-mysql&amp;#039; &lt;br /&gt;&amp;#039;--with-pear&amp;#039; &lt;br /&gt;&amp;#039;--enable-sockets&amp;#039; &lt;br /&gt;&amp;#039;--enable-track-vars&amp;#039; &lt;br /&gt;&amp;#039;--enable-versioning&amp;#039; &lt;br /&gt;&amp;#039;--with-zlib&amp;#039; &lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;Does that tell you waht you need to know? What *I* need to know? lol.&lt;/p&gt;
 </description>
     <pubDate>Wed, 28 May 2003 22:41:45 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1132218 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/delete-files-directory-and-db-using-php-mysql-and-crontab#comment-1132217</link>
    <description> &lt;p&gt;The include_path may not show the correct path to php.  Check phpinfo() again and see if there is a --prefix in the &quot;configure command&quot;&lt;/p&gt;
 </description>
     <pubDate>Wed, 28 May 2003 22:34:20 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1132217 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
