Page 1 of 1

Dll in php

Posted: Wed Oct 10, 2007 11:06 pm
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.

Posted: Thu Oct 11, 2007 8:31 am
by feyd
What are you trying to do that needs an external DLL? It may need a bunch of explaination for us to help.

Posted: Thu Oct 11, 2007 12:40 pm
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]

Posted: Thu Oct 11, 2007 1:25 pm
by GeXus
maybe make the page with your connection string a remote url?

Thanks

Posted: Mon Oct 15, 2007 4:15 am
by rajeshkumarvm
Thank you for your kind replies