Actually am working in existing project which is developed
in .net, am converting the .net into php code. am facing
problem after uploading the .php in server. amgetting the
error message like "The page cannot be found" but its
working perfectly in local host

Answers were Sorted based on User's Feedback



Actually am working in existing project which is developed in .net, am converting the .net into php..

Answer / karthik

Check the path for the files in server.

Is This Answer Correct ?    2 Yes 0 No

Actually am working in existing project which is developed in .net, am converting the .net into php..

Answer / dev

u have to check the .htaccess file there...!

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More PHP Interview Questions

What is the difference between core php and php?

1 Answers  


How is csrf token generated?

1 Answers  


<?php /** * @version 1.0 $ * @package HelloWorld * @copyright (C) 2005 Andrew Eddie * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL */ /** ensure this file is being included by a parent file */ defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); ?> <?php $database =& JFactory::getDBO(); //$sql = 'SELECT name, username FROM #__users'; $sql="select a.id, a.title, a.introtext, a.created_by, a.created from jos_content a, jos_content_frontpage b where a.id=b.content_id and b.ordering='2'"; $database->setQuery( $sql ); $user = NULL; $user = $database->loadObject(); //echo 'Name: ' . $user->name . '<br />'; echo '<h1>' . $user->title . '</h1><br />'; //echo 'Username: ' . $user->username; echo ' ' . $user->introtext; i write this and fetch the result from the database the result is The Intranet is up and working ! Our intranet is up and working and should be accessible from both Mumbai and NOIDA. As you will notice, this template, look & feel is not in line with our corporate indentity but we chose the route of "form-follows-funtion" In the first phase, we are rolling out functionality that is critical to all of us - Policies and How-to documents. In subsequent phases, we will be launching other features. Keep watching this space for more details i want to see only 4 line of top then how this may done

0 Answers   Infovision,


What is the purpose of constant() function?

1 Answers  


How can we access the data sent through the url with the get method?

1 Answers  


Do you know what does $globals means?

1 Answers  


Do you know how can we check the value of a given variable is a number?

1 Answers  


What's the difference between __sleep and __wakeup?

1 Answers  


What is final keyword in php?

1 Answers  


Is php easy language to learn?

1 Answers  


Explain php split() function.

1 Answers  


How can we display the output directly to the browser?

1 Answers  


Categories