where is this file in my site directory

5 replies
where is this file in my site directory
I right clicked and opened the source in notepad and below is what it shows from my home page, It says index.html at the top but I can not find this file anywhere, I opened every index, php, and css file I found and can not see this coding anywhere. I also opened the files in FrontPage and none of them look like this, also the Google ads don't show up on the site. I would like to edit the meta tags if I can find it. any help would be appreciated.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>article-site.biz - Your Free Article Directory</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta NAME="description" CONTENT="article-site.biz - Your Free Article Directory">
<meta NAME="keywords" CONTENT="article-site.biz - Your Free Article Directory">
<link href="images/class.css" rel="stylesheet" type="text/css">
</head>

<body leftmargin="0" topmargin="0">

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="89" background="images/topbg.gif"><table width="778" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="89" valign="bottom" background="images/top.gif" style="background-repeat:no-repeat; padding-bottom:5"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="74%" rowspan="3" style="padding-left:20">
<a href="index.php"><img src="images/trans.gif" width="125" height="55" border="0"></a>
<!-- Website Name //-->
<font size=7 color="##0000ff">article-site.biz</font>
</td>
<td class="bodylinks" style="padding-left:3">&nbsp;</td>
</tr>
<tr>
<td width="26%" style="padding-left:3"><a href="index.php" class="bodylinks"><strong>Home</strong></a>
| <a href="index.php?pagedb=aboutus" class="bodylinks"><strong>About Us</strong></a>
<!--
|<a href="index.php?pagedb=contactus" class="bodylinks"> <strong>Contact Us</strong></a>
-->
</td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td width="94%" align="right"><form action="index.php" name="searchform" method=GET>
<input name="q" type="text" class="textbox" size="18">
<input name="page" type="hidden" class="textbox" size="18" value=search>
</td>
<td width="6%" align="right"><input type=image name=search src="images/go.gif" width="25" height="24" border="0"></td></form>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="20" align="center" background="images/linksbg.gif"><a href="index.php?page=submitarticle" class="bodylinks1">Submit
Articles</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="index.php?page=login" class="bodylinks1">Member Login</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="index.php?page=topauthor" class="bodylinks1">Top Authors</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="index.php?page=mostpopulararticles" class="bodylinks1">Most
Popular Articles</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="index.php?pagedb=Submission Guidelines" class="bodylinks1">Submission Guidelines</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="index.php?page=allcategory" class="bodylinks1">Categories</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="index.php?pagedb=rss" class="bodylinks1">RSS
Feeds <img src="images/rss.jpg" border=0 alt="See As RSS"></a></td>
</tr>
<tr>
<td height="21" background="images/stripbg.gif">&nbsp;</td>
</tr>
<tr>
<!-- Google Link Unit //-->
<td height="20" align="center" background="images/linksbg.gif"></td>
</tr>
<tr>
<td height="21" background="images/stripbg.gif">&nbsp;</td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="17%" valign="top" background="images/newsletterbg.gif">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/categories.gif" width="177" height="45"></td>
</tr>
<tr>
<td background="images/loginbg.gif" style="padding-left:10; padding-right:5; padding-top:5">
<table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr class="mainlink">
<td width="8%" align="center"><img src="images/bullet.gif" width="7" height="7"></td>
<td width="92%"><a href="category2.html" class="mainlink">Animals</a></td>
</tr>
<tr class="mainlink">
<td width="8%" align="center"><img src="images/bullet.gif" width="7" height="7"></td>
<td width="92%"><a href="category3.html" class="mainlink">Automobiles</a></td>
</tr>
<tr class="mainlink">
<td width="8%" align="center"><img src="images/bullet.gif" width="7" height="7"></td>
<td width="92%"><a href="category4.html" class="mainlink">Business</a></td>
</tr>
<tr class="mainlink">
<td width="8%" align="center"><img src="images/bullet.gif" width="7" height="7"></td>
<td width="92%"><a href="category5.html" class="mainlink">Career</a></td>
</tr>
<tr class="mainlink">
<td width="8%" align="center"><img src="images/bullet.gif" width="7" height="7"></td>
<td width="92%"><a href="category7.html" class="mainlink">Computer Programming</a></td>
</tr>
<tr class="mainlink">
<td width="8%" align="center"><img src="images/bullet.gif" width="7" height="7"></td>
<td width="92%"><a href="category6.html" class="mainlink">Computers</a></td>
</tr>
<tr class="mainlink">
<td width="8%" align="center"><img src="images/bullet.gif" width="7" height="7"></td>
<td width="92%"><a href="category8.html" class="mainlink">Entertainment</a></td>
</tr>
<tr class="mainlink">
<td width="8%" align="center"><img src="images/bullet.gif" width="7" height="7"></td>
<td width="92%"><a href="category9.html" class="mainlink">Environment</a></td>
</tr>
<tr class="mainlink">
<td width="8%" align="center"><img src="images/bullet.gif" width="7" height="7"></td>
<td width="92%"><a href="category10.html" class="mainlink">Family</a></td>
</tr>
<tr class="mainlink">
<td width="8%" align="center"><img src="images/bullet.gif" width="7" height="7"></td>
<td width="92%"><a href="category11.html" class="mainlink">Food</a></td>
</tr>
<tr class="mainlink">
<td width="8%" align="center"><img src="images/bullet.gif" width="7" height="7"></td>
<td width="92%"><a href="category12.html" class="mainlink">Health & Medical</a></td>
</tr>
<tr class="mainlink">
<td width="8%" align="center"><img src="images/bullet.gif" width="7" height="7"></td>
<td width="92%"><a href="category13.html" class="mainlink">Home & Garden</a></td>
</tr>
<tr class="mainlink">
<td width="8%" align="center"><img src="images/bullet.gif" width="7" height="7"></td>
<td width="92%"><a href="category14.html" class="mainlink">Humor</a></td>
</tr>
<tr class="mainlink">
<td width="8%" align="center"><img src="images/bullet.gif" width="7" height="7"></td>
<td width="92%"><a href="category15.html" class="mainlink">Internet Marketing</a></td>
</tr>
<tr class="mainlink">
<td width="8%" align="center"><img src="images/bullet.gif" width="7" height="7"></td>
<td width="92%"><a href="category16.html" class="mainlink">Legal</a></td>
</tr>
<tr class="mainlink">
<td width="8%" align="center"><img src="images/bullet.gif" width="7" height="7"></td>
<td width="92%"><a href="category17.html" class="mainlink">Leisure & Recreation</a></td>
</tr>
<tr class="mainlink">
<td width="8%" align="center"><img src="images/bullet.gif" width="7" height="7"></td>
<td width="92%"><a href="category18.html" class="mainlink">Marketing</a></td>
</tr>
<tr class="mainlink">
<td width="8%" align="center"><img src="images/bullet.gif" width="7" height="7"></td>
<td width="92%"><a href="category19.html" class="mainlink">Other</a></td>
</tr>
<tr class="mainlink">
<td width="8%" align="center"><img src="images/bullet.gif" width="7" height="7"></td>
<td width="92%"><a href="category20.html" class="mainlink">Politics</a></td>
</tr>
<tr class="mainlink">
<td width="8%" align="center"><img src="images/bullet.gif" width="7" height="7"></td>
<td width="92%"><a href="category21.html" class="mainlink">Religion</a></td>
</tr>
<tr class="mainlink">
<td width="8%" align="center"><img src="images/bullet.gif" width="7" height="7"></td>
<td width="92%"><a href="category22.html" class="mainlink">Sports</a></td>
</tr>
<tr class="mainlink">
<td width="8%" align="center"><img src="images/bullet.gif" width="7" height="7"></td>
<td width="92%"><a href="category23.html" class="mainlink">Technology & Science</a></td>
</tr>
<tr class="mainlink">
<td width="8%" align="center"><img src="images/bullet.gif" width="7" height="7"></td>
<td width="92%"><a href="category24.html" class="mainlink">Travel</a></td>
</tr>
<tr class="mainlink">
<td width="8%" align="center"><img src="images/bullet.gif" width="7" height="7"></td>
<td width="92%"><a href="category25.html" class="mainlink">Writing</a></td>
</tr>
</table></td>
</tr>
<tr>
<td height="20" background="images/loginbot.gif" style="padding-left:10; padding-top:3"><img src="images/arrow.gif" width="10" height="9">
<a href="index.php?page=allcategory" class="bodylinks"><strong>View all Categories</strong></a></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><img src="images/trans.gif" width="1" height="5"></td>
</tr>
<tr>
<td><img src="images/memberlogin.gif" width="177" height="28"></td>
</tr>
<tr>
<td><img src="images/loginhere.gif" width="177" height="44"></td>
</tr>
<tr>
<td background="images/loginbg.gif">
<table width="95%" border="0" align="right" cellpadding="0" cellspacing="1">
<tr class="text"> <form action="" name="login" method=post>
<td width="46%"><img src="images/username.gif" width="60" height="11"></td>
<td width="54%"><input name="user_name" autocomplete="off" type="text" class="textbox" size="12"></td>
</tr>
<tr class="text">
<td><img src="images/password.gif" width="60" height="11"></td>
<td><input name="password" type="password" class="textbox" size="12"></td>
</tr>
<tr class="text">
<td>&nbsp;</td><input type=hidden value=1 name=submitlogin>
<td><input type=image src="images/submit.gif" width="72" height="25" border="0" name=submit></td></form>
</tr>
<tr class="text">
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr class="text">
<td colspan="2"><span class="bodylinks1"><a href="index.php?page=forgetpassword" class="bodylinks1"><u>Forgot
Password?</u></a></span> &nbsp;&nbsp;&nbsp;<span class="bodylinks1"><a href="index.php?page=register" class="bodylinks1"><u>New
User?</u></a></span></td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="images/loginbot.gif" width="177" height="20"></td>
</tr>
<tr>
<td><img src="images/newslettertop.gif" width="177" height="24"></td>
</tr>
<tr>
<td background="images/newsletterbg.gif" style="padding-left:10"><table width="100%" border="0" cellspacing="2" cellpadding="0">
<tr> <form action="index.php?page=register" name="searchform" method=POST>
<td><input name="email" type="text" class="textbox" autocomplete="off" size="25"></td>
</tr>
<tr>
<td><input type=image name=subscribe src="images/subscribe.gif" width="98" height="16" border="0">
</td></form>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
</table></td>
</tr>
</table></td>
<td width="83%" align=left valign="top" style="padding-left:10">

