On Fri, Mar 28, 2008 at 11:24 AM, Mário Gamito <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have this PHP script (simplificated here), called delete_tmp.php
> that basically calls external commands:
>
>
> $session_file = '/tmp/sess_89765'
>
> system(''rm -f' . ' ' . $session_file);
>
> ?>
Tha
Make sure the owner of the server process has delete permissions for the
directory in question.
- Original Message -
From: "pong-TC" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 21, 2002 11:25 AM
Subject: [PHP] Deleting File
> Hello All
>
> I am trying to build a te
recreate it, for example:
<%
exec( 'type > your_file_name' );
%>
Krzysztof
DigitalKoala wrote:
> Hi Everyone,
>
> I'm running a script that automatically reads lines from
> /var/mail/myaccount, parses the lines then insert specific items into a
> database this is in a loop
>
> What i want
On Tuesday 11 December 2001 09:00 am, DigitalKoala wrote:
> What i want to do is then delete the contents of the file, but not the file
> itself...can you tell me the best way to do this?
Well, you can read the contents of the original file into a PHP variable
using fopen(). Then, use something
4 matches
Mail list logo