jbingman Posted October 2, 2007 Share Posted October 2, 2007 I have a CGI file that loops 4-5 pictures when the pages is refreshed and now that i have changed it to a .php file it doesnt show this. When i first installed this picture loop it made me change from .html to a .shtml. Is there a way to change .php(ex. .phps?) or something that i could have this displayed again? Quote Link to comment https://forums.phpfreaks.com/topic/71459-cgi-in-php-problem/ Share on other sites More sharing options...
TheFilmGod Posted October 2, 2007 Share Posted October 2, 2007 is this cgi script php? There are other languages out there like "CGI" that have different extensions. Its also possible that your server defaults to a lower php version and thus doesn't show the loop. For instance, on default my server uses php 4.0 unless I explicately name the php script .php5 or change the htaccess, so thats a possible. The first possibility is the most probable. Quote Link to comment https://forums.phpfreaks.com/topic/71459-cgi-in-php-problem/#findComment-359745 Share on other sites More sharing options...
jbingman Posted October 2, 2007 Author Share Posted October 2, 2007 Its pure CGI I believe. What it is is an entropy banner and they gave me the code <!--#exec cmd="cgi-bin/entropybanner.cgi"--> and told me to save the file that i used this code in as .shtm or .shtml Quote Link to comment https://forums.phpfreaks.com/topic/71459-cgi-in-php-problem/#findComment-359764 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.