从文件或mysql读取 [英] read from file or mysql

查看:54
本文介绍了从文件或mysql读取的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!

我有一些数据,我必须检查

每次访问者访问我的网站

什么是最好做的:


1-从文件中读取数据



2-从mysql db读取数据


谢谢

-


解决方案



杨立科 <亚****** @ sympatico.ca>在留言中写道

news:hx ******************* @ news20.bellglobal.com ..。

嗨伙计们!
我有一些数据,每次访问者访问我的网站时都必须检查

最好做什么:

1-从一个数据中读取数据文件

2-从mysql db读取数据



从数据库中读取数据几乎总是最好的方法。它将为你节省很多问题。


Gerard van Wilgen

-
www.majstro.com (在线翻译词典/ Enreta tradukvortaro)
www.travlang.com/Ergane (Windows / Senpaga免费翻译词典

tradukvortaro por Windows)


取决于它是什么以及它改变的频率。


Uzytkownik" Yang 李克 <亚****** @ sympatico.ca> napisal w wiadomosci

新闻:hx ******************* @ news20.bellglobal.com ..。

嗨伙计们!
我有一些数据,每次访问者访问我的网站时都必须检查

最好做什么:

1-从一个数据中读取数据文件

2-从mysql db读取数据

谢谢
-


从数据库读取也是从文件中读取。


file = file read

db = db +酷东西+文件读取


如果数据库在另一台服务器上,然后将+网络添加到其他服务器


如果它的小和静态,从文件中读取

-

Mike Bradley
http://www.gzentools.com - 免费在线php工具

" Yang Li Ke" <亚****** @ sympatico.ca>在留言中写道

news:hx ******************* @ news20.bellglobal.com ..。

嗨伙计们!
我有一些数据,每次访问者访问我的网站时都必须检查

最好做什么:

1-从一个数据中读取数据文件

2-从mysql db读取数据

谢谢
-


Hi guys!
I have some datas that I must check
everytime a visitor comes to my site
What is better to do:

1- Read data from a file
or
2- Read data from a mysql db

Thank you
--
Yang

解决方案


"Yang Li Ke" <ya******@sympatico.ca> wrote in message
news:hx*******************@news20.bellglobal.com.. .

Hi guys!
I have some datas that I must check
everytime a visitor comes to my site
What is better to do:

1- Read data from a file
or
2- Read data from a mysql db



Reading the data from a database is nearly always the best way. It will save
you a lot of problems.

Gerard van Wilgen
--
www.majstro.com (On-line translation dictionary / Enreta tradukvortaro)
www.travlang.com/Ergane (Free translation dictionary for Windows / Senpaga
tradukvortaro por Windows)


Depends on what it is and how often it changes.

Uzytkownik "Yang Li Ke" <ya******@sympatico.ca> napisal w wiadomosci
news:hx*******************@news20.bellglobal.com.. .

Hi guys!
I have some datas that I must check
everytime a visitor comes to my site
What is better to do:

1- Read data from a file
or
2- Read data from a mysql db

Thank you
--
Yang



a read from a db is also a read from a file.

file = file read
db = db + cool stuff + file read

if the db is on another server, then add + networking to other server

if its small and static, read from file
--
Mike Bradley
http://www.gzentools.com -- free online php tools
"Yang Li Ke" <ya******@sympatico.ca> wrote in message
news:hx*******************@news20.bellglobal.com.. .

Hi guys!
I have some datas that I must check
everytime a visitor comes to my site
What is better to do:

1- Read data from a file
or
2- Read data from a mysql db

Thank you
--
Yang



这篇关于从文件或mysql读取的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