location.hrefs not being populated in IE url
I created a web app using PHP 5.0.4, MySQL 5.0.22, and Apache 1.3.3. In most cases, I use SESSION & POST vars, but in the case where the user selects a dynamic link, I use location.href and pass to the PHP processing page, the id's corresponding to which link the user selects. These dynamic id's show in the URL and I extract them in the PHP processing page using GET. This all works fine with no errors in my Windows env. But I am trying to put the source code on a Hosting company's site which is using a Linux Server, and none of the hrefs are being populated. I have tried modifying the php.ini file, but to no avail. The hosting company says I need to create my own php.ini file and place it in my root directory of the site. User Authentication using PHP & MySQL in the Linux env is working fine. It's just the hrefs that are not showing in the URL of the IE Browser. This happens in all cases where I am using hrefs. Following is: 1-PHP Code that contains the dynamic link that the user selects 2-JavaScript that defines the href 3-URL showing the href value in the IE browser in my Windows dev env(as a result of clicking on the link). Note that I return false from this function which causes the href in the calling statement not to be used, and the href defined in the JavaScript to be used 4-URL not showing the href value in the IE browser in the Linux env(as a result of clicking on the link) 5-php.ini file in the Linux env
1-PHP Code echo "<font color='brown'><ul type='square'><li><b><font color='blue'> <a name='".$current_service_request_id."' sr='".$num_rows_service_requests."' href='consulting_sr_form_edit.php' target='_top' onclick='return set_consulting_sr_session_vars(this)';><u>".$row['service_request_id']."</u></a> </b><font color='brown'> - ".$row['service_request_status']." - ".$row['client_requisition_id']." - ".$row['job_title']." - 2-JavaScript <script> function set_consulting_sr_session_vars(current_link) { var current_sr = current_link.name; location.href="./consulting_sr_view.php?current_sr=" + current_sr; return false; } </script> 3-URL showing the href value in the IE browser in the Windows env(as a result of clicking on the link) http://localhost/pages4/consulting_s...?current_sr=47 4-URL not showing the href value in the IE browser in the Linux env (as a result of clicking on the link) 5-php.ini file in the Linux env[PHP] Note: I cannot post this because it causes the number of characters to exceed the limit allowed in the thread. |
4-URL not showing the href value in the IE browser in the Linux env
(as a result of clicking on the link) http://<ip_address>/~qatestne/pages4/consulting_sr_form_edit.php |
All times are GMT -5. The time now is 11:39 AM. |