Welcome, Guest. Please Login or Register.
August 26, 2025, 08:45:18 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  English User Help  |  English Help  |  Dont want to display Database-login and pass..??? « previous next »
Pages: 1 2 3 [4] Reply Ignore Print
Author Topic: Dont want to display Database-login and pass..???  (Read 3369 times)
Pebbels
Noobie
*
Posts: 33


I love YaBB SE!

ICQ - 9604411 WWW
Re:Dont want to display Database-login and pass..???
« Reply #45 on: December 25, 2001, 10:23:38 AM »
Reply with quote

hello
@Matt thanks it works nice, its a great christmas present .  :)

Quote from: Alex Rolko on December 25, 2001, 12:59:51 AM
Quote from: Matt Siegman on December 24, 2001, 07:08:36 PMokay, try it now, same links as before

Nice little half assed fix Matt, but if anyone is smart enough... they can just look at the HTML...

@Alex
How did u mean it ? How did ya do that  ???
ahh u mean a html-script into post of yabbse ?

Mfg Pebbels
Logged
Matt Siegman
Super Duper Developer
YaBB God
*****
Posts: 927


Red Hot!

ICQ - 95930457 WWW
Re:Dont want to display Database-login and pass..???
« Reply #46 on: December 26, 2001, 03:21:53 AM »
Reply with quote

he means if you care enough if is still possible to get the values
Logged

Pebbels
Noobie
*
Posts: 33


I love YaBB SE!

ICQ - 9604411 WWW
Re:Dont want to display Database-login and pass..???
« Reply #47 on: December 26, 2001, 09:55:07 AM »
Reply with quote

Quote from: Matt Siegman on December 26, 2001, 03:21:53 AMhe means if you care enough if is still possible to get the values

hello
yes i know, but how did ya try that ?

Mfg Pebbels
Logged
Matt Siegman
Super Duper Developer
YaBB God
*****
Posts: 927


Red Hot!

ICQ - 95930457 WWW
Re:Dont want to display Database-login and pass..???
« Reply #48 on: December 26, 2001, 07:31:07 PM »
Reply with quote

huh?
Logged

alexrolko
Guest
Re:Dont want to display Database-login and pass..???
« Reply #49 on: December 27, 2001, 05:22:26 AM »
Reply with quote

What i did was just "View the source code" of the page and you can still see the 'values' (the password and username) in the HTML.

In the Toolbar goto 'View->Source' in IE and you will see.
In Netscape goto 'View->Page Source' and you will see.
Logged
KIKA
Noobie
*
Posts: 18


WWW
Re:Dont want to display Database-login and pass..???
« Reply #50 on: March 14, 2002, 10:40:21 AM »
Reply with quote

Great, it works at my Board.
Thank you  :D

Is it possible that the pass is not to see in the hmtl-code?
Logged

ICH KANN NIX DAFÜR
alexrolko
Guest
Re:Dont want to display Database-login and pass..???
« Reply #51 on: March 14, 2002, 05:54:22 PM »
Reply with quote

Quote from: kika on March 14, 2002, 10:40:21 AMIs it possible that the pass is not to see in the hmtl-code?

NO.
Logged
lauscher
Noobie
*
Posts: 8


WWW
Re:Dont want to display Database-login and pass..???
« Reply #52 on: March 14, 2002, 09:04:29 PM »
Reply with quote

it is so simple

1. only delete the htmlcode of the output of the input fields completly in the Admin.php

2. then create a new file Settings2.php
with:

<?php
$db_name = "dbname";
$db_user = "dbuser";
$db_passwd = "dbpass";
$db_server = "dbserver";
$db_prefix = "dbprefix";

?>

3. Delete this piece in the normal Settings.php and inculde instead:

include("Settings2.php");

4. Do the same in the Admin.php
(
delete the code (see above) at the point where the Settings.php is written
add:

\include("Settings2.php");

)

5. Add in the Admin.php after:
$userpic_height = isset($HTTP_POST_VARS['userpic_height']) ? $HTTP_POST_VARS['userpic_height'] : 65;
$userpic_limits = isset($HTTP_POST_VARS['userpic_limits']) ? stripslashes($HTTP_POST_VARS['userpic_limits']) : 'Please note that your image has to be <b>gif</b> or <b>jpg</b> and that it will be resized!';

the code:

include("Settings2.php");

This was it. It had taken 10 min.

--> the user can't see the pass etc in the html code and you can modify your settings



lauscher
Logged
Pages: 1 2 3 [4] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Dont want to display Database-login and pass..??? « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.081 seconds with 21 queries.