NameSilo

Help Please

Spaceship Spaceship
Watch

Something Vague

Established Member
Impact
9
On my page, http://proxiesrus.com/index.php - in IE, the proxy div appears to be much lower than where it should be. In Firefox (etc) it is fine, and my code is 100% correct according to the validator.

Any thoughts, please?
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Well it is happening in some of my sites also. The codes are 100% valid without an error and still firefox shows full size DIV's and internet Explorer shows a bit trimmed ones.

I would also like to hear about this.
 
0
•••
Thanks for the quick reply nick_mayhem! :) Hopefully someone can fix this issue
 
0
•••
I'd help you but I don't see a difference between IE 7 and Firefox 1.5. Maybe post a screenshot to explain the problem you're seeing?
 
0
•••
In IE 6, the box just displays so far down the page. Really nice to hear that it is fine in IE7 though!
 
0
•••
I don't want to state the obvous, but IE blows bigtime. I develop my sites on firefox, test with every open source / free / crossplatform browser I can find. My sites always look fine with the browsers I test with, and very rarely look correct with IE. So, I just put a note on my site telling ppl to use something besides IE. The way I see it I can either code for IE and screw anyone NOT using windows, or code for everything BUT IE and make life hard for stupid ppl (ppl who can't manage to install a program like firefox).
 
