I have a file that is called from 1,000s of sites per day. It's about 5K in size and bandwidth is getting out of control (each time a site calls this file from my server, it costs me bandwidth).
Question A):
Rather than have all the data in that file, can I put the data into a database entry and call it from the file?
Question 😎:
Will this reduce my bandwidth as the file will hopefully be more like 50 bytes vs. 5,000 or will it still count all the data being pulled from the database?
This is what I'd like to do:
<?
$getdata = mysql_query.......
$whatever = mysql_fetch_array($getdata);
echo $whatever[data];
?>
Our file is called from other sites using <ilayer><iframe>.
Will this work or is this just a stupid question altogether?