How to get HTTPRequest() working with xampp locally?
Posted: Sat Dec 05, 2020 3:45 pm
Hi all,
I have on my computer (localhost) a xampp server with a mysql database and php files.
On the same machine i have SpiderBasic with a script with a HTTPRequest() in it.
When i put my local ip in HTTPRequest() and i press F5 for testing it, then it gives a HTTPRequest error.
But if i put my webhost name in HTTPRequest() to my webhost php file. it can succesfully retrieve the contents of the php file.
What is the difference between them? Both are different servers anyway. Locally on the same computer doesnt work, but on my webserver (without changing anything) it works.
I dont need a solution when i need to export it, but i want to have it that it is working with F5 (when developing the software).
Is this possible?
Any help is very appreciated!
I have on my computer (localhost) a xampp server with a mysql database and php files.
On the same machine i have SpiderBasic with a script with a HTTPRequest() in it.
When i put my local ip in HTTPRequest() and i press F5 for testing it, then it gives a HTTPRequest error.
But if i put my webhost name in HTTPRequest() to my webhost php file. it can succesfully retrieve the contents of the php file.
What is the difference between them? Both are different servers anyway. Locally on the same computer doesnt work, but on my webserver (without changing anything) it works.
I dont need a solution when i need to export it, but i want to have it that it is working with F5 (when developing the software).
Is this possible?
Any help is very appreciated!