# [EMAIL PROTECTED] / 2007-01-05 17:40:49 +:
> Using mod_php with Apache will make the current directory the directory
> that contains the script being requested. I am assuming that the OP is
> trying to access the file from the script that is being requested and
> not an included file in a
Roman Neuhauser wrote:
# [EMAIL PROTECTED] / 2007-01-05 17:17:46 +:
Roman Neuhauser wrote:
# [EMAIL PROTECTED] / 2007-01-05 16:34:41 +:
Delta Storm wrote:
I'm a beginner and i'm still learning PHP and I got a problem:
$file = "http://localhost/test_folde
# [EMAIL PROTECTED] / 2007-01-05 17:17:46 +:
> Roman Neuhauser wrote:
> ># [EMAIL PROTECTED] / 2007-01-05 16:34:41 +:
> >>Delta Storm wrote:
> >>>I'm a beginner and i'm still learning PHP and I got a problem:
> >>>
> >>> $file = "http://localhost/test_folder/test1.txt";; //I have
>
Roman Neuhauser wrote:
# [EMAIL PROTECTED] / 2007-01-05 16:34:41 +:
Delta Storm wrote:
I'm a beginner and i'm still learning PHP and I got a problem:
$file = "http://localhost/test_folder/test1.txt";; //I have
also tried "test_folder/test1.txt" and "text1.txt"
# [EMAIL PROTECTED] / 2007-01-05 16:34:41 +:
> Delta Storm wrote:
> >I'm a beginner and i'm still learning PHP and I got a problem:
> >
> >$file = "http://localhost/test_folder/test1.txt";; //I have
> >also tried "test_folder/test1.txt" and "text1.txt"
> >
> >$fh = fop
Delta Storm wrote:
I'm a beginner and i'm still learning PHP and I got a problem:
$file = "http://localhost/test_folder/test1.txt";; //I have
also tried "test_folder/test1.txt" and "text1.txt"
$fh = fopen($file, "r") or die("Could not open file!");
$data = fre
Hi,
I'm a beginner and i'm still learning PHP and I got a problem:
$file = "http://localhost/test_folder/test1.txt";; //I have also
tried "test_folder/test1.txt" and "text1.txt"
$fh = fopen($file, "r") or die("Could not open file!");
hi all,
i have the following code in a script whereby i send the filename to be
downloaded. there is something that´s not working properly depending on the
web browser (and probably the Operating system). now im working on
php4,postrgesql,apache2 an mandrake 10 with Konqueror as my web browser.
t
[snip]
Here is a script I'm using to upload files. Can anyone see anything
wrong
with it? No file is uploaded when I click the upload button
[/snip]
Start here http://us4.php.net/manual/en/features.file-upload.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://ww
Hi,
Here is a script I'm using to upload files. Can anyone see anything wrong
with it? No file is uploaded when I click the upload button
http://schemas.microsoft.com/intellisense/ie5";>
Browse for file to upload:
--
PHP General Mailing List (http://www.php.net/)
Zambra - Michael wrote:
>
> What kind of line ending does the file() function include in the array
> elements. I'm having problem with file() combined with implode() when
> reading in complete HTML files in a Windows environment. After parsing
these
> resulting strings I get tons of white lines (?
What kind of line ending does the file() function include in the array
elements. I'm having problem with file() combined with implode() when
reading in complete HTML files in a Windows environment. After parsing these
resulting strings I get tons of white lines (??).
I'd appreciate any advice.
On Sunday 17 March 2002 12:53, Ben Waldher wrote:
> I'm having some trouble writing data to a file, when I use this code it
> works fine:
>
> $file = fopen("template.txt", "w");
>
> fwrite ($file, $temp);
>
> fclose ($file);
>
> ?>
>
> But several problems with this occur:
>
>
> $stuff = include
I'm having some trouble writing data to a file, when I use this code it
works fine:
But several problems with this occur:
First of all, it tries to open template.txt1 instead of template.txt.
Second of all, some letters written to news.txt become a 1 for some odd
reason. I don't know why.
I
I'm having a problem with file permissions within my PHP document when
running on an Apache web server.
When accessing a perl script or an executable from the cgi-bin directory the
web server runs the script as the correct user and group id. However then a
PHP document is accessed within the sam
On Fri, 19 Jan 2001, Richard Lynch wrote:
> > > for ($i=0 ; $i < 4 ; $i++)
> > {
> > file://do something
> >
> > for ($k=0 ; $k < 3 ; $k++)
> >{
> > print " > value=\"".$K."\" >"; file://this is working
> > print ""; file://this
> is
> > not
> >}
> > }
>
> For FOR
> for ($i=0 ; $i < 4 ; $i++)
> {
> file://do something
>
> for ($k=0 ; $k < 3 ; $k++)
>{
> print " value=\"".$K."\" >"; file://this is working
> print ""; file://this
is
> not
>}
> }
For FORMs, files as arrays were added in later, and then 2-D arrays came
after th
hi, i have a situation where i need to upload 3 img file within an
array that is within another array. 2 di-array
i have no problem with only variable type and value but its not working
with type="file".
here's my code
"; //this is working
print ""; //this is
not
}
}
?>
i can get
18 matches
Mail list logo