小编Ser*_*gio的帖子

友好的URL和htaccess级别

我有这个.htaccess

RewriteEngine On
RewriteRule ^custom index.php?page=value [NC,L]
Run Code Online (Sandbox Code Playgroud)

如果index.php和.htaccess位于同一文件夹中,则可以正常工作.

我想将.htaccess文件放在根目录中,并使放在newFolder中的内容对htaccess规则做出反应.说:

.htaccess - > root level
index.php - > root/newFolder级别

我试过了:

RewriteEngine On
RewriteRule ^custom newFolder/index.php?page=value [NC,L]
Run Code Online (Sandbox Code Playgroud)

完全没有反应(404):(

我想解决方案必须简单,但......

任何帮助将不胜感激.

php apache .htaccess mod-rewrite

7
推荐指数
1
解决办法
276
查看次数

HTML5/CSS - <ol>带字母和括号?

我想知道是否可以使用带有")"intead"的字母." 在有序列表中.像这样的东西:

a) Some text...
b) Some text...
c) Some text...
Run Code Online (Sandbox Code Playgroud)

到现在为止我得到了:

a.) Some text...
b.) Some text...
c.) Some text...
Run Code Online (Sandbox Code Playgroud)

所以我需要消除这些要点.

CSS:

.theclass ol li{
  margin: 0 0 0 1em;
}

.theclass ol li:before{
  content: ') ';
  position: absolute;
  margin-left: -3.4em;
  text-align: right;
  width: 3em;
}
Run Code Online (Sandbox Code Playgroud)

HTML:

<div class="theclass">
 <ol type="a">
   <li>Some text...</li> 
   <li>Some text...</li>  
   <liSome text...  </li> 
 </ol>
</div>  
Run Code Online (Sandbox Code Playgroud)

css html5 html-lists

3
推荐指数
1
解决办法
5257
查看次数

AS3 XML 删除节点

我有这个 XML 结构:

<dbase>
   <employee>
      <Name>NAME</Name>
      <Surname>SURNAME</Surname>
      <Company>COMPANY</Company>
      <Date>DATE</Date>
      <Compare>1377390433625</Compare>
   </employee>
</dbase>
Run Code Online (Sandbox Code Playgroud)

我想知道如何搜索比较值并在匹配时删除员工。

我将不胜感激任何反馈。

xml actionscript-3

1
推荐指数
1
解决办法
4293
查看次数

AS3/Flash:检查数组中是否存在变量值

是否可以(以简短的方式)检查:

var name = "Nora";
Run Code Online (Sandbox Code Playgroud)

存在于:

var names:Array = ["Mary", "Porter", "Nora", "Flint", "Elsa", "Clair",...];
Run Code Online (Sandbox Code Playgroud)

谢谢。

arrays flash actionscript-3

0
推荐指数
1
解决办法
3442
查看次数

标签 统计

actionscript-3 ×2

.htaccess ×1

apache ×1

arrays ×1

css ×1

flash ×1

html-lists ×1

html5 ×1

mod-rewrite ×1

php ×1

xml ×1