Current location: Hot Scripts Forums » Programming Languages » PHP » PHP Code files single lined


PHP Code files single lined

Reply
  #1 (permalink)  
Old 01-07-06, 06:08 AM
Kobra Kobra is offline
Banned
 
Join Date: Dec 2005
Posts: 95
Thanks: 0
Thanked 0 Times in 0 Posts
PHP Code files single lined

I think this a bit odd but how do i make my php source code without returns and new lines?
I want my source code to be all in one line. I know it could be done by hand but its too hard on big files.

Any help apreciated.

Note: I tried to make a replace script to get rid of \n or \r\n but the new lines still show on notepad :\
Reply With Quote
  #2 (permalink)  
Old 01-07-06, 08:14 AM
Barnz1986 Barnz1986 is offline
Aspiring Coder
 
Join Date: Jan 2006
Posts: 506
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Kobra
I think this a bit odd but how do i make my php source code without returns and new lines?
I want my source code to be all in one line. I know it could be done by hand but its too hard on big files.

Any help apreciated.

Note: I tried to make a replace script to get rid of \n or \r\n but the new lines still show on notepad :\
Did you turn the word wrap off on notepad? Also i think even with word wrap turned off it does eventually go onto more than 1 line.
Reply With Quote
  #3 (permalink)  
Old 01-07-06, 08:15 AM
Vineman Vineman is offline
Wannabe Coder
 
Join Date: Dec 2005
Location: Texas
Posts: 111
Thanks: 0
Thanked 0 Times in 0 Posts
Why would you want that? Its annoying and just makes you look incompitent.
Reply With Quote
  #4 (permalink)  
Old 01-07-06, 09:02 AM
End User's Avatar
End User End User is offline
Level II Curmudgeon
 
Join Date: Dec 2004
Posts: 3,027
Thanks: 14
Thanked 35 Times in 33 Posts
Quote:
Originally Posted by Vineman
Why would you want that? Its annoying and just makes you look incompitent.
I believe it's either an attempt at copy protection (completely ineffective) or saving a few bytes of space (utterly pointless).
__________________
I don't live on the edge, but sometimes I go there to visit.
-------------------------------------------------------------------------
Sanitize Your Data | Oracle Date & Substring Functions | Code Snippet Library | [url=http://www.codmb.com/Call Of Duty[/url]
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Conception of you php code gigi_online Job Offers & Assistance 5 10-01-05 06:35 PM
Storing PHP code in mysql perleo PHP 1 09-17-05 11:40 AM
php files with no extension? liljoeyjordison PHP 4 09-03-05 01:46 PM
Need Help In PHP Programming for a single code suggestion !! CyberRomeo PHP 1 11-27-04 10:38 AM
PHP code on a remote file tonniar .rm PHP 2 05-24-04 02:32 AM


All times are GMT -5. The time now is 06:27 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.