Hello there!
First of all, thanks to you all for being so kind and helpful. You have
really been of help to me for the past two weeks.
This time my problem is, I don't know the correct path to use. To give you
a clear picture of what I'm trying to say, here is how the directories are
arranged:/dat
Hello there!
I wrote a script which I tested on Linux and Windows XP.
The following code works differently on the OS.
$path = /data/../dir/Sound
$filename = $query->param('filename');
open(DIR,">$path/$filename");
binmode(DIR);
print DIR $_;
close (DIR);
On Linux, instead of the $filename being wr
Hello!
I still can't delete the directories which I created using:
mkdir("$path/$nummer",0775);
mkdir("$path/$nummer/Pictures", 0775);
mkdir("$path/$nummer/Sound", 0775);
I'm supposed to write images to Pictures and sounds to Sound directory. I
did it,and it worked, but the problem is, it was j
Hello!
I have two problems:
(1)
I'm using Linux and I created directories using the following code:
mkdir("/data/homewww/../balginst", 0755) or die
The directories are being created. The problem is, when I try to open the
directory for writing, I get the message No permission.
(2)
$path="/data/
On Tue, 18 Jun 2002, David vd Geer Inhuur tbv IPlib wrote:
>
> Hi,
>
> It looks like some stuff is mixed up.
> Who is what ??
>
> $foto ??
> $path/$number/$foto ??
>
> Let's make this difference :
>
> if($picture) { ## If possible of course
> open(F, ">$path/$number/$foto") || die "Cannot
Hello!
The following part of code uploads 0k.
#!/usr/bin/perl
...
if($foto) {
open (F, ">$path/$number/$foto") || die "Cannot open $!";
while(<$foto>) {
print F $_;
}
close F;
}
Where could be the problem?
Please help,
Collette.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addition
Hallo!
I'm a novice Perl programmer. I want to make a subdirectory in the
path: /data/home/collette/exponat. My code looks like this:
$invnummer = $FORM{'invnummer'};
$path = "/data/home/collette/exponat";
chdir(path);
if ($invnummer ne "") {
mkdir($invnummer, 0755) || die ("Cannot mkdir $invnumm