If PHP is ran through the Apache server the files must be in the what folder?

This very much dependes on you server setup but a safe bet is to place them under the public_html directory in your user account.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.