Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
6 - 4 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: index.html vs. index.php
by culex on 2021/4/11 17:06:25

I always use index.php is used in modules where there are not index.php page prior.. I think both types is working in image/css/js folders.

Quote:

goffy wrote:
Hi

I see that in some modules the developers use index.php instead of index.html

is there a special reason for this?
Re: index.html vs. index.php
by Mamba on 2021/4/3 14:32:48

See: https://github.com/XOOPS/XoopsCore25/pull/889

Quote:
Replace index.html files with javascript with index.php files that will cause a 404 error if accessed.


So all the index.html containing:
le="color: #000000"><?php <script>history.go(-1);</script>


Should be replaced with index.php:
<?php header('HTTP/1.0 404 Not Found');


You can use the "IndexScan" module to find out which folders are missing the index.php file.
index.html vs. index.php
by goffy on 2021/4/3 10:47:57

Hi

I see that in some modules the developers use index.php instead of index.html

is there a special reason for this?

Who's Online

163 user(s) are online (120 user(s) are browsing Support Forums)


Members: 0


Guests: 163


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits