php-windows Digest 27 Feb 2004 07:40:18 -0000 Issue 2140
Topics (messages 22996 through 22999):
Re: Connecting to MSSQL Server
22996 by: Gerardo Rojas
NEWBIE - Installing php on MySQL
22997 by: James Thomas \(Newbie\)
multilanguage solutions
22998 by: Donatas
Session not working
22999 by: Sudeep Sarath
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Oh, checked the code, yes I am using mssql_pconnect(). I should probably use
mssql_connect(). I only run this script ocassionally and once it is done, I don't
need the connection to stay up. Thanks to all who responded!
--
Gerardo S. Rojas
mailto: [EMAIL PROTECTED]
-----Original Message-----
From: Justin Patrin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 25, 2004 5:34 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Re: Connecting to MSSQL Server
Gerardo Rojas wrote:
> I am able to connect to my MSSQL server and do whatever i need to do. The problem
> lies in that when I close the connection and the script terminates normally. I do a
> 'netstat' on my machine i see that i still have a socket connection to all my
> databases. Isn't the mssql_close() function supposed to close the connection?
>
>
>
> ENV:
> Windows 2000
> PHP 4.3.3
> MS SQL SERVER 2000
>
> --
> Gerardo S. Rojas
> mailto: [EMAIL PROTECTED]
Are you using mssql_connect or mssql_pconnect? If you're using pconnect,
the connection is supposed to stay (that's the point of a persistent
connection).
--
paperCrane <Justin Patrin>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Hi there all,
I have managed to get php to run on Apache server on one pc but I have spent
5 Days now trying to install it on another.
I have tried so many different ways and variable of install it and still
know joy.
Can anyone provide an 'Idiot's Installation Guide' (Not that I wish to
install any more idiots!,:P )
I am using XP and am trying to install the apache SAPI.
Please can anyone save what little hair I have left.
Cheers
Jim
--- End Message ---
--- Begin Message ---
Hey,
I have this question here... has anyone heard of any project to help
make a multilanguage website? Lets say all 'static' strings are stored
in a database and managed through some webinterface? And then when you
want to add new language the your website you do it through the same
interface. Or something alike.
Actually I've done something similar and now wondering if there are any
other projects to compare to.
/Donny
--- End Message ---
--- Begin Message ---
Hello everyone,
I recently installed Apache 1.3.9 server and php 4.3.4(from win32 zip package) on my
system with Windows98SE as o/s. I configured the httpd.conf and php.ini as per the
instructions on the install.txt file of php. First i got an error with regard to the
path of session.save_path. I changed /tmp to c:/program files/Apache group/Apache/tmp
and the error was gone and it worked perfectly. But when i use a script like this:-
test1.php
<?php
session_start();
$_session["value"]="Good Morning";
header('location: http://localhost/test2.php');
?>
test2.php
<?php
session_start();
$check=$_session["value"];
echo $check;
?>
Insted of getting "Good Morning" displayed on the test2.php page, i get a blank page.
But i see that a file is being created with a lengthy name in the session.save_path
directory with 0 byte size.
I must also add here that session_register is working fine. But what is happening with
$_session when i use header-location- i don't know. Please anyone help. I am trying to
fix this for the last 5 days. I am also getting a warning from the apache console
window that "warn[2] No such file or directory exists, exec() may not be safe. apache
on win32 is running.......". But apache is working fine in http://localhost.
......SuDeEp......
Yahoo! India Insurance Special: Be informed on the best policies, services, tools and
more.
--- End Message ---