Hi,
this might sound strange and then again it might not.
I need to upgrade one of my sites to non Global_variables and am looking for a script or windows app that would go through the script and create a txt file listing the variables used in my script. I started to do it myself manually but this is a dating site script that I hired a programmer to create for me to my specs and there are hundreds of variables if not more. I just moved to a new server and the script had errors because the phpini had Global_variables off. Not being aware of the "security issues" my old server had with the globals on. However I do not want them on now that I am aware of potential "security issues". I have seen simple code mods to resolve this with out much code modification using include statements referring to global_variables to non global_variables but I don't want to do it that way. I want to upgrade the script to using non global_variables. I still have access to the programmer and he is going to upgrade the parts of the script needed, however I said I would do the variable format/text changes in the script itself as I have the software to do massive editing quickly and it will use a text file as the source of what needs to be changed. So I need to create a txt file listing all the variables in the script, it could be done by file, directory etc. Preferbly by directory would be best as it would give me more control over the process and would be vaulable in troubleshooting/debugging code if a problem arises as I would know what variables are used where.
Unfortunately the programmer didn't create such a list when developing the site and I didn't think to require it.
Is there any windows software or php scripts around that can do this?
Thanks,
DataCom
Creating txt file listing variables used in php script/site
Moderator: General Moderators