53 users online (0 members and 53 guests)  


  Results 1 to 11 of 11

Related

  1. hidden text in source !    Forum: Search Engine Optimization - SEO - Forum
    Replies: 12
  2. Another AdSense hidden benefit    Forum: Google Adsense
    Replies: 1
  3. Overflow hidden in a table    Forum: HTML Forum
    Replies: 1
  4. Hidden links on an image    Forum: Javascript Forum
    Replies: 2
  5. td { overflow: hidden; } ?    Forum: CSS Forum
    Replies: 10
  1. #1
    steveg's Avatar
    New User

    Status
    Offline
    Join Date
    Dec 2005
    Posts
    5

    Getting to the hidden code...help please!

    Hi all
    I had a web page developed for me in PHP and no matter what I do to optimise it...nothing changes...then I picked up by looking at the source code in my browser that there is the section (in bold) below sitting there...but I cannot see it on any editing programmes.
    All I can edit is the <head> section that appears way down the page and so no matter what I change down there...no changes come through on the site because the "hidden" head section takes priority.
    Can someone please help show me how to get the "hidden" section to appear on a web edit tool? Can I just delete that part?
    Any help most appreciated...finger nails are now very short...
    Steve
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head>
    <title>Frontiercoffee.co.za</title>
    <link rel="stylesheet" type="text/css" href="./css/default.css" media="screen">
    </head>
    <body>
    <div id="content_container_bg">
    <div id="content_container">
    <div id="left_column">
    <div id="header">
    <img src="pics/logo.gif" width="450" height="73" border="0">
     
    <div id="button_container">
    <div id="button"><a href="index.php">Home</a></div>
    <div id="button_spacer"></div>
    <div id="button"><a href="offerings.php">Our offerings</a></div>
    <div id="button_spacer"></div>
    <div id="button"><a href="clients.php">Our clients</a></div>
    <div id="button_spacer"></div>
    <div id="button"><a href="about_coffee.php">About coffee</a></div>
    <div id="button_spacer"></div>
    <div id="button"><a href="contact.php">Contact</a></div>
    </div>
    </div>
    <div id="content"><head>
    <TITLE>Coffee machines and other hot beverage vending machines</TITLE>
    <META NAME="KEYWORDS" CONTENT="coffee machines,hot beverage machines,coffee,coffee vending,vending machines,vended beverage,office coffee">
    <META NAME="DESCRIPTION" CONTENT="Sale, rental and maintenance of coffee machines and coffee and other hot beverage vending machines. We also offer a complete service option where we manage the provision of hot beverages to staff. ">
    <META NAME="GENERATOR" content="www.ahfb2000.com">
    <META NAME="ROBOTS" CONTENT="INDEX,NOFOLLOW">
    </head>
    <p>
    Last edited by HTML; 12-18-2005 at 11:32 AM.

  2. #2
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel

    Re: Getting to the hidden code...help please!

    You can only have 1 head section and it must come before any body content. I am not sure what you mean by hidden, do you mean it is in a script? If so you have to go there to edit it.
    AHFBWEB Less customers per server, more power for you!

    Business Class Shared Hosting

  3. #3
    steveg's Avatar
    New User

    Status
    Offline
    Join Date
    Dec 2005
    Posts
    5

    Re: Getting to the hidden code...help please!

    Quote Originally Posted by Dave
    You can only have 1 head section and it must come before any body content. I am not sure what you mean by hidden, do you mean it is in a script? If so you have to go there to edit it.
    Hi Dave
    Thanks for responding. If you look at the original post you'll see that there are two <head> sections. My problem is that while I can see two when on-line and checking the source code option in IE, I can only see one, the second one, when I download my index file from the server and try to edit the file. For some reason I cannot see the first <head> section. So I am assuming it is hidden text. I am not a programmer...just thought if it was a simple issue I could do fix it myself.
    If you have any ideas?
    Regards, Steve

  4. #4
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel

    Re: Getting to the hidden code...help please!

    Are you on a free host? who inputs and hides this section?
    AHFBWEB Less customers per server, more power for you!

    Business Class Shared Hosting

  5. #5
    vinyl-junkie's Avatar
    Moderator

    Status
    Offline
    Join Date
    Sep 2005
    Posts
    721

    Re: Getting to the hidden code...help please!

    Is the code you posted from the rendered page; i.e., viewing source from the internet, or is it the actual page code? That will make a difference as to where you look for what needs to be modified.
    Music Around The World - Collecting tips, trade
    and want lists, album reviews, & more

  6. #6
    steveg's Avatar
    New User

    Status
    Offline
    Join Date
    Dec 2005
    Posts
    5

    Re: Getting to the hidden code...help please!

    Thanks for the posts Vinyl-Junkie and Dave
    Vinyl-Junkie-The script I have sent through is a cut and paste from the live site using "View" and then "Source" in Internet Explorer.
    I cannot see the offending <head> section when using a web page editor.
    Dave - the page may have been built around a free generator but is hosted privately. The code must have been part of the page when it was developed.
    Hope this helps.
    Steve

  7. #7
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel

    Re: Getting to the hidden code...help please!

    What you are going to have to do is go into your server through ftp and show us a copy of your pre-rendered code.

    Dave
    AHFBWEB Less customers per server, more power for you!

    Business Class Shared Hosting

  8. #8
    steveg's Avatar
    New User

    Status
    Offline
    Join Date
    Dec 2005
    Posts
    5

    Re: Getting to the hidden code...help please!

    Hi Dave - I have cut and paste the actual page code (have just left out the body)..
    <?php
    include "layout_top.php";
    ?>
    <head>
    <TITLE>Coffee machines and other hot beverage vending machines</TITLE>
    <META NAME="KEYWORDS" CONTENT="coffee machines,hot beverage machines,coffee,coffee vending,vending machines,vended beverage,office coffee">
    <META NAME="DESCRIPTION" CONTENT="Sale, rental and maintenance of coffee machines and coffee and other hot beverage vending machines. We also offer a complete service option where we manage the provision of hot beverages to staff. ">
    <META NAME="GENERATOR" content="www.ahfb2000.com">
    <META NAME="ROBOTS" CONTENT="INDEX,NOFOLLOW">
    </head>
    <p>
    <?php
    include "layout_btm.php";?>

  9. #9
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel

    Re: Getting to the hidden code...help please!

    Code:
    <?php
    include "layout_top.php";
    ?>
    This is what we are looking for , this is where your "hidden" code is. Locate this file (through ftp) and make your head changes in it, then remove the duplicate code from your index file..

    Dave
    AHFBWEB Less customers per server, more power for you!

    Business Class Shared Hosting

  10. #10
    steveg's Avatar
    New User

    Status
    Offline
    Join Date
    Dec 2005
    Posts
    5

    Re: Getting to the hidden code...help please!

    Dave! Thanks...got it!! You have certainly helped someone today...

  11. #11
    vinyl-junkie's Avatar
    Moderator

    Status
    Offline
    Join Date
    Sep 2005
    Posts
    721

    Re: Getting to the hidden code...help please!

    Glad to know you got your problem solved.

    Next time, don't forget to put code tags around your code. That makes your posts much easier to read.
    Music Around The World - Collecting tips, trade
    and want lists, album reviews, & more



Tags for this Thread