Hello, PHP gurus,
I have a command that I want to run using system function. The
command exploits temporary named pipes in the place of temporary files.
my command is
paste (cut -f1 file1) (cut -f2 file2) final_file
It works perfectly well if I just
Hello, PHP gurus,
As a PHP newbie, I am trying to create a PHP page that generates
and force dowload a file depending on user's input. Attached is the
code.
I give 's' to 'submit' and double checked that the value is
correctly retried and the control flow is right.
It works well if I
Hi, Here is the code
?php
$filenm = '/var/tmp/';
$s = 1;
$q =2;
switch( $_POST[submit] )
{
case 's':
$filenm .= 's.tab';
//create $filenm
break;
case 'q':
$filenm .= 'q.tab';
//create $filenm
break;
}
/*
echo file name = {$filenm}br\n;
echo base name = ,
3 matches
Mail list logo