how to rename *.php files

Started on the old forum in July 2010 · view the original in the archive · old links redirect here

14 replies · 1,011 views · started 16 years ago · 1 min read

5 participants
shakil420 Developer · 125 posts #1

guyz how to change a *.php file to *.420 suppose index.php to index.420????? if u know then share with us pls

subzero Super moderator Fellow · 3,954 posts #3

Why 420 ???

crazy idea

use

index.ffl or index.fu lol

i like xhtml page in wml index.wml

i thinking new site has ink for a index.ink

PHP 3 - 4 - 501

Options +FollowSymlinks
RewriteEngine On
RewriteRule (.*).420 $1.php

PHP 502 - 6 - 7

Options +FollowSymlinks
RewriteEngine On
RewriteRule (.*).420 %1.php

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

shakil420 Developer · 125 posts #4

bro doesnot work on my lavalair script error

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Apache/1.3.33 Server at 127.0.0.1 Port 80

Added after 3 minutes:

here is my htaccess

php_value date.timezone Europe/Dublin
php_flag register_globals on
## USER IP BANNING
<Limit GET POST>
 order allow,deny
 deny from 0.0.0.0

 allow from all
</Limit>

please help me

subzero Super moderator Fellow · 3,954 posts #5

deny from 0.0.0.0 <-- banned all users ip

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

shakil420 Developer · 125 posts #6

Pls help me sub0

I cant use it

I change ban to 127.0.0.1

subzero Super moderator Fellow · 3,954 posts #7
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^(.*)\.420$ $1.php [NC]

Ok this newer i tryed it worked

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

shakil420 Developer · 125 posts #8

subzero bro still not working on my lavalair script infact when i RewriteEngine on it show error pls bro help me

something else Fellow · 2,296 posts #9

some hosts although they have mod rewrite they dont allow all functions try:

RewriteEngine On
RewriteRule (.*).420 $1.php [L]
subzero Super moderator Fellow · 3,954 posts #10

Ok i now know your problem.

Your host does not allow RewriteEngine

Try this

php.ini <-- file name

[PHP]

LoadModule rewrite_module modules/mod_rewrite.so

Still no luck in loading mod rewrite then get a better hosting services then free ones are crap.

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

shakil420 Developer · 125 posts #11

subzero and something else bro thank u very very much for response me....bro i run my script in local host when i apply urs method it shows

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Apache/1.3.33 Server at 127.0.0.1 Port 80

i use lavalair wml vertion here is my full .htaccess

php_value date.timezone Europe/Dublin
php_flag register_globals on

......thank u bro if u kindly want to help me pls reply soon

subzero Super moderator Fellow · 3,954 posts #12

What App you run ?

software i mean .

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

subzero Super moderator Fellow · 3,954 posts #14

delete that and install netserver

then goto config in netserver look for mod_rewrite then remove ; in addtype

then your server is up and also u can add zend to your server with no problems !!

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close