prcollin Posted July 9, 2007 Share Posted July 9, 2007 If I type in a php script on my site and its a random images script do i just save it as a .php and when that domain extension i.e. www.random./images is called it will run automatically Link to comment https://forums.phpfreaks.com/topic/59067-really-simple-basic-question/ Share on other sites More sharing options...
NArc0t1c Posted July 9, 2007 Share Posted July 9, 2007 If it is an php script, save it with the extension .php Link to comment https://forums.phpfreaks.com/topic/59067-really-simple-basic-question/#findComment-293218 Share on other sites More sharing options...
JasonLewis Posted July 9, 2007 Share Posted July 9, 2007 and when that domain extension i.e. www.random./images is called it will run automatically didnt understand that bit really, bit like NArc0t1c said, .php is the extension. Link to comment https://forums.phpfreaks.com/topic/59067-really-simple-basic-question/#findComment-293323 Share on other sites More sharing options...
prcollin Posted July 9, 2007 Author Share Posted July 9, 2007 If I type in a php script on my site and its a random images script do i just save it as a .php and when that domain extension i.e. www.random./images is called it will run automatically basically I want a banner advertisement portion to my site and want it to randomize on refresh. would i Just insert a rand() script into my php script for the site design Link to comment https://forums.phpfreaks.com/topic/59067-really-simple-basic-question/#findComment-293481 Share on other sites More sharing options...
AndyB Posted July 9, 2007 Share Posted July 9, 2007 basically I want a banner advertisement portion to my site and want it to randomize on refresh. would i Just insert a rand() script into my php script for the site design Well, sort of. Your question is too abstract to give you a complete reply. If you have code that nearly works, post it and explain the problem. Link to comment https://forums.phpfreaks.com/topic/59067-really-simple-basic-question/#findComment-293512 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.