AyoobAli
Posts: 10
Joined: 04 Apr 2017, 22:34
Occupation: Government Sector Employee
Organization: TRA

HTMLhider

16 Apr 2017, 21:04

Hey OpenUAE,

Here is another code I wrote in PHP, HTMLhider will hide the HTML source code of your page from the normal 'view source' option.
of course people will be able to read the HTML code by using the inspection tool. Also JavaScript must be enabled to show the page.

Here is how to use the script:
<?php
include('HTMLhider.class.php');
$hider = new \HTMLhider\hider();
$hider->hide($FullHTMLpage);
$hider->activateJS();
echo $hider->getHiddenPage();
?>

And it will transform this code:
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>HTML Hider</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="container">
<div class="section btl btr bbl bbr">
<div class="sectitle btl btr bb">HTML Hider</div>
<div class="seccontent tac">
This tool will hide the HTML source code of your page from the normal 'view source' option.<br />
Get a copy from <a href="https://github.com/AyoobAli" target="_blank">GitHub</a>.
</div>
<div class="secfooter bbl bbr bt">Copyright (c) 2017 AyoobAli.com</div>
</div>
</div>
</body>
</html>

To this:
<html lang="en"><head><script src="/hjs.php" type="text/javascript"></script></head><body>

</body></html>

HTMLhider is made of PHP for the back-end, and JS for the front-end, and its under MIT License.

Source: https://github.com/AyoobAli/HTMLhider
If you never made a mistake, you never tried anything new.

Zuka4all
Posts: 1
Joined: 21 Sep 2017, 21:21
Occupation: Entrepreneur
Organization: Hotxtexhs

Re: HTMLhider

21 Sep 2017, 21:23

Would this work for my php source code too? I need response asap please

AyoobAli
Posts: 10
Joined: 04 Apr 2017, 22:34
Occupation: Government Sector Employee
Organization: TRA

Re: HTMLhider

17 Oct 2017, 20:47

Hi zuka4all, sorry I just saw your reply.
No this will not work on PHP code, it will only work with HTML.
If you never made a mistake, you never tried anything new.

Return to “Members Projects”

Who is online

Users browsing this forum: No registered users and 1 guest