ID:               22983
 Updated by:       [EMAIL PROTECTED]
 Reported By:      luke at cywh dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         HTTP related
 Operating System: Windows XP
 PHP Version:      4CVS-2003-03-31 (stable)
 New Comment:

In what snapshot (from when?) did this work?
And are you absolutely, 100% sure you have installed the
new snapshot correctly? (windows seems to be a bit picky sometimes,
need to reboot even to get some files updated, etc.)

Check the phpinfo() output for the build date and version.





Previous Comments:
------------------------------------------------------------------------

[2003-03-31 17:53:54] luke at cywh dot com

alright...

i have this file which is the basic for my entire website.

i have it broken up with If statements, and use the $_GET statment to
determine what contents to display. in this file i have my header,
which is always displayed, and my footer.

the way i have it setup is i have my header... under it i have a table
with two columbs. the one of the left contains another table that has
my menu, and the columb on the right contains the php code. and under
that i have my footer.

the php code contains if statements such as this....

$var=$_GET['action'];
if(!$var)
{
//displays contents for main page
}
if($var=="artic")
{
//displays contents for the articles section
}
if($var=="search")
{
//displays search results (code)
}
if($var=="wh")
{
//displays web hosting plans
}


basically something like that.

so the whole page is like....

<html>
<head><title>mypage</title>
</head>
<style>
a { stuff for links }
a:hover { stuff for links when mouse is hovered over it }
</style>
<body>
<!--- header goes here --->
<table width="100%">
<tr>
<td width="150">
<!--- menu stuff goes here. links to like file.php?action=value--->
</td>
<td>
<!-- body of the page. contains the php if statments --->
</td>
</tr>
</table>
<!--- copywright footer goes here --->
</body>
</html>


and thats basicaly it. now what it should do is when a specified value
for 'action' is given, it should give me the information. like for
eaxmple if i clicked on a link and it took me to index.php?action=wh.
what that should give me is a table inside the body columb that lists
hosting prices for different plans and such. what it does is it loads
the header, and then all of a sudden goes blank and comes up with a
"Page Cannot Be Displayed".

some of the contents of the if statments have the actual html code in
it like....

<?php
$var=$_GET['action'];
if($var=="statment")
{
?>
<!--- html code here --->
<?php
}
?>

and some of them are like this...

<?php
$var=$_GET['action'];
if($var=="statment")
{
include "somefile.html";
}
?>


here is my page... http://www.cywh.com/index.php
here is the source... http://www.cywh.com/index.phps

------------------------------------------------------------------------

[2003-03-31 15:57:39] [EMAIL PROTECTED]

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.




------------------------------------------------------------------------

[2003-03-31 10:46:25] luke at cywh dot com

Numerous pages on my site are coming up as "page cannot be displayed".
it worked before i upgraded my php, but now its doing it. on my local
network it doesnt happen, but any computer outside my network it does
happen.

http://www.cywh.com <--- thats my site
http://cytech.cywh.com <--- other site, happens on order

it happens on numerous links, like "get hosted" or "other plans" and
others.

im not sure whats causing it, but it happened before, you guys adviced
me to upgrade to a snapshot, that seemed to fix it, i upgraded again to
another snap shot, and it started happening again.

i believe it only happens only on IE because you guys said it worked
and you were using a different browser (proboly on linux). please test
it on an IE browser.

im using IE 6.0

i have php installed to apache 2.0.44 as a module. i have numerious
virtual hosts setup on apache.

i have saved html code that is "supposed" to be generated by the page
and it does come up fine. im very sure it is related to a php.

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=22983&edit=1

Reply via email to