Jump to content

PHP and type of link


soucer2k6

Recommended Posts

I have a problem when I test a site in local

 

This site have a link in the form: www.mysite.com/index.php/another_file/function_name/funct_param

 

where:

another_file    =  is a php file that it wants to be execute

function_name =  is a function present in the "another_file"

funct_param    =  is a parameter for the "function_name"

 

The problem is when I test to navigate the site in local, this type of link NON function (the "another_file" is not execute and comes execute the index.php file). WHY? 

I suppose that the PHP or Apache configuration in NOT correct.

I have enable PATH_INFO in PHP but his value ( $_SERVER['PATH_INFO'] )  is null. WHY?

 

Enyone can help me?

 

thank you.

Link to comment
https://forums.phpfreaks.com/topic/54559-php-and-type-of-link/
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.