Some users have requested the ability to use PHP or similar technology to dynamically generate server update scripts.
There is no problem with this approach, except that you must remember that the Software Update Wizard 'keeps score' of the last update processed by keeping an appropriate record in the WebUpdateSvc4.ini file.
The INI section label it uses by default is the URL of the server update script file. If you are passing parameters from your application to the PHP page which generates the server update script file then the INI section label will contain the parameters that were passed - i.e. the full URL including the parameters. This may make the url different for each user (because it contains identifying parameters for that user).
You should use the IniSectionID= keyword in order to address this potential issue. IniSectionID= lets you specify a fixed replacement INI section label.
If you use a plain PHP script with no parameter, you don't have to change anything to your scripts, just output the text via PHP.
As stated above, if you are using parameters, you have to add the keyword " IniSectionID= ", as the Software Update Wizard has to use the URL of your update script without any parameter in order to consistently keep the INI files up to date.
Another useful parameter to send to your script file is the license code of your registered application. This way you can control for example the number of times each code is used for updating and find out about which user has not yet updated the program. You can use the first to block the code after several updates of the same file and the second to inform those users that any update is available.
The above PHP notes were kindly contributed by Stefan Meyer-Kahlen of ShredderChess.com. Shredder Classic is a professional computer chess program, nine times world computer chess champion. If you like chess, we recommend paying his site a visit!