Jump to content

[SOLVED] PHP File Name


ilikemath2002

Recommended Posts

Hi, I want to include a script into another script, however; I do not want the script to load directly(and if tried, die;)

 

How can I do this.

 

for example, the file name is example.php

<?php
include(example1.php);
blablabla
?>

 

but I don't want this to be accessed like http://site.com/example1.php only http://site.com/example.php

Link to comment
https://forums.phpfreaks.com/topic/142437-solved-php-file-name/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.