php-windows Digest 17 Feb 2003 14:19:12 -0000 Issue 1592
Topics (messages 18562 through 18564):
Open Source Tools
18562 by: Franco Pozzer
Re: directory manipulation [newbie]
18563 by: Bobby Rahman
Re: Warnings
18564 by: Beach, Jim
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
>
Thanks for all.
I need same information about difference and vanatge of the tools Open
Source for:
1. portal (PHPNuke instead PostNuke) and other (like phpBB instead
PhpForum)
2. Control and Administration Linux Server (in this case I do not know
anythink).
3. db like Mysql or PostGres
Can sameone help to me about this argoument? can anyone post to me same test
and same experience?
ciao franco.
--- End Message ---
--- Begin Message ---
Hiya
Im new to php and am trying to display filenames within directorys and be
able to drill down into lower directories within an html page.
I have this file displaydir.php
$dir_to_be_read = "C:/Program Files/ApacheGroup/Apache2/cgi-bin/";
$current_dir = "$dir_to_be_read";
$dir = opendir($current_dir);
echo "Upload directory is $current_dir<br>";
echo "Directory Listing:<br><hr><br>";
while ($file = readdir($dir))
{
echo "<a href=\"openfile.php?file=".$file."\">".$file."</a><br>";
}
closedir($dir);
I also have this file openfile.php
$current_dir = "$dir_to_be_read";
$file = basename($file);
//if (is_dir($file))
echo "<h1>Details of file: ".$file."</h1>";
The actual question is where to put the is_dir test...it makes sense to be
in the openfile.php?
also how can I do this logic:
if file print details of file //already got in openfile.php
if directory -call again displaydir.php but this time with the new
$dir_to_read? so it shows the file in the new drill down directory.
Cheers
Bobby
_________________________________________________________________
Stay in touch with MSN Messenger http://messenger.msn.co.uk
--- End Message ---
--- Begin Message ---
I had the same message the other day. My line 5 is where I call a
function. I had a </table> tag as the very last line of a function but
had it outside the closing brace } so I moved </table> inside the
closing brace } and the problem went away.
-----Original Message-----
From: Bobo Wieland [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 15, 2003 7:34 AM
To: [EMAIL PROTECTED]
Subject: Warnings
What does this mean:
Warning: Cannot send session cookie - headers already sent by (output
started at
/customers/pingstkyrkan.net/pingstkyrkan.net/httpd.www/fp/index.php:1)
in
customers/pingstkyrkan.net/pingstkyrkan.net/httpd.www/fp/index.php on
line 5
Warning: Cannot send session cache limiter - headers already sent
(output
started at
/customers/pingstkyrkan.net/pingstkyrkan.net/httpd.www/fp/index.php:1)
in
/customers/pingstkyrkan.net/pingstkyrkan.net/httpd.www/fp/index.php on
line
5
The php-file worked perfectly well on my local machine...
.bobo
--- End Message ---