Forum Moderators: coopster

Message Too Old, No Replies

Cloaking

Cloak PHP element

         

neo the real one

8:59 am on Jul 10, 2006 (gmt 0)

10+ Year Member



I want to hide PHP data element in the html page.so that ay one who go to the option view source will not see the dat.
Can any one please help me with this.

DanA

9:20 am on Jul 10, 2006 (gmt 0)

10+ Year Member



There shouldn't be any php in your html page unless some php code is missing.
As for the data, if you display it, there is no way to hide it.

neo the real one

11:41 am on Jul 10, 2006 (gmt 0)

10+ Year Member



no there s method that i can hide my variable values.if someone who visits my website view the html source from browser he shouldn't see the variables.thats what mean by cloaking

barns101

11:55 am on Jul 10, 2006 (gmt 0)

10+ Year Member



PHP code is all parsed server-side and only the HTML that you output is visible to the end user. Your variables are not shown at any time unless you choose to output them in HTML.

[edited by: barns101 at 11:56 am (utc) on July 10, 2006]

eeek

6:23 pm on Jul 15, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



no there s method that i can hide my variable values

Variables that need to be hidden can be kept in session data instead of on the page.