I'm new to PHP and having issues. We have seperate servers for them. We
can use ODBC to test the connection and it works fine. However, when we try
to run the site we get a message of *** Error: Unable to Connect to
Database. Please Try Again Later. ***
We are using a custom app that we are
System commands are supposed to output errors on STERR, not on STOUT, php's
system commands only grab STOUT so if there's an error you'll get no output..
You need to redirect STERR to STOUT when you issue the command..
Just put this at the end of your command:
2>&1
Don't know if that's the i
I ran it as the apache user and it worked fine (from the command line).
I do notice that when I run a system command using the exec or system
functions, I get nothing back on some of the commands (primarily
traceroute and ping). Others do work (whoami)
Robbert
Micah Stevens <[EMAIL PROTECTED
I have the freetds installed and am able to communicate with MSSQL, but
only when i run the script from the command line. When I run it from a
webbrowser, it fails.
Robbert
Joseph Crawford <[EMAIL PROTECTED]> wrote on 11/02/2005, 08:00:43 PM:
> I attempted this a while back for a client who use
Run it from the command line as the apache user. See if that makes a
difference. I'd guess not though.
Apache's php module doesn't really put any restrictions that I know of on the
scripting.. that's a strange effect..
On Wednesday 02 November 2005 10:54 am, [EMAIL PROTECTED] wrote:
> I origi
I originally posted this to the general discussion but wanted to see if
anyone on this list had an idea. The issue is trying to connect to the
MSSQL with PHP from a linux box (Fedora Core 4 in this instance)
> An interesting development. I found some reference to running my PHP
> script from th
ersistent connection are "On"
odbc_close( $cnx);
}
?>
--glm
-Original Message-
From: DragonEye WebDesign [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 31, 2003 4:08 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] PHP and MSSQL
h
hi,
I have been learning PHP and MySQL from a book that I have bought. I am
really pleased with the way these 2 systems work, but I was wondering if
MSSQL wouldn't be easier to use, more specifically I was wondering wether I
could make an Access Database and connect it to my php website using MSSQ
Hello all:
Just have been tasked to port an app created on
(linux)php/mysql/apache to run (on Win2K)
php/mssql/apache.
Any links with info on setting up mssql to work with
php and apache (all on win2k) appreciated!
Luis
__
Do You Yahoo!?
Find the
w.com
Universal Data Access & Data Integration Technology Providers
> -Original Message-
> From: hausii [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 19, 2001 3:52 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-DB] php and mssql 8
>
>
> is it possible to esta
is it possible to establish a connaction with php 4.0.4 to mssql server vers
8 ???
i've tried it serveral times but php alway crashes with the php_mssql70.dll
extension - and the modul php_mssql from the 4.0.6 release doesn't work with
php 4.04
is it there an other extension out there
thanx
cu
11 matches
Mail list logo