Forum Moderators: coopster

Message Too Old, No Replies

Weird Results

         

dunhill

6:34 am on Dec 2, 2007 (gmt 0)

10+ Year Member



Hi All,

I am getting some weird results, you explanation and help is appreciated.

If I run this script everything is perfect - http://www.example.com/selection/template.php?cro_no=226

If I create a new php scripts called aa.php with just the below, the results show exactly the same as above except with an additional blank line at the top, WHY? PLEASE HELP!
<?php
@include("http://www.example.com/selection/template.php?cro_no=226");
?>

I don't understand why I am getting a blank linke, any idea please.

The other thing is some of my other scripts where everything is identical to aa.php except for cro_no it works ok.

Please help.

[edited by: eelixduppy at 6:37 pm (utc) on Dec. 2, 2007]
[edit reason] example.com [/edit]

Habtom

6:45 am on Dec 2, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Have you checked for the extra line at aa.php?

Next time, it is good if you use example.com, instead of the x's. The x's are worse than posting your personal urls. ;)

dunhill

6:50 am on Dec 2, 2007 (gmt 0)

10+ Year Member



There is absolutely nothing more in the php other than these 3 lines

<?php
@include("http://www.example.com/selection/template.php?cro_no=226");
?>

Opps sorry, I get it now!

My mind didn't even go there when I was typing the message, I will use example.com from now on

dunhill

6:53 am on Dec 2, 2007 (gmt 0)

10+ Year Member



Extra notes, the extra line only appears in IE and not in Firefox

Habtom

7:11 am on Dec 2, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



My guess would be that this problem is not related to PHP, but to any HTML, CSS, or Javascript you have on the page.