TRemmie Posted September 18, 2008 Share Posted September 18, 2008 Is it possible to have one PHP file have a code that will "play" another php file if the original is activated? Something along the lines of include("");? Quote Link to comment https://forums.phpfreaks.com/topic/124873-making-one-php-file-activate-another/ Share on other sites More sharing options...
.josh Posted September 18, 2008 Share Posted September 18, 2008 well, yeah... include(). Or if that's not what you're looking for, maybe you should further explain. Quote Link to comment https://forums.phpfreaks.com/topic/124873-making-one-php-file-activate-another/#findComment-645178 Share on other sites More sharing options...
Brian W Posted September 18, 2008 Share Posted September 18, 2008 Something like?... <?php $X = "TRUE" ?><?php if($X == "TRUE"){ include("file.php");} ?> Be more specific on what you mean by active please. Quote Link to comment https://forums.phpfreaks.com/topic/124873-making-one-php-file-activate-another/#findComment-645182 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.