Jump to content

PHP Central Database?


cooldude832

Recommended Posts

I'm just wondering if anyone has attempted or thought of a centralized database (in mysql) That can be used by anyone for centralized php data. Such as zip codes, states, people, presidents, countries really anything that could be done in a fashion of

<?php
echo "<select name=\"stuff\">";
while ($row = mysql_fetch_array($result)){
echo "<option name=\"".$row['value']."\"".$row['value']."</option>";
}
?>

It be useful in many cases I can see

Link to comment
Share on other sites

Are you asking if someone has created a database which anonymous users can connect to (presumably via an open port) and query?

 

If you are, I would venture to say that the answer is no.  I would think that the security liability alone would be enough to bar any attempt at such a setup.  On top of that there is the fact that servers, bandwidth, and administration come at a price and I don't see a practical way to monetize such a setup in order to offset these expenses.  The closest things I've seen to what you've described are web services.  In the web service model there is a layer of code and some markup language between the client and the persistence layer (RDBMS), ala: http://code.google.com/apis/soapsearch/reference.html.

 

Best,

 

Patrick

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.