php - Not able to receive 3rd param from a website at localhost


Following error is shown on the browser -

PHP notice

Undefined index: param3 

Using firebug, found the following error -

"NetworkError: 500 Internal Server Error - http://localhost/app1/index.php?r=module/controller/action&param1=valueOFparam1&param2=valueOFparam2"

I am accessing 3rd param using

$param3= $_REQUEST["param3"];
in the controller. The website from which I am getting this URL sends three parameters in the URL but I am receiving only two at localhost.

Do I need to change anything in php.ini or anyhwhere else. I am using XAMPP server on Windows 7.

Please help me fix this problem.




As the firebug shown in your URL the 3rd parameter is not set! You should look for the source where redirect or forward to your current url and see why the param3 is not set?


People are also looking for solutions to the problem: php - How to insert shopping cart date into database?


Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.