Page 1 of 1

Viewing Files

Posted: Mon Jun 19, 2006 8:45 am
by Oren
I know that "google is your best friend", but it's not that good when you don't know what to search for :?

Let's say that I have the source code of some application and it looks like this:

Code: Select all

<?php for ($i = 0; $i < 100; $i++) { echo "some useless code\n"; echo "some more useless code\n"; echo "and so on...\n"; } ?>
Is there a way to change it back to its original form? Or at least to something that is readable? Something like this:

Code: Select all

<?php

	for ($i = 0; $i < 100; $i++)
	{
		echo "some useless code\n";
		echo "some more useless code\n";
		echo "and so on...\n";
	}

?>
Is it possible? How can I do that?

Thanks :wink:

Posted: Mon Jun 19, 2006 8:50 am
by Roja

Posted: Mon Jun 19, 2006 8:56 am
by Oren
That's exactly what I was looking for.
Thanks :wink: