Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. digitalroamer

    how do I cancel it if the header is sent?

    Thank you. the problem is I have a space between <? and php. It's ok when I delete it.
  2. digitalroamer

    how do I cancel it if the header is sent?

    but nothing's changed when I deleted the <html><body>. Now the header is in the very beginning, but still have the same problem. and another fatal error is the function headers_list() is undefined. So anywhere I may change the header? Thanks advanced.
  3. digitalroamer

    how do I cancel it if the header is sent?

    this is exactly what I did in the file. <html> <body> <?header("Content-type : image/png"); if(!headers_sent()) { header("Content-type : image/png"); } else { var_dump(headers_list()); } $idfer=imagecreate(600,200); $red=imagecolorallocate($idfer,255,0,0)...
  4. digitalroamer

    how do I cancel it if the header is sent?

    I check the header_sent, and it says TRUE. but the header_list() is a undefined function. And after that, whatever header I want to send causes parse errors. Is it an apache question? I'm using php 4.23, apache 1.3.27 /NT. Thanks.
  5. digitalroamer

    how can I see the picture in php.

    oh, yes, you are right, I don't script a header since it always says a parse error when I write header("Content-type : image/png"); is it because I configure wrong? Thanks.
  6. digitalroamer

    how can I see the picture in php.

    <? $id = imagecreate(100,100); $red = imagecolorallocate($id,255,0,0); imagefill($id,0,0,$red); imagewbmp($id); imagedestroy($id); ?> it seems the format doesn't match. But the gd version2 doesn't support gif any more. What should I do to see the picture? Thanks.

Part and Inventory Search

Back
Top