<!---header ends--->
<table><tr><td style="vertical-align: top;">
<table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr>
<td class="text"><span class="heading">Welcome to article-site.biz, your free Article Directory!</span><br>
<br>
This is a free Article Directory and your one-stop source for free articles.<br>
If you need contents to add to your web site, or articles for use on your opt-in
newsletters and e-zines, this article directory is the place to go. It has indexed a huge collection of articles on a variety of subjects. Just
click on the appropriate category or use the article search function to find your articles.<br><br>
<div style="text-align: center;">
<center><script type="text/javascript"><!--
google_ad_client = "pub- 7448744739236605";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "image";
google_ad_channel ="";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "0066FF";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center>
#directory #file #site
  • Profile picture of the author CarloD.
    it's probably included content.

    Post the code when you open your index file in the root public_html (www) directory.

    The client side source doesn't help. We need the code before it does all the server side stuff.
    Signature

    {{ DiscussionBoard.errors[2003488].message }}
    • Profile picture of the author casius
      You need to find the parser which generated this html for you and puts as index.html or any other related forum. This code could be easily found if you will tell me what cms you are using...
      Signature
      Cloud VPS || Shared Hosting
      Web Hosting Solutions for Geeks!
      HOST1PLUS
      {{ DiscussionBoard.errors[2005804].message }}
      • Profile picture of the author tjs1954
        here is all the code in the index.php in my root dir in cPanel.

        <?php session_start();
        include("includes/config.inc");
        include("includes/func.php");
        include("query.php");
        include("header.php");
        if ($_GET["page"]=='')
        if ($_GET["pagedb"]!='')
        {
        $sql="SELECT * FROM document_master where doc_title='".$_GET["pagedb"]."'";
        $cmd = mysql_query($sql);
        $rs = mysql_fetch_array($cmd);?>
        <br><?=getsettings(8,"",2);?><br><br>
        <?echo $rs["doc_content"];
        }
        else
        {

        include("home.php");
        }
        else
        {
        if (strtolower($_GET["page"])=="forgetpassword" || strtolower($_GET["page"])=="allcategory" || strtolower($_GET["page"])=="register" || strtolower($_GET["page"])=="category" || strtolower($_GET["page"])=="submitarticle" || strtolower($_GET["page"])=="rss" || strtolower($_GET["page"])=="userarticles" || strtolower($_GET["page"])=="topauthor" || strtolower($_GET["page"])=="search" || strtolower($_GET["page"])=="mostpopulararticles" || strtolower($_GET["page"])=="login" || strtolower($_GET["page"])=="article" || strtolower($_GET["page"])=="author" || strtolower($_GET["page"])=="personal" ) {
        include(basename($_GET["page"]).".php");
        }
        }
        ?>
        <? include("footer.php"); ?>
        {{ DiscussionBoard.errors[2005975].message }}
  • Profile picture of the author Mike P Smith
    Your meta tags will most likely be located in the "header.php" file - assuming that the other three ".php" files above that line are most likely support files. As a PHP file is a text file, any text editor will help you make changes.

    As a side note, the "$sql=" line takes an argument from the submitted URL without checking the validity of the "pagedb" variable from the URL. This can open you up to an SQL Injection attack. See this link for more information: PHP: SQL Injection - Manual
    {{ DiscussionBoard.errors[2006027].message }}
  • Profile picture of the author CarloD.
    The code you are looking for is located in the included files:

    include("includes/config.inc"); Located in Include Directory
    include("includes/func.php"); Located in Include Directory
    include("query.php"); located in same as Index (root)
    include("header.php"); located in same as Index (root)

    include("home.php"); located in same as Index (root)
    <? include("footer.php"); ?> located in same as Index (root)

    Of course you may also have content stored in the database.
    Signature

    {{ DiscussionBoard.errors[2006183].message }}

Trending Topics