My application checks for updates by accessing a php page on my
website. Like the following;
Now I have created a new checking page like the following;
Because there still are users who are using old versions, I need to
keep the old checker but I would like to use the new checker's result
in the old checker. I mean, I want to do something like
if ...oldchecker/checker.php?ver sion=1.0 is requested,
------------
WebRequest req=WebRequest. Create("..../newchecker/checker.php?" +
"ver=" + Request["version"] +
"&name=UNKNOWN" );
WebResponse=req .GetResponse();
StreamReader sr = new StreamReader(Re sponse.GetRespo nseStream());
String Output=sr.ReadT oEnd();
Response.Write( Output);
--------
I'm more familiar with C# so I wrote it in C#, but I guess you have
figured out what I'm trying to do.
website. Like the following;
Now I have created a new checking page like the following;
Because there still are users who are using old versions, I need to
keep the old checker but I would like to use the new checker's result
in the old checker. I mean, I want to do something like
if ...oldchecker/checker.php?ver sion=1.0 is requested,
------------
WebRequest req=WebRequest. Create("..../newchecker/checker.php?" +
"ver=" + Request["version"] +
"&name=UNKNOWN" );
WebResponse=req .GetResponse();
StreamReader sr = new StreamReader(Re sponse.GetRespo nseStream());
String Output=sr.ReadT oEnd();
Response.Write( Output);
--------
I'm more familiar with C# so I wrote it in C#, but I guess you have
figured out what I'm trying to do.
Comment