Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7180213
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T17:18:03+00:00 2026-05-28T17:18:03+00:00

My free webhost appends analytics javascript to all PHP and HTML files. Which is

  • 0

My free webhost appends analytics javascript to all PHP and HTML files. Which is fine, except that I’m using nuSoap to create a WSDL file for a webservice I’m working on. My darn host adds this to my php-generated WSDL file.

Some people have suggested add this to the .htaccess file:

AddType text/xml .php

Which is dandy, but it disables the PHP engine as well, and there’s no way to generate the WSDL then.

I’ve searched everywhere, no luck. Webhost does not respond to emails or support tickets either.

Edit: The script my webhost uses is Histats. Published by Histats.com. Also, this JavaScript block falls outside the <html></html> tags and won’t pass validator.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T17:18:04+00:00Added an answer on May 28, 2026 at 5:18 pm

    As per @Gerben’s comment…

    Adding <!-- does not work. The host already starts their extra stuff with a comment, and the --> that follows gets overridden.

    Adding header('Content-Type: text/xml'); does nothing, the javascript still shows.

    HOWEVER! We’ve found the answer… putting exit(); at the end of the PHP script will disable this function!

    As a side note to Mr. @Gerben — Thank you, and I’ve voted up one of your other answers, so you get credit for this…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My free webhost appends analytics javascript to all PHP and HTML files. Which is
I am using a free web host that doesn't support back end code. I
Free, portable, all included, all in one, (opensource is + ) php server? I
i'm using an free Javascript to search and highlight text on a website. If
Free Expression Blend 4 for Windows Phone, Silverlight and XNA in all their glory...
Is there any free or commercial component written in .NET (no COM interop) that
which free PDF viewers are available to directly show a PDF file inside a
I have two free apps, iSys and iSysMonitor, that report info about my iPhone.
Is there any free program out there that can parse a collection of VHDL
i am looking for a free Webhost for JSF sites.. unfortunately i didn't find

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.