Forum     

Go Back   Digit Technology Discussion Forum > Software > Programming
Register FAQ Calendar Mark Forums Read

Programming The destination for developers - C, C++, Java, Python and the lot


Reply
 
LinkBack Thread Tools Display Modes
Old 26-06-2011, 12:40 PM   #1 (permalink)
learn more share more....
 
hacklinux's Avatar
 
Join Date: May 2011
Posts: 36
Question website validation error.


i have few html files which i uploaded on a webhosting site.but whenever i give the link to my friend's through chat it says that "it is a spam".so what should i do to prevent it from saying so?and when i try to validate it using w3 validator it displays two errors and even displays what the errors are but those two lines where the errors are have not been added by meand they are not displayed in my original code too.they are only showed when i use the "view page source" option in the browser.

Welcome


this is the link.please help me to the earliest.
hacklinux is offline   Reply With Quote
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 26-06-2011, 01:00 PM   #2 (permalink)
Simply a DIGITian
 
krishnandu.sarkar's Avatar
 
Join Date: Nov 2007
Location: Kolkata
Posts: 2,942
Default Re: website validation error.

Read the validations and fix them. No errors will be shown in HTML or in the website itself.

If you write wrong it wont work, and if you write it correctly it'll work.

So you need to know the way of writing it and maintain that way. Sometimes when you'll make mistake you'll see it's working then also. Like if you forget to close a closing tag, you'll see it's working fine.

And about the spam thing, I'd say at first look it really looks like a SPAM. So may be auto-detections are throwing false positives.
__________________
  • Read The Forum RULES First.
  • Before PM'ing Or Asking Any Questions To Any Mod Read The FAQ's
  • Before Starting A New Thread Read The STICKY THREADS First
  • Before Participating In Bazaar Section Read The BAZAAR RULES
krishnandu.sarkar is online now   Reply With Quote
Old 26-06-2011, 01:03 PM   #3 (permalink)
learn more share more....
 
hacklinux's Avatar
 
Join Date: May 2011
Posts: 36
Default Re: website validation error.

actually it works...and i have this code here which i have not written and the validator shows error in that line.the code is:

<script type="text/javascript">

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");

document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));

</script>

<script type="text/javascript">

var pageTracker = _gat._getTracker("UA-656974-8");

pageTracker._initData();

pageTracker._trackPageview();

</script>



the above code is not written by me.and this code gets added at the end of the page i.e.after the </html> tag.now how do i rectify that?
hacklinux is offline   Reply With Quote
Old 26-06-2011, 01:24 PM   #4 (permalink)
I'm a Wannabe Hacker
 
Prime_Coder's Avatar
 
Join Date: Apr 2011
Location: Oxford of D East!
Posts: 235
Post Re: website validation error.

I visited that link. It works, though in the source I could find the javascript code after </html> tag which is posted above.

@hacklinux you said you have not written this code, how it is added in the source code then. Have you tried to remove that code and then previewing in the browser before uploading?

EDIT: I found the code on every page, maybe the hosting website have put that script for tracking purposes.
__________________
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rich Cook

Last edited by Prime_Coder; 26-06-2011 at 01:51 PM.
Prime_Coder is offline   Reply With Quote
Old 26-06-2011, 01:28 PM   #5 (permalink)
Wise Old Mouse
 
mrintech's Avatar
 
Join Date: Sep 2005
Location: Bhopal, India
Posts: 1,930
Default Re: website validation error.

The above code is for Google Analytics. If it's added automatically than most probably, some My3gb.com - Free Web Hosting script is adding it in order to track visitors - You can't edit this code as it's the DEFAULT Analytics code by Google

Regarding SPAM Error.... I am not getting one..... May be the IP Address of your provider is causing problems, as it may be banned by some Security Softwares or ISP

Also try to get your own Domain and Web hosting, as you MAY experience lots of errors and problems with these FREE Hosting Providers.....

Hope this helps
__________________
- MrinTech :)
mrintech is offline   Reply With Quote
Old 26-06-2011, 01:50 PM   #6 (permalink)
learn more share more....
 
hacklinux's Avatar
 
Join Date: May 2011
Posts: 36
Default Re: website validation error.

thanks @prime_coder and @mrintech.
and i am using just for learning purpose so not in need of a domain.so can you tell me few web hosting sites which support php and sql?
hacklinux is offline   Reply With Quote
Old 26-06-2011, 03:02 PM   #7 (permalink)
Wise Old Mouse
 
mrintech's Avatar
 
Join Date: Sep 2005
Location: Bhopal, India
Posts: 1,930
Default Re: website validation error.

Following are best PAID Web Hosting Providers:

Hawkhost - Cheap and Best
HostGator
HostGator India

__________________
- MrinTech :)
mrintech is offline   Reply With Quote
Old 27-06-2011, 10:08 AM   #8 (permalink)
learn more share more....
 
hacklinux's Avatar
 
Join Date: May 2011
Posts: 36
Default Re: website validation error.

@mrintech: if my ip address provider makes a problem wat am i supposed to do??
hacklinux is offline   Reply With Quote
Old 27-06-2011, 12:04 PM   #9 (permalink)
Wise Old Mouse
 
mrintech's Avatar
 
Join Date: Sep 2005
Location: Bhopal, India
Posts: 1,930
Default Re: website validation error.

You can contact your FREE Web Hosting Provider to move your site files to some white listed IP Address/Server - Make sure you clearly explain the problem while contacting them

Since, your Web Hosting is FREE one, I doubt they will move your website to some other IP Address/Server which is in good standing - But contact them and see what's the Result

Paid Webhosting Providers does everything to keep their IP Addresses/Email Gateway/Servers in Good Standing.
__________________
- MrinTech :)
mrintech is offline   Reply With Quote
Old 27-06-2011, 10:55 PM   #10 (permalink)
learn more share more....
 
hacklinux's Avatar
 
Join Date: May 2011
Posts: 36
Default Re: website validation error.

ohk ok thanks again @mrintech...
hacklinux is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Charan
- by Sarath
- by clmlbx

Advertisement




All times are GMT +5.5. The time now is 12:30 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2