Help - Can't figure this out...

Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
Spacemail by SpaceshipSpacemail by Spaceship
Watch

-Alex-

Established Member
Impact
49
Ok, so I have a mac, and I used an application called "iWeb" which is really easy to use....

It auto generates your html code as well as css...etc ... and has all the files organized into one folder.

When I open my index.html with the web browser, the site works perfectly fine just as it should. Yet when I upload all the files to my ftp and go to my site it says..
"
Parse error: syntax error, unexpected T_STRING in /home/warezpro/public_html/index.html on line 1
"

So I looked at line one of my index.html and it really only has one line lol....
"
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title></title><meta http-equiv="refresh" content="0;url= Alex%20de%20Rafols.html" /></head><body></body></html>
"

So, how do I fix this so it shows up? Like I said, if I open index.html with my web browswer it works fine. 50NP$ reward for whoever fixe's it ;)

Thanks.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable Domains — AI StorefrontUnstoppable Domains — AI Storefront
First of all, that looks like a PHP error. For some reason, in your server or account, HTML is using application/PHP, in otherwords, its reading html as if its PHP.

And what is it reading as PHP? Based on what you submitted i would suggest it is the "
<?xml version="1.0" encoding="UTF-8"?>" tag.

If I were you, I would remove this tag from your HTML.
<?xml version="1.0" encoding="UTF-8"?>
 
1
•••
spyke100 said:
First of all, that looks like a PHP error. For some reason, in your server or account, HTML is using application/PHP, in otherwords, its reading html as if its PHP.

And what is it reading as PHP? Based on what you submitted i would suggest it is the "
<?xml version="1.0" encoding="UTF-8"?>" tag.

If I were you, I would remove this tag from your HTML.
<?xml version="1.0" encoding="UTF-8"?>

YOUR AWESOME

Cool it works. Adding rep and NP$ right now :loveyou: ;)
 
0
•••
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
Escrowly
CryptoExchange.com
Domain Recover
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back