Re: [PHP] Remote MySQL connection via PHP file



Scott wrote:
Hi all,

I've been searching around for a while, but cannot find a solution. For a project of mine, I need to keep the connection information to a MySQL server database on another server.

<?php
include "http://www.remoteserver.com/remote_file.php";;
// Use variables $user and $pass somehow...
?>
why do you need to do this, would it not be simpler for the db admin to give you a username and password for the database, or provide some sort of xml interface, on the remote server, to access the database.
.



Relevant Pages

  • Re: Incomplete Site Databases
    ... Hum hum, sounds not good. ... create a new database in you virtual server ... We have an interesting situation on our server. ... I know that they use two different searching structures. ...
    (microsoft.public.sharepoint.portalserver)
  • Incomplete Site Databases
    ... We have an interesting situation on our server. ... The portal sites run ... I know that they use two different searching structures. ... in the Web_SITE database. ...
    (microsoft.public.sharepoint.portalserver)
  • Re: Combining FTS and Index Server
    ... I suspected something like that as often the database server is separate ... Fore storing a large number of files in SQL Server as the Terra Server does, ... > was not the best choice for searching, ...
    (microsoft.public.sqlserver.fulltext)
  • Location of Crawl Log - MOSS2007
    ... searching for an answer to this question and didn't have any luck... ... Is it a flat file somewhere on the server, ... I have looked through the hard drives van de server, ... access the database tables to check whether the information resides ...
    (microsoft.public.sharepoint.portalserver)
  • Re: Newbie ques - client workstation computers
    ... Do you want them to access the server via a custom application, ... just give your programmers the correct ... connection information. ... is an application that accesses a database on the server. ...
    (microsoft.public.sqlserver.clients)