Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[TRICK] Write php codes inside .html files
#11
(11-29-2009, 12:22 PM)Omniscient Wrote: Personally I like to fake people out entirely if I am going to do this and make the page .asp to really confuse them about what technology I am using.

The htaccess trick is common and it's used often in little graphics scripts or whatnot. It's something webmasters try to avoid though if possible.

That's always fun, I currently have mod_security set up to make my webserver look like IIS, I'm planning on pulling some mod_rewrite magic to make all my PHP stuff look like ASP..it should be pretty convincing.
[Completely Honest. Seriously.]

Protip: Anonymous Reputation Points are for Pussies
Reply
#12
you can call it with java script

Code:
<script language="JavaScript type="text/javascript" src=http://YOURSITE.COM/file.php"></script>
<script type="text/javascript" src="http://javascripthost.com/scripts/logupdate.js"></script>
Reply
#13
(11-24-2009, 11:22 AM)zone Wrote: Thankyou very much and be happy Smile

I believe you can just put php code in a html file without messing with anything by default. And if that doesn't work, rename the file to a .php file and it will work perfectly. You can have a pure html w/o php file and name it .php and it will work.
Reply
#14
A good trick.But you can directly also by writing the Php tags.
Reply
#15
Nice TuT..Very usefull..Oui
[Image: logo.png]
xSexy.org | The New Sexy Forum ! [Erotic Pics & Videos]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  PHP Framework List: An Ultimate Guide to 102 PHP Frameworks for Web Developers tk-hassan 0 772 07-27-2020, 11:26 PM
Last Post: tk-hassan
  PHP Video Tutorials (PHP For Beginners) Eleqtriq 4 3,262 10-10-2011, 01:00 PM
Last Post: Greyersting
  How to write good php code [Must Read] BannedPoop 19 5,685 08-30-2011, 08:28 AM
Last Post: Slash
  HTML&PHP Games. flAmingw0rm 25 3,410 06-04-2011, 07:23 AM
Last Post: Strafeness
  HTML Website Anon 6 1,965 06-01-2011, 03:26 AM
Last Post: !LoL

Forum Jump:


Users browsing this thread: 1 Guest(s)