This may be wrong forum but in looking at programming forum nothing there specifically applied.
I have a utility that collects and stores data from switches and routers. That data can then be queried out by calling up a URL and in that URL there are tons of variables that specify query criterion such as date, port number and so on.
It's been 100 years or so since I did much programming and I've not done anything with web-related stuff.
My question is this: Right now I can call on a URL that specifically has values set, such as "2" for the month and "2007" for the year.
But that means I have to edit the string every time some user wants to look at other dates. I've narrowed it down and most generally they want to look at either THIS MONTH SO FAR or LAST MONTH. That means a simple mathematical forumula based on today's date should get it. So I don't need to try to pop up some kind of form for them to fill in, I just need to somehow pass into the URL the results of a calculation based on today's date.
I would be reg-x could be used but, how do I get results for such computations into the URL...for that mater how do I get the URL to invoke to computation process?
Thanks for links to any sites that might shed light.
I have a utility that collects and stores data from switches and routers. That data can then be queried out by calling up a URL and in that URL there are tons of variables that specify query criterion such as date, port number and so on.
It's been 100 years or so since I did much programming and I've not done anything with web-related stuff.
My question is this: Right now I can call on a URL that specifically has values set, such as "2" for the month and "2007" for the year.
But that means I have to edit the string every time some user wants to look at other dates. I've narrowed it down and most generally they want to look at either THIS MONTH SO FAR or LAST MONTH. That means a simple mathematical forumula based on today's date should get it. So I don't need to try to pop up some kind of form for them to fill in, I just need to somehow pass into the URL the results of a calculation based on today's date.
I would be reg-x could be used but, how do I get results for such computations into the URL...for that mater how do I get the URL to invoke to computation process?
Thanks for links to any sites that might shed light.