Bug: Blank line appear

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
iluhani
Posts: 5
Joined: Thu May 28, 2009 6:06 pm

Bug: Blank line appear

Post by iluhani »

Dear,
When I use Notepad++, my script is following:

Code: Select all

<?php

$site_id = '1';
$root_dir = '/home/xxx.com/xxx.com//';

?>
But when I opened it in rapidPHP, it shown:

Code: Select all

<?php



$site_id = '1';

$root_dir = '/home/xxx.com/xxx.com/';



?>
Many blank line added, and they still appear if I reopened it in Notepad++ (after I save it in rapidPHP). So, using rapidPHP make my script bigger.

Please tell me there is any configuration to fix it?

Thanks,
Gatis
Blumentals Software Developer
Posts: 545
Joined: Sun Mar 05, 2006 12:30 am
Location: Latvia

Re: Bug: Blank line appear

Post by Gatis »

This problem has been discussed in forum before some time.
This is caused by incorrect use of BINARY/ASCII transfer mode. For example, you previously uploaded files in wrong mode (binary) and are now downloading them in right mode (ascii).
Please refer to following posts:
http://forums.blumentals.net/viewtopic.php?f=4&t=2932
http://forums.blumentals.net/viewtopic.php?f=4&t=1104
Kind regards,
Gatis Avots
Post Reply