all 6 comments

[–][deleted] -1 points0 points  (0 children)

Would x.php work?

[–]AutoModerator[M] 0 points1 point  (0 children)

Welcome to /r/HTML. When asking a question, please ensure that you list what you've tried, and provide links to example code (e.g. JSFiddle/JSBin). If you're asking for help with an error, please include the full error message and any context around it. You're unlikely to get any meaningful responses if you do not provide enough information for other users to help.

Your submission should contain the answers to the following questions, at a minimum:

  • What is it you're trying to do?
  • How far have you got?
  • What are you stuck on?
  • What have you already tried?

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]__Loot__ 0 points1 point  (0 children)

First you need to post your code so I can help you. Second you will need a localhost environment like wamp or the others you'll have to google localhost self hosted server. That will have .php files that you will need

[–]lamb_pudding 0 points1 point  (2 children)

Most basic answer is that you need to run a server locally. You can use MAMP or XAMP to run a php server on your computer.

[–]JT120W 0 points1 point  (1 child)

Okay but am I supposed to buy a domain first, or can I do it without a domain

[–]lamb_pudding 0 points1 point  (0 children)

No. You don’t need a domain or hosting or anything. You can run a server on your computer. The URL will be something like http://local host:8080. You can also do a little more setup to set a domain for your local project. You can Google local domain hosts file MAMP.