SpiderPhp

Just another WordPress weblog

Posts Tagged ‘Hide’

I Want To Write A Quiz In Php. How Do I Hide The Code?

Posted Sunday, February 7th, 2010
Tags: , , , , ,
Posted in 6 | 4 Comments »

So… I want to learn some PHP and put up some multiple choice quizzes this semester. But I don’t know if students have a way of looking at the source code to find the answers. Since PHP is client-side, does that mean all the code involving seeing if they have the correct answer is hidden from the user? Is there something extra I have to do to hide this part?

Question X on my form is a radio group that has 3 possible choices. If the customer picks option 2, I need to have a drop-down box appear that has 3 options. How do I accomplish this? I would like the drop-down box to be hidden until the customer selects option 2.

What Should I Do To Hide Php Code With Db Connection?

Posted Friday, December 11th, 2009
Tags: , , , , ,
Posted in Uncategorized | 5 Comments »

I’m new to PHP. I want to log in to the page and authenticate the user with the DB info. What should i do to hide the PHP code from the page source? Or is there another way?

Is There Html Or Php Code To Temporarily Hide An Object?

Posted Tuesday, November 3rd, 2009
Tags: , , , , ,
Posted in Uncategorized | 1 Comment »

I’m looking for a bit of html or php code that i can put around an object to hide it until i remove the hiding code. this way i can quickly change my website homepage from showing, say the music player to a picture, while still having all the code there, but just won’t show in the webpage to viewers. this way i don’t have to completely delete/add code all the time. thanks!