|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
hi
im having trouble hosting webpages with frames in linux and apache 2.x. I use the same webpage in windows with apache too and it works fine its not the web browser cause i use the same to open both pages and one does display the frames and the other dont (linux hosted page) i dont know what the problem is is the same webpage and the same version of apache just that one is in windows and the other in linux any ideas??? ![]() |
|
#2
|
||||
|
||||
|
Frames are part of HTML markup and as long as they're both being served as HTML, then the server should have nothing to do with this.
What exactly is the problem? If it doesn't display frames then what does it display? Can you view a non-frames page?
__________________
# Jeremy Explain your problem instead of asking how to do what you decided was the solution. |
|
#3
|
|||
|
|||
|
apache under linux
ok the problem is that i cant view webpages with frames when the page is hosted in apache under linux
with windows works fine here is the code Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>myframes page</title>
</head>
<frameset rows="325*,155*" cols="*" framespacing="0" frameborder="yes" border="1">
<frame src="somepage.php" name="topFrame" >
<frame src="someotherpage.php" name="mainFrame">
</frameset>
<noframes><body> <?php header("Location:" . "somepage.php?noframes=true") ?>
</body></noframes>
</html>
i use the header to redirect the browser to other page in case the web browser cant display frames this code works fine under windows xp and apache 2.54 but in slackware linux and apache 2.54 the page redirects as if the web browser didnt support frames if i remove the header(bla, bla) it doesnt display anything thats why i put it there so user wont have to click on another link |
|
#4
|
||||
|
||||
|
You can't put a header() call there w/o it throwing an error unless you have output buffering on in PHP. So ..
What happens if you use regular HTML pages in your frameset? Are you using the same versions of PHP on the two servers? Do they have the same php.ini settings? |
|
#5
|
|||
|
|||
|
Apache help
it doest not trhow any erros even if i have display erros in php configuration file
its php 4.40 for both plataforms if i remove the header() it does not display anithing under linux and apache in windows works fine thats why i posted here i dont know what the problem is i havent use regular pages like .htm but i just dont get it |
![]() |
| Viewing: Dev Shed Forums > Web Site Management > Scripts > Apache help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|