在数据库中存储数据 [英] store data in data base

查看:99
本文介绍了在数据库中存储数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将数据存储在数据库中并且我成功完成了任务,但是问题是,如果有人从在线页面上看到了页面源代码,他就看到了我存储的所有数据,我想隐藏它们意味着如果有人看到了页面源代码视图看不到我们的表及其字段.
简单来说,我想向用户隐藏数据库信息.像表结构字段和插入数据的方式.

i want to store data in database and i do it successfully but problem is this if any one see the page source from the online page he see all the data that i stored i want to hide them mean if any one see the page source view not see the our table and its fields.
in simple words i want to hide database information from user. like table structure fields and way of insertion data.

推荐答案

用php(server-side)编写的代码在页面源代码视图中不可见,我们只能查看html页面源代码上的/javascrpt(客户端)代码.

你说的不可能.您可以发布代码吗?只有这样我们才能为您提供帮助.

有关更多查询,请在此处评论!!!
The code written in php(server-side) is not visible on page source view, we can only view html/javascrpt(client-side) code on page source.

Its not possible what you are saying. Can you post your code? Only then we can help you.

for further queries comment here!!


这篇关于在数据库中存储数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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