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
https://forums.phpfreaks.com/topic/66693-php-central-database/
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
https://forums.phpfreaks.com/topic/66693-php-central-database/#findComment-334803
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.