Re[2]: mod_layout at scripts
Aaz <[email protected]> Mon, 29 Mar 2004 03:43:08 +0200
| Newsgroups | gmane.comp.apache.mod-layout |
|---|---|
| Message-ID | <[email protected]> |
Hello Erik,
No, this is impossible, because there are thousands of such scripts
with different filenames.
EC> Yes, you use the LayoutIgnoreURI directive
EC> Aaz said:
>> Hello,
>>
>> i have tonns of scripts like this one:
>> <?php
>> header("Content-Type: image/png");
>> $string = $_GET['text'];
>> $im = imagecreate(300,300);
>> $orange = imagecolorallocate($im, 220, 210, 60);
>> $px = (imagesx($im) - 7.5 * strlen($string)) / 2;
>> imagestring($im, 3, $px, 9, $string, $orange);
>> imagepng($im);
>> imagedestroy($im);
>> ?>
>>
>> So, this is PHP script producing image.
>>
>> Are there any ways to stop mod_layout inserting headers&footers in such
>> scripts?
>>
>>
>>
>>
>>
>> --
>> Best regards,
>> Aaz mailto:[email protected]
>>
>> _______________________________________________
>> Mod_layout mailing list
>> [email protected]
>> http://lists.tangent.org/mailman/listinfo/mod_layout
--
Best regards,
Aaz mailto:[email protected]