seophpknow Posted November 15, 2014 Share Posted November 15, 2014 I'm new in php and I don't have knowledge of php. I just want to know, whenever we download file from server to Desktop through FTP, there are whitespaces occuring in files. Like html websites, we always remove whitespaces whenever we upload the file to server after editing it. Is this step necessary for php websites also? If necessary then how to do it? Quote Link to comment https://forums.phpfreaks.com/topic/292474-is-removing-whitespaces-is-necessary-for-php-websites/ Share on other sites More sharing options...
tryingtolearn Posted November 15, 2014 Share Posted November 15, 2014 Are they files created on your site? like a .csv or .txt and there are extra lines inside the file? Quote Link to comment https://forums.phpfreaks.com/topic/292474-is-removing-whitespaces-is-necessary-for-php-websites/#findComment-1496638 Share on other sites More sharing options...
Solution requinix Posted November 15, 2014 Solution Share Posted November 15, 2014 It is not. Removing space is to help with bandwidth usage but PHP doesn't use that. Quote Link to comment https://forums.phpfreaks.com/topic/292474-is-removing-whitespaces-is-necessary-for-php-websites/#findComment-1496639 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.