I had to edit a script written by Elin. The script (install.php) has to get page contents from a database and generate a website using it. I had to modify the script because it's written to connect to Dancho's MSSQL database and we need it to connect to mine (which is MySQL). When install.php is done it deletes itself using the unlink() PHP function. So here's what I did:
- I found the configuration array
- I changed all database settings (database name, tables, user, password)
- I modified the generating part of the script so it can be used with the MySQL tables I designed which have some little differences from those Dancho designed
- I ran the script
After I ran the script I had to go all over this ~1 hour of work...
If you're wondering "why?" check the last part of the intro paragraph of this post
0 comments:
Post a Comment