Jump to content
The Uniform Server Community

Where to put the .php? files


Heinz Stapff
 Share

Recommended Posts

I'm just about to test some get and post requests from index.html in www folder. I'm assuming that the relevant getSilver.php should go in the same folder/directory please let me know. Might be the PHP folder? Also let me know if I can just use 'getSilver.php' or need another path name like PHP/getSilver.php etc. :rolleyes:

Link to comment
Share on other sites

PHP files are intended to be read by the Apache server, and the resultant output sent as a reply to the requester. This means they all go in the www directory.

 

Regards,

BobS

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...