Hi...
I'm rather new to PHP and have done most programming in Perl. I have a series of PHP scripts that display weather information for any area specified by a 3-letter code.
I am trying to figure out if there is a way I can modify the scripts so that when a user visits a website, they can enter the 3-letter code for the region they're interested in, and then the script will replace the 3-letter code in each of the other scripts that depend on it?
In other words:
1.) User visits website and is prompted to enter location code.
2.) Script takes location code and passes it as a string to the other PHP scripts that depend on it.
Anyone have any ideas?
Thanks so much!
I'm rather new to PHP and have done most programming in Perl. I have a series of PHP scripts that display weather information for any area specified by a 3-letter code.
I am trying to figure out if there is a way I can modify the scripts so that when a user visits a website, they can enter the 3-letter code for the region they're interested in, and then the script will replace the 3-letter code in each of the other scripts that depend on it?
In other words:
1.) User visits website and is prompted to enter location code.
2.) Script takes location code and passes it as a string to the other PHP scripts that depend on it.
Anyone have any ideas?
Thanks so much!