Viewing Files

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
Oren
DevNet Resident
Posts: 1640
Joined: Fri Apr 07, 2006 5:13 am
Location: Israel

Viewing Files

Post 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:
Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

Post by Roja »

User avatar
Oren
DevNet Resident
Posts: 1640
Joined: Fri Apr 07, 2006 5:13 am
Location: Israel

Post by Oren »

That's exactly what I was looking for.
Thanks :wink:
Post Reply