473,378 Members | 1,512 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

New to html > and have a question or 2 :S

OK, i've made one your two websites in the past.
what im wanting to do is...

1>Im gonna make a website that displays my IP address for my friends to beable to log onto my game server.

2>I also want to know if there is anyway to request a website, if it fails then try again 5minutes or so later, and display an img, if it is sucessful have another image displayed and again try again in five minutes.

3>if possible have it so the ip address is only displayed when a person enters a password (not a biggy though)

thanks, let me know if this is possible or not, its just a little project ive decided to try and 98% of my projects either fail or dont get finished so im not fussed.
Oct 3 '08 #1
4 1273
oler1s
671 Expert 512MB
Is everything you said possible? Sure.

Although why do you think this question fits in the HTML/CSS forum?
Oct 3 '08 #2
:S im not sure, i take it its more ... related? java? or something.. im not all that great with html and website related stuff, heck the only language i can even pretend to program is qbasic. and thats almost as old as i am!
Oct 3 '08 #3
eWish
971 Expert 512MB
Moving to the Miscellaneous Questions forum.

--Kevin
Oct 4 '08 #4
Curtis Rutland
3,256 Expert 2GB
For one website to make a request to another, you can use Javascript's XMLHttpRequest to do the job.

As to the IP Address, if this website is hosted on the same server that the game server is, you can hit WhatIsMyIp.Com's Automation Page with the XMLHttpRequest to get your current IP Address. This is assuming that you don't have a static IP.

As to the password thing, you can't securely implement a password unless you use some server side technology, such as ASP, PHP, or JSP. So, you could code a password in with Javascript, but it would be visible to anyone who views the source of your page. So forget about the password for now unless you know some server coding tech.

Hope that helps. The experts in the Javascript forum will be able to help you with XMLHttpRequests, but they will expect you to have a basic knowledge of what you are doing. Look it up and try to learn it yourself first.
Oct 4 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Derek Fountain | last post by:
Just asked a question regarding this little bit of XSL: --- <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="html"/> ...
2
by: Donald Firesmith | last post by:
I am having trouble having Google Adsense code stored in XSL converted properly into HTML. The <> unfortunately become &lt; and &gt; and then no longer work. XSL code is: <script...
12
by: bissatch | last post by:
Hi, Is it possible for me to store HTML tags inside XML nodes? I need some way to share news headlines. Because the headlines differ in their presentsation, it would be very difficult to store...
5
by: nivas.meda | last post by:
Hi, I have an excel sheet with a graph and cells.If i change the value in the excel cells the graph will reflect.Now i am going to implement this functionality in html page.I successfully saved...
6
by: Chris Fink | last post by:
Does anyone know it is possible to include a small image(.gif .jpeg) within a <SELECT><option> so that the user would see the option text as well as a little image(icon) in the option? I know this...
6
by: Paolo Pignatelli | last post by:
I have an aspx code behind page that goes something like this in the HTML view: <asp:HyperLink id=HyperLink1 runat="server" NavigateUrl='<%#"mailto:" &amp;...
2
by: polilop | last post by:
OK i know it sounds little bit wierd but here is what i have to do. I have a database in which i store questions and answers, but the questions are about HTML, Javascript, ASP...... So i store...
6
by: clintonG | last post by:
Can anybody make sense of this crazy and inconsistent results? // IE7 Feed Reading View disabled displays this raw XML <?xml version="1.0" encoding="utf-8" ?> <!-- AT&T HTML entities & XML...
4
by: Andy Fish | last post by:
hi, this is more an html parsing question than an XML question but I think it's the kind of thing that folks in an XML newsgroup would be more likely to help with, so please excuse me if it's a...
10
by: jollysr | last post by:
Could someone please help me convert the following XML to HTML page? <?xml version="1.0" encoding="UTF-16"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.