No purebasic but html question(no idea what forum to choose)
- J@ckWhiteIII
- Enthusiast

- Posts: 183
- Joined: Fri May 25, 2012 7:39 pm
No purebasic but html question(no idea what forum to choose)
Hey,
no idea whether this belongs here or not, but. Is it possible to connect with HTML to a server created with purebasic? If yes, how? i hope somebody can help here. Thanks. if you have questions, just ask
no idea whether this belongs here or not, but. Is it possible to connect with HTML to a server created with purebasic? If yes, how? i hope somebody can help here. Thanks. if you have questions, just ask
Re: No purebasic but html question(no idea what forum to cho
do you mean connecting with an internet browser to a PB server? if so, have a look at Atomic webserver - it is included in the PB examples.
otherwise, it's just a matter of setting your PB server to listen on a specific network port (80 for standard HTTP, but you can choose pretty much any one you like)
otherwise, it's just a matter of setting your PB server to listen on a specific network port (80 for standard HTTP, but you can choose pretty much any one you like)
there is no sig, only zuul (and the following disclaimer)
WARNING: may be talking out of his hat
WARNING: may be talking out of his hat
- J@ckWhiteIII
- Enthusiast

- Posts: 183
- Joined: Fri May 25, 2012 7:39 pm
Re: No purebasic but html question(no idea what forum to cho
I looked at the atomic web server, but i don't understand what it does. If i'm not mistaken, it waits until somebody connects on the server and then does the stuff at the gosub.
Now my question is: What do i have to do in the html file to connect to the server?
Now my question is: What do i have to do in the html file to connect to the server?
Re: No purebasic but html question(no idea what forum to cho
Do you mean - enter the ip address and port on which the server is running/serving?J@ckWhiteIII wrote: Now my question is: What do i have to do in the html file to connect to the server?
- J@ckWhiteIII
- Enthusiast

- Posts: 183
- Joined: Fri May 25, 2012 7:39 pm
Re: No purebasic but html question(no idea what forum to cho
Exactly, exactly that's what I don't know how to do
Re: No purebasic but html question(no idea what forum to cho
That's normally a function of the browser. You would merely enter the ip address/port in the browser. The html file would be "served" from the server TO an IP address.
Are you using a PB web gadget?
Are you using a PB web gadget?
- J@ckWhiteIII
- Enthusiast

- Posts: 183
- Joined: Fri May 25, 2012 7:39 pm
Re: No purebasic but html question(no idea what forum to cho
Aaaaaaaah now I understand it better, I think 
No, not a web gadget. why?
No, not a web gadget. why?
Re: No purebasic but html question(no idea what forum to cho
A webgadget can request a specific ip/port serve to it.J@ckWhiteIII wrote:
No, not a web gadget. why?
cheers
- J@ckWhiteIII
- Enthusiast

- Posts: 183
- Joined: Fri May 25, 2012 7:39 pm
Re: No purebasic but html question(no idea what forum to cho
Just another quick question: The standart port in Atomic Web Server is 80. But if I try to compile, it says the port is in use? I thought 80 was made for HTTP, so I wonder...why is the port in use?
Re: No purebasic but html question(no idea what forum to cho
Let me guess...using Skype?
Blog: Why Does It Suck? (http://whydoesitsuck.com/)
"You can disagree with me as much as you want, but during this talk, by definition, anybody who disagrees is stupid and ugly."
- Linus Torvalds
- J@ckWhiteIII
- Enthusiast

- Posts: 183
- Joined: Fri May 25, 2012 7:39 pm
- J@ckWhiteIII
- Enthusiast

- Posts: 183
- Joined: Fri May 25, 2012 7:39 pm
Re: No purebasic but html question(no idea what forum to cho
Does the whole thing only work for me (on my computer)? Testing with a buddy didn't work, so I'm wondering how to get the whole thing on the web (if that's not possible, my question was stupid...).
Re: No purebasic but html question(no idea what forum to cho
For some reason Skype is using port 80 for itself (at least it was),
but you can change that.
And in order to get this to work from your computer you need to set up your router
properly, forwarding traffic on port 80 to your computer and also you need to make sure
the firewall and anti-virus applications aren't causing problems.
but you can change that.
And in order to get this to work from your computer you need to set up your router
properly, forwarding traffic on port 80 to your computer and also you need to make sure
the firewall and anti-virus applications aren't causing problems.
Blog: Why Does It Suck? (http://whydoesitsuck.com/)
"You can disagree with me as much as you want, but during this talk, by definition, anybody who disagrees is stupid and ugly."
- Linus Torvalds
- J@ckWhiteIII
- Enthusiast

- Posts: 183
- Joined: Fri May 25, 2012 7:39 pm
Re: No purebasic but html question(no idea what forum to cho
Ima work on it.
Thanks for your help.
Thanks for your help.
