Solved

PHP Code Lock Down

Posted on 2013-02-05
4
314 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
  • 2
4 Comments
 
LVL 42

Expert Comment

by:sedgwick
Comment Utility
do u mean deny ppl from changing your client side code????
0
 
LVL 16

Accepted Solution

by:
rbudj earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
thanks!
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will learn how to count occurrences of each item in an array.

762 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now