.htaccess remove type question for php code

  • Willy
  • Graduate
  • Graduate
  • Willy
  • Posts: 199

Post 3+ Months Ago

I have a directory, and i'd like all my php code to display.

The php show code thing does not work, it puts all kinds of stupid coloring into the code, which i don't want

I want it to be my true php code as i do view source...


i've tried:
RemoveType php .php
AddType text/plain .php

But when i browse to the page i'm prompted for a download instead of it displaying.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • CazpianXI
  • Proficient
  • Proficient
  • User avatar
  • Posts: 285

Post 3+ Months Ago

Here's a neat little PHP script that you might want to use:

http://hurring.com/code/php/view_source/

Hope this helps,

~Cazpian the 11th
  • Willy
  • Graduate
  • Graduate
  • Willy
  • Posts: 199

Post 3+ Months Ago

looks like an ok script, but i have a connect server function already written that returns that....

That code isn't going to change the fact what it is viewing is executed php.

I need the php bare bones to show up

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 79 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.