hi,
how about RCP,SCP, SFTP or FTP or worse comes to worse NFS
Harish wrote:
Hello All,
Is there any possibility to open a file in another machine, provided the IP
of the machine using PHP scripts.
I only need to open a file with the format abc190104.csv in another machine
& write data into tha
On Monday 09 February 2004 16:23, merlin wrote:
> there is following scenario:
> - One php file saved with .pdf extension
> - .htaccess tells php to parse this file
> - ?ID=x provides the database id for individual files
>
> That whole thing workes perfectly as long as you access it via browser
>
You need to chmod o+r them (in the ftp client). Also the path must be
readable by the web server. You might want to set up the ftp server to
give these permisions automaticaly
Joakim Larsson wrote:
I am running a ftp server on my mac along with the webserver on OS 10.2. The
files that i upload
The error that I get is a "Permission Denied" Message !!
--Puspinder
On Wednesday, March 5, 2003, at 03:27 PM, Kevin Stone wrote:
chmod($file, 0600);
This sets the file to Owner read and write, Group nothing, Public
nothing.
If you're on a shared server then chances are this function has been
Thanks Kevin
I have tried to chmod the file ...but I need to give others the
permission to read the file...or the script itself cannot open the file
!
--Pushpinder
On Wednesday, March 5, 2003, at 03:27 PM, Kevin Stone wrote:
chmod($file, 0600);
This sets the file to Owner read and write, Gro
chmod($file, 0600);
This sets the file to Owner read and write, Group nothing, Public nothing.
If you're on a shared server then chances are this function has been
disabled so you may have to FTP or SSH into your account and set the
permissions for the file manually using the chmod command. Good
On Thursday 06 March 2003 03:51, Pushpinder Singh Garcha wrote:
> My php script needs to read a text file that is stored in the same Dir
> as the php file. However I do not want to allow users to be able to see
> the contenst of the file from the Browser. Please suggest some remedy.
If you're usi
put this to the begining of your some.php
if (eregi("some.php",$PHP_SELF)) {
Header("Location: index.php");
die();
}
Brian McGarvie wrote:
>How could you redirect somone from directly accessing a file...
>
>Meaning... if an engine spiders www.domain.com/some.php
>
>How could you make s
hi!
I'm having some trouble with this. If i use an ftp address out of some
reason I'm unable to read the file(although I get a handle).(ftp server
supports passive mode)
And if I use http(without authorisation) the browser still asks if I want to
save it.(even if I use video/mpeg as Content-Type)
Hey,
Well sure there is:
$fp = fopen($filename, 'r') or die('damn');
$read = fread($fp, filesize($filename)) or
die('damn');
$filestr = basename($filename);
header("Content-Disposition: attachment;
filename=$filestr");
header("Content-Type: application/octet-stream");
echo $read;
exit;
Neat A
10 matches
Mail list logo