Hi folks,
I've got a real noodle scratcher on my hands here!
I've bought a favicon generator php/html script and it uses a mysql database. The database has only one table so I've imported that table into my wordpress database and adjusted the config.php of the script to point to the wordpress database. You're going to need to keep up lol....
I've installed a EXEC-PHP plugin in wordpress that allows me to post php code and it displays the output. I know this part is working because I can post...
PHP Code:
<?php echo "This is the Exec-PHP 'Hello World'"; ?>
...and I get...
Quote:
|
This is the Exec-PHP 'Hello World'
|
Now the script has quite a few php files in the main folder and a few other folders. The main script runs in an index.php file. I've taken the contents of the index.php file and pasted it into my wordpress page. The paths inside the script for images, folders, etc. all point within the current folder, i.e. <img src="/tmp">, so obviously this needs to be changed because the current path when it runs would be the title of the page and this isn't a location on the server. So I've added "../favicon/" to all paths and this moves it back to the root and then into the folder where the script is. So all images and folders etc seem to be working ok.
The problem is... there is a zip function which zips a few files up and offers it to download via a download button. This zip file isn't being generated and the preview pictures aren't being shown so something is still not right.
If there's anyone out there who is good with php/html/wordpress, etc. and things they might be able to help, I'd appreciate very much!
Thanks

Glen.