Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

PHP Code Lock Down

Posted on 2013-02-05
4
Medium Priority
?
334 Views
Last Modified: 2013-02-05
I have the following code that pulls data from my MySQL database & displays it in a form. Is there any way for me to lock this code down or i nother words, when it is displayed in the form, I don't want anyone to be able to edit it or delete it....is this possible?

<td><b>Assigned Employee:</b><br><input type="text" name="name" size="25" maxlength="30" value="'.$row[55].'" /> <br> </td>

Open in new window

0
Comment
Question by:wantabe2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 42

Expert Comment

by:Meir Rivkin
ID: 38855429
do u mean deny ppl from changing your client side code????
0
 
LVL 16

Accepted Solution

by:
rbudj earned 2000 total points
ID: 38855515
Use readonly="readonly"

<td><b>Assigned Employee:</b><br><input type="text" name="name" size="25" maxlength="30" value="'.$row[55].'" readonly="readonly"/> <br> </td>
0
 
LVL 15

Author Comment

by:wantabe2
ID: 38855517
yes, if possible.....once it is displayed in the form in a browser, at this time they can edit what is displayed. I didn't know if I could take that ability away or not.
0
 
LVL 15

Author Closing Comment

by:wantabe2
ID: 38855638
thanks!
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question