• I just had a script created for an online survey. The code creator just sent me the zip file and it has nine different php files in the folder along with the README file for installation directions.

    I created the page on my site in WP…so for example let’s say it is mywebsite.com/survey and chose the default page template for the optimize theme.

    The README file says to put the 9 php files in the same directory as the html page and then he shows me how to link the MYSQL database in the code.

    However, I just learned that there is no .html page using WP.

    I am using Bluehost as my server.

    YIKES this gets confusing! Any suggestions?

    So my main question is what directory/where do I upload these 9 php files to for the script? And then how do I put them on my page?

    thank you so much for your help!

    Jeremy

Viewing 1 replies (of 1 total)
  • Check which pages exist in your zip first. You wouldn’t want to have them overwrite any of your existing pages, depending on where you upload them to.

    These could then really go anywhere, as long as your code references them properly. When he says the same place as the html page, I would assume he means the root of your site, or the same place, in other words, as your index.php file.

    Once that has been done, you can just use a WordPress link or something to link to the main page from your survey form.

    For organization sake, if it works, it would probably be best to have it in its own directory in the wp-content directory, and then link to it from there.

Viewing 1 replies (of 1 total)
  • The topic ‘Help to Integrate a working PHP/MySQL script into WordPress website’ is closed to new replies.