.httaccess

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Alexia
Forum Newbie
Posts: 18
Joined: Fri Dec 05, 2003 6:25 pm

.httaccess

Post by Alexia »

Can you get .html files scanned by PHP by using a .httaccess file ?
Gen-ik
DevNet Resident
Posts: 1059
Joined: Mon Aug 12, 2002 7:08 pm
Location: London. UK.

Post by Gen-ik »

It depends what you mean really. Do you want to use PHP to look through an HTML file ?
Alexia
Forum Newbie
Posts: 18
Joined: Fri Dec 05, 2003 6:25 pm

Post by Alexia »

I want the PHP interpreter to scan .html files like it scans .php files for php code.
Gen-ik
DevNet Resident
Posts: 1059
Joined: Mon Aug 12, 2002 7:08 pm
Location: London. UK.

Post by Gen-ik »

What's the PHP Interpreter?
Alexia
Forum Newbie
Posts: 18
Joined: Fri Dec 05, 2003 6:25 pm

Post by Alexia »

huh, what do you mean? lol
Gen-ik
DevNet Resident
Posts: 1059
Joined: Mon Aug 12, 2002 7:08 pm
Location: London. UK.

Post by Gen-ik »

DOH! I see what you mean now.... you want .html files to act in the same way as PHP files do... basically PHP files but with a .html extension.

Is that correct?
User avatar
DuFF
Forum Contributor
Posts: 495
Joined: Tue Jun 24, 2003 7:49 pm
Location: USA

Post by DuFF »

Alexia
Forum Newbie
Posts: 18
Joined: Fri Dec 05, 2003 6:25 pm

Post by Alexia »

Thanks that did the trick.
Post Reply