473,395 Members | 1,368 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

dbconnect.php

<?php
$db_host = "localhost";
$db_user = "root";
$db_pwd = "rajesh";
$db_dbname = "test";

mysql_connect($db_host, $db_user, $db_pwd) or die("Could not connect: " . mysql_error());
$seldb = mysql_select_db($db_dbname) or die("Could not connect: " . mysql_error()) ;
?>

This is my actual page.In this page i dont want to view the "root","rajesh" to any other third persons.Now i dont want the dll function.Any one can say
how to work with page?.I am waiting for encryption and decryption or any other methods also.But any way this username and password wont display
others.Orelse any way to work with mysql server for this
Oct 11 '07 #1
2 3894
gregerly
192 Expert 100+
PHP is parsed before it ever gets to the browser, so in theory, it would never be displayed. Are you having a problem? Is your database connection info being displayed?

Give us some more info to go on and we might be able to better help you.

Greg
Oct 12 '07 #2
I mentioned it wont display to third person means it dont show the password to other programmers(working with this page).Suppose when the person download this page from server he can view this password.So i will not view this page to others.
Oct 12 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Johan Hellstrom | last post by:
Hi, Have installed the latest 8.1.4 fixpack for DB2 Connect EE/DB2 Application Development Client and am trying to access a DB2 OS/390 7.1.1 system. The binding process from Windows 2000: ...
2
by: alga | last post by:
Hello! I am searching for Informations about a product called "DBConnect" from IBM. It should be able to connect an application that is running on a Windows client with the AS/400 (iSeries). I...
4
SHOverine
by: SHOverine | last post by:
I have a 3-part form that I am having trouble with. First part is to select the user group and the week and year that I want to submit results for, this calls the elements that I want to update. ...
1
by: delusion7 | last post by:
Trying to create a table and insert records from a webform and I keep getting this message: "Successfully created the registration table. Unable to execute the query. Error code...
0
bartonc
by: bartonc | last post by:
#Boa:Dialog:DBConnectDialog import wx import wxdbtools as db def create(parent): return DBConnectDialog(parent) =
0
bartonc
by: bartonc | last post by:
#Boa:Dialog:DBConnectDialog import wx ##"""Given a set if login specs, create a dbServer instance and ## ensure that there is a valid, open connection to the database. ## If not, set the...
1
by: rottmanj | last post by:
I am new to oop c++ and I am trying to better educate myself on it. One issue that I have run into is how to store a string based variable. Everything I have tried ends up with the errors below....
1
by: rottmanj | last post by:
I have written a class that manages all the database connection information/methods I need to connect to a database and query off of it. In order to make my application dynamic so that it can read...
1
by: SnakesRule | last post by:
I'm trying to pull data from remote xml files to load the database of a library. My sources are www.amazon.com and www.ISBNdb.com. But when I try to search and read the xml files, I get this error: ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.