0
•••
Thanks - but problem is majority of the users browsing the site use IE! :( I'm just concerned I will loose my hard earned visitors!
 
0
•••
If you'd post a screenshot, that would be helpful....
 
0
•••
Here ya go, as well...

Error:

http://jigsaw.w3.org/css-validator/validator?uri=http://proxiesrus.com/index.php&usermedium=all

Source:

Code:
<?php

require 'PHProxy.class.php';

$config = array
(
    'url_var_name'             => 'q',
    'flags_var_name'           => 'hl',
    'get_form_name'            => '__script_get_form',
    'proxy_url_form_name'      => 'poxy_url_form',
    'proxy_settings_form_name' => 'poxy_settings_form',
    'max_file_size'            => -1
);

$flags = 'prev';

if (isset($_GET[$config['flags_var_name']]))
{
    $flags = $_GET[$config['flags_var_name']];
}

$PHProxy = & new PHProxy($config, $flags);

if (isset($_GET[$PHProxy->config['get_form_name']]))
{
    $url = decode_url($_GET[$PHProxy->config['get_form_name']]);
    $qstr = preg_match('#\?#', $url) ? (strpos($url, '?') === strlen($url) ? '' : '&') : '?';
    $arr = explode('&', $_SERVER['QUERY_STRING']);
    if (preg_match('#^'.$PHProxy->config['get_form_name'].'#', $arr[0]))
    {
        array_shift($arr);
    }
    $url .= $qstr . implode('&', $arr);
    $PHProxy->start_transfer(encode_url($url));
    echo $PHProxy->return_response();
    exit();
}

if (isset($_GET[$PHProxy->config['url_var_name']]))
{
    $PHProxy->start_transfer($_GET[$PHProxy->config['url_var_name']]);
    echo $PHProxy->return_response();
    exit();
}

if (isset($_GET['action'], $_GET['delete']) && $_GET['action'] == 'cookies')
{
    $PHProxy->delete_cookies($_GET['delete']);
    header("Location: $PHProxy->script_url?action=cookies");
    exit();
}

if (isset($_POST['username'], $_POST['password'], $_POST['server'], $_POST['realm'], $_POST['auth_url']))
{
    $PHProxy->request_method = 'GET';
    $PHProxy->url_segments['host'] = decode_url($_POST['server']);
    $PHProxy->set_authorization($_POST['username'], $_POST['password']);
    $PHProxy->start_transfer($_POST['auth_url']);
    echo $PHProxy->return_response();
    exit();
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<title>Proxies R Us - We're No Toy! We're a Proxy, and More! Proxy</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="Copyright" content="Proxies R Us"/>
<meta http-equiv="content-language" content="EN"/>
<meta name="Rating" content="General"/>
<meta name="Designer" content="Proxies R Us"/>
<meta name="Keywords" content="Free Proxy, Free Web Proxy, Free Proxy List, Proxy Lists, Free Anonymous Browsing, Free Text Message Proxy, Free Image Hosting Proxy"/>
<meta name="revisit-after" content="1"/>
<meta name="Robots" content="index,follow"/>
<meta name="Description" content="We're No Toy! We're a Proxy, and More! Proxy, Image Hosting, Text Messaging and Software"/>
<meta http-equiv="Cache-Control" content="no-cache"/>
<meta http-equiv="Expires" content="0"/>
<meta name="Author" content="Proxies R Us"/>
<link rel="shortcut icon" href="images/favicon.ico"/>
<link href="css/1.css" rel="stylesheet" type="text/css" />
<script src="javascript.js" type="text/javascript"></script>
</head>

<body>
<center>
		<div id="menu"><a href="index.php">PROXY</a> <a href="msg.php">SEND TEXT MESSAGES FREE</a> <a href="games.php">PLAY FLASH GAMES NOW</a> <a href="software.php">BROWSE MYSPACE SAFE, SHARE PICTURES EASY </a></div>
		
		<div id="header">
				<h1>PROXIES R US </h1>
				<h2> WE'RE NO TOY! WE'RE A PROXY, AND MORE! </h2>
		</div>
		
		<div id="content">
		
		<img src="images/icons/proxy.gif" alt="Proxies R Us Logo" width="100" height="100" class="logo" />
		
		  <p><span class="introduction">Proxies R Us is a anonymous proxy that lets you make indirect connections hiding all your personal information. With Proxies R Us, you can browse websites when you get banned. You can easily
bypass webfilters that are set up by the school or company server you want to visit the site from. No need to search for long IP
proxy list, with Proxies R Us you can do everything that is possible with a proxy!</span></p>
		  <div id="sidebar">
						<h1>FUN LINKS </h1>
			<div class="submenu">
			  <div align="right">
			    <?php include("inc/1.php"); ?>
		      </div>
			</div>
				
				<h1>SPONSORS</h1>
					<div class="submenu">
                    <?php include("inc/2.php"); ?>
                    </div>
					
					
					<h1>FREE SOFTWARE</h1>
					<div class="submenu">
                    
                      <div align="center">
                        <?php include("inc/3.php"); ?>
                      </div>
					</div>
</div>				
		  <div id="mainbar">
						<h1>PROXY, BROWSE SAFELY!</h1>
											
                        <div id="menu2">
    <a href="<?php echo $_SERVER['PHP_SELF'] ?>">URL FORM</a> | 
    <a href="?action=cookies">Manage Cookies</a> 
	</div>
                        <noscript>
                          <div align="center"><big>You have Javascript disabled. Please enable it to use the proxy</big>.</div>
                        </noscript>
<?php

if (isset($_GET['error']))
{
    echo '<div><b>Error:</b> ' . htmlspecialchars($_GET['error']) . '</div>';
    if (isset($_GET['retry']))
    {
        echo '<div><a href="'. $PHProxy->proxify_url(decode_url($_GET['retry'])) .'">Retry</a></div>';
    } 
}

if (isset($_GET['action']))
{
    if ($_GET['action'] == 'cookies')
    {
        $cookies = $PHProxy->get_cookies('COOKIE', false);

        if (!empty($cookies))
        {
            echo '<table style="width: 30%">';
            echo '<tr><td colspan="5"><a href="?action=cookies&delete=all">Clear All Cookies</a></td></tr>';
            echo '<tr><td>Name</td><td class="head">Domain</td><td>Path</td><td>Value</td><td>Action</td></tr>';

            for ($i = 0; $i < count($cookies); $i++)
            {
                $j = $i&1 ? ' class="shade"' : '';
                echo "<tr><td$j>{$cookies[$i][0]}</td><td$j>{$cookies[$i][1]}</td><td$j>{$cookies[$i][2]}</td>"
                   . "<td$j>" . wordwrap($cookies[$i][3], 15, ' ') ."</td><td$j><a href=". '"?action=cookies&delete='. md5(implode('', $cookies[$i])) . '">delete</a></td></tr>';
            }

            echo '</table>';
        }
        else
        {
            echo '<div>No cookies available.</div>';
        }
    }
    else if ($_GET['action'] == 'auth' && isset($_GET['server'], $_GET['realm'], $_GET['auth_url']))
    {
        echo '<form method="post" action="' . $_SERVER['PHP_SELF'] . '">';
        echo '<input type="hidden" name="server" value="'. $_GET['server'] .'" />';
        echo '<input type="hidden" name="realm" value="'. $_GET['realm'] .'" />';
        echo '<input type="hidden" name="auth_url" value="'. $_GET['auth_url'] .'" />';
        echo '<table style="width: 100%">';
        echo '<tr><td colspan="2">Enter user name and password for <b>' . decode_url($_GET['realm']) . '</b> at <i>' . decode_url($_GET['server']) . '</i></td></tr>';
        echo '<tr><td width="30%">User name</td><td class="option"><input type="text" name="username" value="" /></td></tr>';
        echo '<tr><td width="30%">Password</td><td class="option"><input type="password" name="password" value="" /></td></tr>';
        echo '<tr><td colspan="2" style="text-align: center"><input type="submit" value="OK" /></td></tr>';
        echo '</table>';
        echo '</form>';
    }
} 
else
{
  ?>
  <form name="<?php echo $PHProxy->config['proxy_url_form_name'] ?>" method="get" action="<?php echo $_SERVER['PHP_SELF'] ?>">
  <input type="hidden" name="<?php echo $PHProxy->config['url_var_name'] ?>" value="" id="url_input" />
  <input type="hidden" name="<?php echo $PHProxy->config['flags_var_name'] ?>" value="" />
  </form>
  <form name="<?php echo $PHProxy->config['proxy_settings_form_name'] ?>" method="get" action="" onsubmit="return submit_form();">
  <table style="width: 100%">
  <tr><td style="width: 30%">URL</td><td style="width: 80%">ย <input type="text" name="url" size="50" value="" /></td></tr>
  <?php echo $PHProxy->options_list(true, true) ?>
  <tr><td style="width: 30%">New Window</td><td style="width: 80%"><input type="checkbox" name="new_window" />Open URL in a new window </td></tr>
  </table>
  <div style="text-align: center"><br />
  <input type="submit" name="browse" value="Browse Website" onclick="return submit_form();" />  </form>
  <br />
	<h1>WHAT IS MY IP? </h1>
    <?php
echo '<p><span class="info">Your IP is</span><span class="ip"> <b>'.$_SERVER["REMOTE_ADDR"].'</b><br>
  <br> 
</span><span class="info"><strong>Definition:</strong> The Internet Protocol (IP) is a network layer protocol that moves data between host computers.</span></p>
<p><span class="info"><strong>Importance:</strong> If your IP is publicly displayed, it can be very harmful to your computer. To prevent problems, use the proxy form above. Be safe!</span></p>';
?>
	<h1>WHAT IS MY BROWSER? </h1>
	    <?php
echo '<span class="info">You are using the browser <strong>'.$_SERVER["HTTP_USER_AGENT"].'</strong></span><br>
 <br>';
echo '<a href="software.php" class="info">We reccomend using Mozila FireFox for a safer internet experience!</a>';
?>
  </div>
  <p>
    <br />
    <?php
}
?>
  </p>
          <p>ย </p>
          <p>ย </p>
          <p>ย </p>
          <p>ย </p>
          <p>ย </p>
		  </div>
  </div>
  <div id="footer"><a href="index.php">Proxy</a> | <a href="msg.php">Send Text Messages Free</a> | <a href="games.php">Play Flash Games Now</a><a href="http://upload.proxiesrus.com"></a> | <a href="software.php">Browse Myspace Safe, Share Pictures Easy </a> |  <a href="mailto:[email protected]">Contact</a> <br />
  ยฉ 2006 Proxies R Us</div>
</center>
</body>
</html>
 
Last edited:
0
•••
A bit offtopic, but I have to react to monaco's post.

Dude, no offense but I sense some ignorance in your post. More than 80% of the time people are using IE. Not supporting IE is the biggest mistake you can do. There are several solutions and workarounds to make sure your site looks fine in every browser (PHP or JS check, CSS hacks).

And also, some people use IE not because they're stupid but because for example they have no other choice: at work, at school. I could install Firefox or Opera on my Grandpa's computer but then he'd call me every day because some site is not working for him.

Cheers.
 
0
•••
Quite true mch :)

Anyone else?
 
0
•••
mch said:
A bit offtopic, but I have to react to monaco's post.

Dude, no offense but I sense some ignorance in your post. More than 80% of the time people are using IE. Not supporting IE is the biggest mistake you can do. There are several solutions and workarounds to make sure your site looks fine in every browser (PHP or JS check, CSS hacks).

And also, some people use IE not because they're stupid but because for example they have no other choice: at work, at school. I could install Firefox or Opera on my Grandpa's computer but then he'd call me every day because some site is not working for him.

Cheers.

First off, mch...I appreciate your feedback...It's good (and rare, on a web forum) to hear a differing opinion presented intelligently.

I'd rip on firefox/opera/etc too if it ignored web standards the way IE does. About 75 percent of the time when I see someone with a question like "it works in IE but not FF", I plug it into a validator, and it fails. I fix the validation errors, and voila, it works in FF, but IE has some little glitch because it needs some noncompliant tag to make it work.

I think you're only half-right about the 80 percent of ppl using IE; It depends on the type of ppl you have looking at the site. For instance, I'd put money on the fact that AOL.com has a higher percentage of IE users than Slashdot does. My awstats reports (and my analytics code corroborates this) that only about 20 percent of my visitors use IE. The rest are mostly an even split between firefox and opera, with some other browsers thrown in there too (I don't count bots in this math either). Some sites should have to use the hacks to make sure all browsers work right (government sites come to mind here) but for the most part, it's a pain in the butt caused entirely by IE's product team being mismanaged, closed-minded, and stupid.

As for not being able to use firefox at work, have you heard of portable firefox? It can be run from a USB key, or a folder on a hard drive with *no installation required* and keep all of it's data in it's folder. I always carry it on my keychain so when I go to a public computer I can (usually) browse the way I want to.

If a site doesn't work for him in firefox, he ought to be complaining to the admin of that site about it, not you...the only site that has any right to require IE on Win32 is update sites for the windows OS. When MS releases the source code for IE (or a version for linux and mac osx) I may lighten up a little on them, but for the time being, they're just peddling a gimpy product.
 
0
•••
the problem is with IE, i had same problems with them and i couldn't find solutions for that, IE allways keeps leaving 1px lines in some programming works. why? because in IE 6 there is not installed second version of CSS as firefox, opera etc. uses it allready, this is why sometimes pages on IE looks diferent then in other browsers.

Progres:In IE 7, microsoft installed second version of CSS, finally, but this is only rumors as i know.

Suggestion: design and program everything previewing on IE. IF everything shows in that browser then it will be the same in others.

Hope it is everything clear for you and sorry if not :) :hehe:
 
0
•••
Thanks guys - anyone think they can fix my prob ?
 
0
•••
The user Think was very helpful, he sovled this problem. Thanks!
 
0
•••
Dynadot โ€” .com Registration $8.99Dynadot โ€” .com Registration $8.99
Domain Recover
NameMaxi - Your Domain Has Buyers
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back