PHP CGI değil, Metin / CSS Metin / HTML içerebilir?

1 Cevap

It Metin / CSS olduğunda dışında php cgi çıkışını içerecek şekilde hiçbir sorun yok. Ben bunu yapmaya çalıştım:

<?php echo system('./cgi-bin/stylegallery.cgi'); ?>

As you can see here, it returns blank: http://reboltutorial.com/gallery/stylegallery.php

whereas the cgi is returning something: http://reboltutorial.com/cgi-bin/stylegallery.cgi

Ben içerik türünü eklemeye çalıştı:

<?php header("Content-type: text/css"); ?>
<?php echo system('./cgi-bin/stylegallery.cgi'); ?>

But nothing changed. Any idea why ? Thanks.