使用 PHP 会话来处理配置文件和后端部分



我正在制作一个具有配置文件的网站,并且我还设计了后端,以便有人可以在不输入代码的情况下处理该网站。我在会话方面遇到问题。我不知道如何处理多个会话,以免它们混淆。

我一直无法跟踪会话,这导致了很多错误。

我的问题是:
使用多个会话以免混淆所有内容时,最佳做法是什么?&
从安全的角度来看,会话是否要得到照顾?

在引导程序中,如果您想居中 col-lg-9,您有 12 列,首先它应该是一个事件编号列以居中意味着你应该把 Col-LG-2 放在它之前

<div class="row">
<h1>PLACEMENT CELL</h1>
<h3>P.G.D.A.V. COLLEGE</h3>    

<div id="about" class="col-lg-2"> </div>
    <div id="about" class="col-lg-8">    
    <p>
    Pannalal Girdharlal Dayanand Anglo-Vedic (PGDAV) college, founded in the year 1957 by DAV College Managing Society draws its traditions of excellence learning from Delhi University and DAV Education Trust. This co-educational institution undertakes teaching in eleven departments offering both undergraduate and post graduate courses.    
    </p>
    <p>
    Over the years, the college has emerged as an epitome of perfection under the stewardship of its highly qualified and experienced faculty which has led to the creation of extremely talented and academically bright students in all the disciplines.    
    </p>
    <p>
    Apart from ensuring regularized learning platform, the college provides supportive vocational experience through a number of co-curricular societies and academic associations in various subjects. The college strives to provide an environment that nurtures qualities of humanism and inculcates values of team work, innovation and initiate.
    </p>    
    </div>

<div id="about" class="col-lg-2"> </div>    
</div>    

方法1(添加col-lg-offset-2如下所示:

<div id="about" class="col-lg-offset-2 col-lg-9">  

这是演示

方法2(像这样添加类center

<div id="about" class="col-lg-9 center">  

.center {
  margin: 0 auto;
  width:75%;
}

这是演示

由于#about元素的容器元素已经居中,因此您可以简单地将类col-lg-12而不是col-lg-9应用于#about,这会将其拉伸到容器的整个宽度上,从而使其居中。

这是一个代码笔:https://codepen.io/anon/pen/ZyLgvX

最新更新