PDA

View Full Version : Just a quick HTML/PHP question


HalfSwede
06-01-2008, 06:07 PM
First, I realize that this isn't specifically 4HWW stuff, but I know there are plenty of folks on this forum who might know the answer to my question. So, being a friendly bunch...

I have a web site that uses HTML and PHP that needs to be updated with the names of different months every 3 months. Basically, I started a new "sweepstakes" today (June 1) that runs until August 31. The previous sweepstake ended on May 31. I went into the HTML file and changed "May" to "August" and then in my "sweepstakes-rules.html" file made several similar changes. In other words, I didn't touch any HTML code, but just chanaged the name of the month as it relates to the contest I run.

Anyway, I saved the HTML file, but now the page doesn't display correctly. In fact, with the sweepstakes-rules.html file I now get the actual IP address (I think that's what you call it) vs. the domain name (i.e. instead of www.mydomain.com/sweepstakes-rules.html I now get htt://69.153.48.43/sweepstakes-rules.html).

Should I have done something with the PHP file as well? Or maybe done something to the PHP file instead of the HTML file?

Thanks for any insight as to what I might have messed up.

Thanks,
HalfSwede

Dan
06-01-2008, 06:36 PM
Hi There,

Sounds like Fun! Post up the link and I'll happily take a look for you.

Dan

HalfSwede
06-01-2008, 08:52 PM
Hi Dan:

http://www.GiftEscapes.com/sweepstakes.html and the link for the "rules" is as the bottom of the page.

Cheers,
HalfSwede

JFrenzel
06-01-2008, 11:38 PM
Cool site, How long have you had this going for?


Regards

Jose

HalfSwede
06-01-2008, 11:47 PM
I guess it's been 1.5 years.

dking
06-02-2008, 12:55 AM
A PHP VA would be able to help a lot. Or you can just go to http://www.php.net and read the tutorials.. No sense in trying to get free code here ;)

webgal
06-02-2008, 01:04 AM
I don't see an ip. I see the url. It looks dandy to me. Are you seeing the ip because you are logged in and not logged out?

For SEO. Make sure the copy below the banner has "contest" and "win a free gift certificate". You have lots of images with key words. So put some keywords on the page. And you can beef up the keywords with "gift certificates" somewhere in one of those menu items way, way at the top. "Contact us about gift certificates" is one quick example. It's long but that space is rich for keywords.

Dan
06-03-2008, 09:30 AM
Hi HalfSwede,

Sorry - I did reply yesterday as well but looks like my internet timed out as I hit submit, but just to concur with WebGal, all looks fine to me!

Nice site by the way - is this a 4HWW project, or a business you already had running? Looks great - hope it's working well for you.

Cheers,

Dan