ricky
Založený: 08.03.2004
Príspevky: 5
Zaslal: 2004-03-09 17:05
Návrat hore
Odpovedať s citátom
|
Hi,
first of all, sorry for my bad english..
This program is fantastic but I've only one problem with the password and username from HTTP
I uncommented in config.inc.php the command
require_once 'plugins/auth.php';
, in the file auth.php in plugin directory I choose my parametres, but when I open the index.php the PANNEL for password ask for three times the User e Pass and then it told me that I failure! Somebody can help me to guide me for the correct system that I do that?
Thank you very much
Ricky
|
ricky
Založený: 08.03.2004
Príspevky: 5
Zaslal: 2004-03-11 19:26
Návrat hore
Odpovedať s citátom
|
no helpers, please....
ask me if you have a problem to understand my problem.
Thanks
|
nepto
Založený: 06.01.2003
Príspevky: 381
Bydlisko: Phoenix, Arizona (USA)
Zaslal: 2004-03-16 14:21
Návrat hore
Odpovedať s citátom
|
Did you edit username/password in the auth.php file?
_________________ Ondrej Jombik (Nepto)
Visit my
homepage
, review my recent
CV
or
projects
and give me some
feedback
.
|
ricky
Založený: 08.03.2004
Príspevky: 5
Zaslal: 2004-03-16 14:29
Návrat hore
Odpovedať s citátom
|
yes, I did,
If you want I'll pass my phase job for installing it.
I think that I wrong in a very small point in the config.inc.php
|
ricky
Založený: 08.03.2004
Príspevky: 5
Zaslal: 2004-03-16 15:29
Návrat hore
Odpovedať s citátom
|
So, this is my auth.php
Kód: |
<?php
/* $Platon: phpWebFileManager/plugins/auth.php,v 1.3 2003/12/15 13:48:25 nepto Exp $ */
if (! isset($PHP_AUTH_USER) || ! isset($PHP_AUTH_PW)
|| $PHP_AUTH_USER != 'ricky' || $PHP_AUTH_PW !='testpass') {
header('WWW-Authenticate: Basic realm="phpWebFileManager authentication"');
header('HTTP/1.0 401 Unauthorized');
echo '<center><h1>Riprova, hai sbagliato User o password</h1></center>';
exit;
} else {
// sucessfully authenticated
}
?> |
and this is my config.inc.php file:
Kód: |
<?php
/*
* phpWebFileManager - simple file management PHP script
*
* config.inc.php - configuration file
* ____________________________________________________________
*
* Developed by Ondrej Jombik <nepto@platon.sk>
* Copyright (c) 2001-2003 Platon SDG, http://platon.sk/
* All rights reserved.
*
* See README file for more information about this software.
* See COPYING file for license information.
*
* Download the latest version from
* http://platon.sk/projects/phpWebFileManager/
*/
/* $Platon: phpWebFileManager/config.inc.php,v 1.26 2003/12/20 18:44:15 nepto Exp $ */
require_once 'plugins/auth.php';
$fm_cfg['origvars'] = '';
$fm_cfg['lang'] = 'ita';
$fm_cfg['dir']['root'] = 'changefile/';
$fm_cfg['dir']['start'] = 'http://www.mysite.com/web/upload/changefile/'; |
Sorry but I think that if I pass the code is more comprensible, so you can view in one second if I do a stupid error.
Thank you very much,
Ricky
|
ricky
Založený: 08.03.2004
Príspevky: 5
Zaslal: 2004-03-18 12:13
Návrat hore
Odpovedať s citátom
|
mmm, it's very hard to resolve this problem eh eh...
|
nepto
Založený: 06.01.2003
Príspevky: 381
Bydlisko: Phoenix, Arizona (USA)
Zaslal: 2004-03-27 21:42
Návrat hore
Odpovedať s citátom
|
Your settings are wrong.
This is written in config file.
Kód: |
/*
* Directories constants
*
* First constant defines root directory. phpWebFileManager guarantee
* that is impossible to get to the higher level. This parameter could
* be only relative to the phpWebFileManager script on the same web
* server. Support for absolute path will be added nearly in future.
*
* Second constant defines starting directory. It says where to start
* when it is runned first time of session. Remember that starting
* directory is relative to root directory.
*/
$fm_cfg['dir']['root'] = '';
$fm_cfg['dir']['start'] = '';
|
So set
$fm_cfg['dir']['root']
and
$fm_cfg['dir']['start']
in correct way.
I will suggest you to leave
$fm_cfg['dir']['start']
empty.
_________________ Ondrej Jombik (Nepto)
Visit my
homepage
, review my recent
CV
or
projects
and give me some
feedback
.
|
polytan
Založený: 26.09.2007
Príspevky: 1
Zaslal: 2007-09-26 10:39
Návrat hore
Odpovedať s citátom
|
I've the same problem as him.
I've changed nothind into config.inc.php
When I go to the php script, it runs well without any password, but when I put a pass, it fails.
The message displayed explian that I try to put a password at http://localhost instead of http://localhost/~polytan/
|
nepto
Založený: 06.01.2003
Príspevky: 381
Bydlisko: Phoenix, Arizona (USA)
Zaslal: 2007-09-28 10:04
Návrat hore
Odpovedať s citátom
|
change $PHP_AUTH_USER to $_SERVER['PHP_AUTH_USER']
_________________ Ondrej Jombik (Nepto)
Visit my
homepage
, review my recent
CV
or
projects
and give me some
feedback
.
|
denisbeta
Založený: 25.08.2023
Príspevky: 3923
Zaslal: 2024-07-27 06:21
Návrat hore
Odpovedať s citátom
|
https://telegra.ph/Sale-07-26-4
https://graph.org/Sale-07-26-4
Hapanix - ID
http://hapanix.fair-2sale.com/id/1/?track_url=URL-197AB-2ACFB
https://x.com/denisyakovlev68/status/1816875421239246907
http://hapanix.fair-2sale.com/id/2/?track_url=URL-F47E5-7512F
https://x.com/denisyakovlev68/status/1816876097482403862
Eyelab - ID
http://eyelab.fair-2sale.com/id/1/?track_url=URL-0A160-2379F
https://x.com/denisyakovlev68/status/1816876924066791886
http://eyelab.fair-2sale.com/id/2/?track_url=URL-26C09-D3F2B
https://x.com/denisyakovlev68/status/1816877639141109784
http://eyelab.fair-2sale.com/id/3/?track_url=URL-30A4A-B7798
https://x.com/denisyakovlev68/status/1816881187878748271
MuscleArt - PH
http://muscleart.fair-2sale.com/ph/pre/1/?track_url=URL-881F0-C3BD7
http://muscleart.fair-2sale.com/ph/1/?track_url=URL-881F0-C3BD7?track_id=338552314
Hemoroclear - BA
http://hemoroclear.fair-2sale.com/ba/pre/1/?track_url=URL-CBFDE-1677B
https://x.com/denisyakovlev68/status/1816882348094595146
http://hemoroclear.fair-2sale.com/ba/1/?track_url=URL-CBFDE-1677B?track_id=338552330
https://x.com/denisyakovlev68/status/1816882796981551534
http://hemoroclear.fair-2sale.com/ba/2/?track_url=URL-C1477-0E8C2
https://x.com/denisyakovlev68/status/1816883405856055702
http://hemoroclear.fair-2sale.com/ba/3/?track_url=URL-38CAC-DA48D
https://x.com/denisyakovlev68/status/1816884845924270102
Wrinkless - BA
http://wrinkless.fair-2sale.com/ba/pre/1/?track_url=URL-6F2F8-C561C
https://x.com/denisyakovlev68/status/1816886842018660680
http://wrinkless.fair-2sale.com/ba/1/?track_url=URL-6F2F8-C561C?track_id=338552506
https://x.com/denisyakovlev68/status/1816887194822541604
http://wrinkless.fair-2sale.com/ba/pre/2/?track_url=URL-A1EB5-A7A14
https://x.com/denisyakovlev68/status/1816889749568974944
http://wrinkless.fair-2sale.com/ba/2/?track_url=URL-A1EB5-A7A14?track_id=338552602
Hemoroclear - RS
http://hemoroclear.fair-2sale.com/rs/pre/1/?track_url=URL-8991F-2324D
http://hemoroclear.fair-2sale.com/rs/1/?track_url=URL-8991F-2324D?track_id=338552622
Testox - TR
http://testox.fair-2sale.com/tr/pre/1/?track_url=URL-CF786-13A2F
https://x.com/denisyakovlev68/status/1816891014428422312
https://testox.fair-2sale.com/tr/1/?track_url=URL-CF786-13A2F?track_id=338552644
https://x.com/denisyakovlev68/status/1816891370667409423
http://testox.fair-2sale.com/tr/2/?track_url=URL-0EECB-573ED
https://x.com/denisyakovlev68/status/1816891960214585356
Prosofil th
https://market.50discount-sale.com/NttlJ2/
https://x.com/denisyakovlev68/status/1816896072188559561
http://prosofil-new.org/?channel=NttlJ2
Parofin th
https://market.50discount-sale.com/COB2K5/
https://x.com/denisyakovlev68/status/1816897719530815732
http://parofin-new.org/?channel=COB2K5
https://x.com/denisyakovlev68/status/1816898245521764504
Katiofin th
https://market.50discount-sale.com/RyEYlf/
https://x.com/denisyakovlev68/status/1816899374875889894
http://katiofin-new.org/?channel=RyEYlf
https://x.com/denisyakovlev68/status/1816900570428641534
Tansonus th
https://market.50discount-sale.com/HdtaRc/
https://x.com/denisyakovlev68/status/1816902012161982623
http://tansonus-new.org/?channel=HdtaRc
https://x.com/denisyakovlev68/status/1816902501003886993
Hanoxol th
https://market.50discount-sale.com/BLqjJ5/
http://hanoxol-new.org/?channel=BLqjJ5
Optifita th slim
https://market.50discount-sale.com/jnm8WK/
https://x.com/denisyakovlev68/status/1817061087256494354
https://optifita-new.org/?channel=jnm8WK
https://x.com/denisyakovlev68/status/1817061864528052434
Dianix th diabete
https://market.50discount-sale.com/TucZMk/
https://x.com/denisyakovlev68/status/1817062860297765324
https://dianix-new.org/?channel=TucZMk
https://x.com/denisyakovlev68/status/1817063459940704505
Duroxen mens th
https://market.50discount-sale.com/dJnbcU/
https://x.com/denisyakovlev68/status/1817064619296649301
https://duroxen-new.org/?channel=dJnbcU
https://x.com/denisyakovlev68/status/1817065488507372028
Hamerol th
https://market.50discount-sale.com/HYcvq2/
https://x.com/denisyakovlev68/status/1817066305268404517
https://hamerol-new.org/?channel=HYcvq2
https://x.com/denisyakovlev68/status/1817066769754059129
11
|
Odoslať novú tému
Odpovedať na tému
|