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 Quote Link to comment 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 Quote Link to comment 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. Quote Link to comment 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 Quote Link to comment 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. Quote Link to comment 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.