Re: [PHP] Filemanager v1.0
* Thus wrote CPT John W. Holmes ([EMAIL PROTECTED]): > From: "Ryan A" <[EMAIL PROTECTED]> > > > and another thing, don't ask John H for help (or sarcastic comments)... > > that too is reserved just for me. > > You have been warned > > This John H guy sounds like a dick. Someone should boot him. /kick john h hmm... it seems your unbootable :) Curt -- "My PHP key is worn out" PHP List stats since 1997: http://zirzow.dyndns.org/html/mlists/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Filemanager v1.0
> This John H guy sounds like a dick. Someone should boot him. He can't help it. After all, he is military... Edward Dudlik "Those who say it cannot be done should not interrupt the person doing it." wishy washy | www.amazon.com/o/registry/EGDXEBBWTYUU - Original Message - From: "CPT John W. Holmes" <[EMAIL PROTECTED]> To: "Ryan A" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, 17 October, 2003 15:49 Subject: Re: [PHP] Filemanager v1.0 From: "Ryan A" <[EMAIL PROTECTED]> > and another thing, don't ask John H for help (or sarcastic comments)... > that too is reserved just for me. > You have been warned This John H guy sounds like a dick. Someone should boot him. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Filemanager v1.0
Hahahaha I totally agree, but the problem is this d*** knows a fu* hellava lot about PHP and we would be pretty lost on the list without him. Its the old problem of which is worse...the devil or the deep sea... Cheers, -Ryan >> and another thing, don't ask John H for help (or sarcastic comments)... >> that too is reserved just for me. >> You have been warned >This John H guy sounds like a dick. Someone should boot him. >---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Filemanager v1.0
CPT John W. Holmes wrote: From: "Ryan A" <[EMAIL PROTECTED]> and another thing, don't ask John H for help (or sarcastic comments)... that too is reserved just for me. You have been warned This John H guy sounds like a dick. Someone should boot him. ---John Holmes... I agree. In fact, the only people that should be allowed on here should be me, and those who want to my work for me (for free of course). -- By-Tor.com It's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Filemanager v1.0
On Fri, 2003-10-17 at 15:49, CPT John W. Holmes wrote: > From: "Ryan A" <[EMAIL PROTECTED]> > > > and another thing, don't ask John H for help (or sarcastic comments)... > > that too is reserved just for me. > > You have been warned > > This John H guy sounds like a dick. Someone should boot him. > I don't know him personally but I've heard he's generally a nice guy but that sometime he goes off his meds. So generally think warm and fuzzy, then intermittently pop in a bloody image of a psycho murderer -- Norman Bates will do! >:) Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com | :: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Filemanager v1.0
From: "Ryan A" <[EMAIL PROTECTED]> > and another thing, don't ask John H for help (or sarcastic comments)... > that too is reserved just for me. > You have been warned This John H guy sounds like a dick. Someone should boot him. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Filemanager v1.0
Ryan A wrote: [snip] Please dont post all the programs you write and then ask, 'help me make this better.' [/snip] Yes, don't *ever* do that, only I am allowed to do that... and another thing, don't ask John H for help (or sarcastic comments)... that too is reserved just for me. You have been warned :-D Cheers, -Ryan Fine, I'm taking my ball, and going home. *sniff* -- By-Tor.com It's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Filemanager v1.0
[snip] Please dont post all the programs you write and then ask, 'help me make this better.' [/snip] Yes, don't *ever* do that, only I am allowed to do that... and another thing, don't ask John H for help (or sarcastic comments)... that too is reserved just for me. You have been warned :-D Cheers, -Ryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Filemanager v1.0
[snip] Please dont post all the programs you write and then ask, 'help me make this better.' if I did this I'd probably be passing John up in #posts on the list [/snip] *LOL* Ditto -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Filemanager v1.0
* Thus wrote Bas ([EMAIL PROTECTED]): > I have my second program: > > Filemanager!!! > > It contains 2 files(this files are in the admin directory of the folder > meant in the showindex.php file($dir)): > > showindex.php > --- [.. snip insecure code ..] > --- > Change $dir to your dir > / is the root dir of your harddisk > > If you have any improvements(not deleting files, i have planned that > already), Post or mail me!!! > > You can run it with showindex.php and from there it runs filemanager.php. > > I would like it if you make a p[osibbility to add files(with the same > structure) > Please dont post all the programs you write and then ask, 'help me make this better.' if I did this I'd probably be passing John up in #posts on the list Curt -- "My PHP key is worn out" PHP List stats since 1997: http://zirzow.dyndns.org/html/mlists/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Filemanager v1.0
Bas wrote: > I have my second program: > > Filemanager!!! > > It contains 2 files(this files are in the admin directory of > the folder meant in the showindex.php file($dir)): > > showindex.php > --- > $dir = "/pub/publicfiles/"; // Change this to your situation > >$dp = opendir($dir); > >$filenames = array(); > >while($file = readdir($dp)) >{ > array_push($filenames, $file); >} > >// Compile an array of the files >for($i = 0; $i < count($filenames); $i ++) >{ > if(!(is_dir("$dir/$filenames[$i]"))) > { > //echo $filenames[$i].""; > echo " HREF=\"filemanager.php?pid=open&file=".$filenames[$i]."\">".$f > ilenames[$i]." "; > } >} >> > --- > > filemanager.php > > --- > /* > Filemanager v1.0 >v1.0 First Release > */ > $filename = $_GET['file']; // Read filename from url > if ($_GET['pid'] == 'open') { > echo "".$filename.""; // echo > HTML-code echo "Contents of $filename"; / more > code $filecontents = nl2br(file_get_contents('../'.$filename)); > // Read contents of file echo $filecontents; echo " href=\"filemanager.php?pid=edit&file=$filename\">Edit"; } > if ($_GET['pid'] == 'edit') { > echo "Edit ".$filename.""; > $filecontents = file_get_contents('../'.$filename); > echo "Edit $filename"; > echo " action=\"filemanager.php?pid=edit2&file=$filename\" method=post>"; > echo " rows=30>$filecontents"; > echo ""; > echo ""; > } > if ($_GET['pid'] == 'edit2') { > $newcontent = $_POST['file']; > echo "$filename"; > $file = fopen("../".$filename, "w+"); > $result = fwrite($file, $newcontent); > echo "Resultaat".$result; > echo " href=\"filemanager.php?pid=open&file=$filename\">Open"; > fclose($file); } > echo "Copyright Bas"; ?> --- > Change $dir to your dir > / is the root dir of your harddisk > > If you have any improvements(not deleting files, i have > planned that already), Post or mail me!!! > > You can run it with showindex.php and from there it runs > filemanager.php. > > I would like it if you make a p[osibbility to add files(with the same > structure) > > Regards, > > Bas Just my experience... I had a very nice program like this.. Had it protected with htaccess... Someone got into it somehow.. I don't know if it was on the inside or outside, but they really messed up my machine.. Had to reload Redhat :-( Jake McHenry Nittany Travel MIS Coordinator http://www.nittanytravel.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php