Jump to content

Xplorer4x4

New Members
  • Posts

    9
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

Xplorer4x4's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I am trying to take the content of my header on my site http://4x4submods.tk and convert it from being in every single php file to being a single header.php file that I can parse using include 'header.php'; I have taken the code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>4x4 Submods</title> <meta name="keywords" content="something, something else, etc"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link href="style.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="container"> <div id="logo"><a href="index.php" class="logo" ></a></div> <div id="banner"><img src="images/main-image.jpg" alt="Main Image" /></div> <div id="nav"> <ul> <li class="nlink"><a href="index.php">Home</a></li> <li class="nlink"><a href="lamod4x4.php">LA Mod 2.1 4x4 Submod</a></li> <li class="nlink"><a href="lamod4x4-w00ds-map-v1.php">LA Mod 4x4 w00d's Map v1</a></li> <li class="nlink"> </li> <li class="nlink"> </li> <li class="nlinkend"><a href="donate.php">Donate</a></li> <!--<li class="nlinkend"> </li>--> </ul> </div> And inserted it in header.php and tried using include 'header.php' in test.php(http://4x4submods.tk/test.php) but it's not calling the header file and parsing it. What am I missing?
  2. Found my answer: https://help.ubuntu.com/community/EnablingUseOfApacheHtaccessFiles
  3. I have also been getting help here: http://stackoverflow.com/questions/30562390/file-size-calculated-but-file-not-found[/url] I have attached my test folder to this post. Thanks! test.zip
  4. Nope, mod_rewrite is indeed turned on.
  5. I am trying to install the "Waiting time file download script using php and jquery" script found at w3webtools.com/simple-page-download-file-using-php-and-jquery/ I have downloaded the demo scripts and installed them in my server at /var/www/test/. When I try to call the demo files it recognizes the file size but says the file is not found. http://4x4submods.tk/test/download.php?f=advance-security-login-system-using-php-mysql.zip Any ideas?
  6. Sorry to double post but can no longer edit my post(really? After only an hour? :-\) <!--#menu iframe, #content iframe { width: 100%;--> Should be: /*#menu iframe, #content iframe { width: 100%;*/
  7. I think I am about to loose my mind. I have googled and looked at tons of examples of using i-frames side by side, but nothing works. The layout is pretty simple: http://img32.imageshack.us/img32/8662/diagram2q.jpg Here is the source code of the page. <? if (!check_perms('users_mod')){ error(403); } show_header('Staff Tools', 'toolbox'); ?> <head> <style type="text/css"> #adminmenu { margin-left:0% width: 200px; float: left; } #admincontent { float: right; margin-left: 15%; } <!--#menu iframe, #content iframe { width: 100%;--> } </style> </head/> <div class="adminmenu"> <iframe width="90" style="display:inline" src="/index2.php"></iframe> </div> <div class="admincontent"> <iframe width="500" style="display:inline" src="/info.php"></iframe> </div> <? ?> Here is the result:
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.