How to connect people to my local PHP server file.
Hi. So I want to make a little IRC web service only available to people I allow. I really don't want people messing with this so I want to keep it private. I have the HTML/CSS/JS set up with AJAX, and I have the PHP file set up. My only issue is: How do I make it so users can send messages to the local PHP server file on my laptop (when I turn the server on, of course)? I REALLY don't want to have to rent a server or something like that, I only want to have it a file on my laptop. I would rather it not be a URL but a file user's of my choice receive that connects with my PHP file which then signs them in to their account on my DB and sends them the HTML/CSS/JS files (which also need to connect to the PHP server, because this is inter-relay. I feel like there is some easy solution to have an address to my PHP file that's not a URL, but I'm relatively new to PHP so I need suggestions, please. I CAN switch from PHP as my server-side language to Node.js (if it makes a difference or better suites what I'm trying to do here). Thanks.