Note that there are some explanatory texts on larger screens.

plurals
  1. POadding php to html frame
    primarykey
    data
    text
    <p>I have a problem with adding php into html which includes frame. Here is my code;</p> <pre><code> &lt;?php session_start(); if (($_SESSION['accesslevel'] != "normal") ||($_SESSION['accesslevel'] != "admin" )) { ?&gt; &lt;meta http-equiv="refresh" content="0; url=./login.html"&gt; &lt;?php}else {?&gt; &lt;!DOCTYPE HTML&gt; &lt;html lang="en"&gt; &lt;head&gt; &lt;title&gt;METU 3D Panaromic View&lt;/title&gt; &lt;meta name="description" content="File Upload widget with multiple file selection, drag&amp;amp;drop support, progress bar and preview images for jQuery. Supports cross-domain, chunked and resumable file uploads. Works with any server-side platform (Google App Engine, PHP, Python, Ruby on Rails, Java, etc.) that supports standard HTML form file uploads."&gt; &lt;meta name="viewport" content="width=device-width"&gt; &lt;!-- Bootstrap CSS Toolkit styles --&gt; &lt;link rel="stylesheet" href="http://blueimp.github.com/cdn/css/bootstrap.min.css"&gt; &lt;!-- Generic page styles --&gt; &lt;link rel="stylesheet" href="upload/css/style.css"&gt; &lt;!-- Bootstrap styles for responsive website layout, supporting different screen sizes --&gt; &lt;link rel="stylesheet" href="http://blueimp.github.com/cdn/css/bootstrap-responsive.min.css"&gt; &lt;!-- Bootstrap CSS fixes for IE6 --&gt; &lt;!--[if lt IE 7]&gt;&lt;link rel="stylesheet" href="http://blueimp.github.com/cdn/css/bootstrap-ie6.min.css"&gt;&lt;![endif]--&gt; &lt;!-- Bootstrap Image Gallery styles --&gt; &lt;link rel="stylesheet" href="http://blueimp.github.com/Bootstrap-Image-Gallery/css/bootstrap-image-gallery.min.css"&gt; &lt;!-- CSS to style the file input field as button and adjust the Bootstrap progress bars --&gt; &lt;link rel="stylesheet" href="upload/css/jquery.fileupload-ui.css"&gt; &lt;!-- Shim to make HTML5 elements usable in older Internet Explorer versions --&gt; &lt;!--[if lt IE 9]&gt;&lt;script src="http://html5shim.googlecode.com/svn/trunk/html5.js"&gt;&lt;/script&gt;&lt;![endif]--&gt; &lt;frameset rows="40px,94%" BORDER=2 &gt; &lt;frame src="./normal_menu.html" noresize="noresize" scrolling="no" name="menu"/&gt; &lt;frameset cols="25%,75%" BORDER=2&gt; &lt;frame src="./map3.php?type=1" name="MAP" /&gt; &lt;frame src="./view.html?fileName=findik.den.jpg" name="VIEW"/&gt; &lt;/frameset&gt; &lt;/frameset&gt; &lt;/head&gt; &lt;body&gt; &lt;/body&gt; &lt;/html&gt; &lt;?php}?&gt; </code></pre> <p>It does not see if in php, hence it always redirects to login.html. How can i handle it without giving up frame.</p> <p>Thanks.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload