Sponsored Content
Full Discussion: <? phpinfo(); ?>
Top Forums UNIX for Dummies Questions & Answers <? phpinfo(); ?> Post 6553 by PxT on Thursday 6th of September 2001 06:39:37 PM
Old 09-06-2001
Make sure nobody changed your apache config file. You should have a line like:

AddType application/x-httpd-php .php4 .php3 .phtml .php


in there somewhere, or something similar. This is how the server knows that the .php files should be processed before being served.
 
MSSQL_GET_LAST_MESSAGE(3)												 MSSQL_GET_LAST_MESSAGE(3)

mssql_get_last_message - Returns the last message from the server

SYNOPSIS
string mssql_get_last_message (void ) DESCRIPTION
Gets the last message from the MS-SQL server PARAMETERS
This function has no parameters. RETURN VALUES
Returns last error message from server, or an empty string if no error messages are returned from MSSQL. EXAMPLES
Example #1 mssql_get_last_message(3) example <?php // Connect to MSSQL and select the database mssql_connect('KALLESPCSQLEXPRESS', 'sa', 'phpfi'); mssql_select_db('php'); // Make a query that will fail $query = @mssql_query('SELECT * FROM [php].[dbo].[not-found]'); if (!$query) { // The query has failed, print a nice error message // using mssql_get_last_message() die('MSSQL error: ' . mssql_get_last_message()); } ?> The above example will output something similar to: MSSQL error: Invalid object name 'php.dbo.not-found'. SEE ALSO
mssql_min_error_severity(3), mssql_min_message_severity(3). PHP Documentation Group MSSQL_GET_LAST_MESSAGE(3)
All times are GMT -4. The time now is 02:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy