Converting .js to either .php or .html

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Gowisha
    New Member
    • Aug 2010
    • 14

    Converting .js to either .php or .html

    I have a fully developed JavaScript that includes three databases, plus their handling language. My web host has just informed me that they do not allow .js files. Is it possible to convert this .js file to either all html or to php?

    I've attached the .js file as a .txt file for viewing, so as to avoid questions about what is in the JavaScript file. The web site that will call on the file is at www.capsulecomments.com
    Attached Files
    Last edited by Dormilich; Aug 25 '10, 08:42 AM. Reason: fixed spelling
  • Gowisha
    New Member
    • Aug 2010
    • 14

    #2
    Sorry, that should have read .js file, and not .je file.

    Comment

    • Dormilich
      Recognized Expert Expert
      • Aug 2008
      • 8694

      #3
      my recommendation: change the webhost. it is outrageous to have a website that’s not allowed to use JavaScript from its host. (it’s something different, if the user doesn’t allow JS)

      PHP won’t help, as it is a server-side language.

      Comment

      • Gowisha
        New Member
        • Aug 2010
        • 14

        #4
        Lunarpages has backpedaled rapidly on this matter, and now admit they made a mistake in telling me this. They thought it was a server-side script. So, the .js file is on the server and the browser-side script is in the html page. Everything now works as programmed, so we shall consider this matter as resolved. Thanks to all for the comments.

        Comment

        Working...