2009-10-25, 02:41
I'm working on a script what connects to a MySQL database. The current version of the script uses a XML config file to store the hostname, port, username and password.
Instead of having to edit the XML file, I'd like a way in the script to allow the user to enter that info.
I see that I could do a dialog to prompt for an IP address and a number, but I don't see any way to prompt for text input.
Am I overlooking something simple here?
Thanks, Brian
Instead of having to edit the XML file, I'd like a way in the script to allow the user to enter that info.
I see that I could do a dialog to prompt for an IP address and a number, but I don't see any way to prompt for text input.
Am I overlooking something simple here?
Thanks, Brian