Dll in php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
rajeshkumarvm
Forum Newbie
Posts: 2
Joined: Wed Oct 10, 2007 9:27 am

Dll in php

Post by rajeshkumarvm »

Hi
i am new born child for php.My dbconnect.php having username and password for connect with mysql server.I want to make something but it wont preview the details to third person.Then i think to make this dll function.I am also welcome for any other methods like password encryption and decryption method with clear details.So anyone tell me how to make dll and how to connect the php pages and any other methods also.I am waiting for yor reply.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

What are you trying to do that needs an external DLL? It may need a bunch of explaination for us to help.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

This was mistakenly posted as a new thread.
rajeshkumarvm wrote:feyd | Please use

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]

Code: Select all

<?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


feyd | Please use

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color][/quote]
GeXus
Forum Regular
Posts: 631
Joined: Sat Mar 11, 2006 8:59 am

Post by GeXus »

maybe make the page with your connection string a remote url?
rajeshkumarvm
Forum Newbie
Posts: 2
Joined: Wed Oct 10, 2007 9:27 am

Thanks

Post by rajeshkumarvm »

Thank you for your kind replies
Post Reply