Jump to content

CGI in PHP problem


jbingman

Recommended Posts

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?

Link to comment
https://forums.phpfreaks.com/topic/71459-cgi-in-php-problem/
Share on other sites

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.

Link to comment
https://forums.phpfreaks.com/topic/71459-cgi-in-php-problem/#findComment-359745
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.