Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.