Re: [PHP] PAGE TURNED BECOME SOURCE CODE VIEW..

2006-07-15 Thread BBC
> On Sun, July 9, 2006 12:00 pm, BBC wrote: > > Hi list... Thank for answering my questions before. I love to be a > > member of > > this list. Guys... I got another problem with GD library v2. I don't > > know > > why every time the script run the syntax which uses GD, the page > > turned > > beco

Re: [PHP] PAGE TURNED BECOME SOURCE CODE VIEW..

2006-07-14 Thread Richard Lynch
On Fri, July 14, 2006 3:34 am, BBC wrote: >> On 7/9/06, BBC <[EMAIL PROTECTED]> wrote: > $tumbsize = 150; > $imgfile = $some_where; > $imgdst = $where_to; > header('Content-type: image/jpeg'); > list($width,$height) = getimagesize($imgfile); > $imgratio = $width/$height; > if($imgratio>1) > { > $

Re: [PHP] PAGE TURNED BECOME SOURCE CODE VIEW..

2006-07-14 Thread Richard Lynch
On Sun, July 9, 2006 12:00 pm, BBC wrote: > Hi list... Thank for answering my questions before. I love to be a > member of > this list. Guys... I got another problem with GD library v2. I don't > know > why every time the script run the syntax which uses GD, the page > turned > becomes source code

Re: [PHP] PAGE TURNED BECOME SOURCE CODE VIEW..

2006-07-14 Thread Andrei
I think you should make up your mind what u display to user... image or text... Andrei BBC wrote: > >> On 7/9/06, BBC <[EMAIL PROTECTED]> wrote: >>> I don't know why every time the script run the syntax which uses GD, the >>> page turned >>> becomes source code view. So when we need th

Re: [PHP] PAGE TURNED BECOME SOURCE CODE VIEW..

2006-07-14 Thread BBC
> On 7/9/06, BBC <[EMAIL PROTECTED]> wrote: > > I don't know why every time the script run the syntax which uses GD, the > > page turned > > becomes source code view. So when we need that page in normal view, we had > > to push the 'back button' twice. > > I guess we would need to see some code

Re: [PHP] PAGE TURNED BECOME SOURCE CODE VIEW..

2006-07-14 Thread Kim Christensen
On 7/9/06, BBC <[EMAIL PROTECTED]> wrote: I don't know why every time the script run the syntax which uses GD, the page turned becomes source code view. So when we need that page in normal view, we had to push the 'back button' twice. I guess we would need to see some code samples to get thing

[PHP] PAGE TURNED BECOME SOURCE CODE VIEW..

2006-07-14 Thread BBC
Hi list... Thank for answering my questions before. I love to be a member of this list. Guys... I got another problem with GD library v2. I don't know why every time the script run the syntax which uses GD, the page turned becomes source code view. So when we need that page in normal view, we had t