Hello!
I have installed MySQL and PHP on windows 2000. Everything is working exept
from som mysql stuff.
When i try to use the mysql_fetch_array() function in a PHP script it
doesn't support it! It supports mysql_connect() and mysql_close().
Do I have to install some new PHP extensions or what
I recently had the same problem. I found my solution here
http://phpbuilder.com/columns/ying2718.php3?page=1
download and unzip ying2718.zip
You include outputlib.php at the beginning of your php program and wrap
$message
like this
print_output($message)
it works great!!
Debra Samso
Ben,
When you receive it, try using the nl2br function in PHP. See the manual.
-Flint
-Original Message-
From: Ben Gillam [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 21, 2001 8:52 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Get the contents of the textarea "as is"
For example, if
Ziggi,
Even if you get it to work, which is hard, the module isn't stable anyhow
which might explain the behavior you are experiencing. The ISAPI module is
not stable on Windows.
-Flint
-Original Message-
From: Ziggi [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 21, 2001 8:47 AM
To: [
Hi there.
I'm running IIS version 4.0 and PHP verion 4.0 under WinNT 4.0. I am
attempting to use the php_pgsql.dll extention library. This file is located
in the same directory as all the other php_*.dll files, and the
extention=php_pgsql.dll line in php.ini has been un-commented. When I load
Frank-
Thanks for the thoughts. The db Server is not on the same machine as the
web server.
They are connecting via tcp/ip. I used the IP address to rule out DNS
trouble.
One interesting note. For fun I downloaded Apache for Win32, installed it
and the php
modules in it. Used the same exa
Hi Scott,
This could be an networking issue.
Is the SQL server and the Web server on the same computer ?
Are you using tcp/ip or netbeui to communicate from web server (php) to the database
server ?
If web and database is on the same platform I would recommend using netbeui and
connect to a
Hi,
I have a tricky situation. I had PHP4.05, MySQL 3.23.38 installed on Win2000
pro using IIS5.0.
But then I wanted to use the portal program phpWebsite, unfortunately this
uses the crypt() function which was not compiled in PHP 4.05 (win32).
Therefore I installed PHP 4.07 CGI (dev) with crypt(
Hi,
I have a tricky situation. I had PHP4.05, MySQL 3.23.38 installed on Win2000
pro using IIS5.0.
But then I wanted to use the portal program phpWebsite, unfortunately this
uses the crypt() function which was not compiled in PHP 4.05 (win32).
Therefore I installed PHP 4.07 CGI (dev) with crypt(
I am using IIS5/win2k/php4 and any php page, even "hello world" won't stop
running. Any ideas?
Also, I need to find out how to call a function from a submit onClick event.
My script looks like
and call to function is:
Thanks,
Andrew
--
PHP Windows Mailing List (http://www.php.net/)
To u
For example, if someone puts the following into a textbox..
"Hi my name is bob smith
and im talking to you now
and hitting enter every now and then"
and the name of the textbox is $message
how could i get it to take the contents of the text box and put it in
$message as is, with blank lines a
Hi !
I am brand new in PHP and I have just managed to setup PHP4 on my Win2000
machine. The hyperprocessor is working fine but for whatever reason I was
unable to have php4isapi.dll sucessfully loaded as ISAPI filter (the
Internet Services Manager shows red arrow and "not loaded" message under
IS
php-windows Digest 21 Jun 2001 15:01:33 - Issue 621
Topics (messages 7960 through 7966):
Re: diference between date
7960 by: Ruslan Ohitin
7965 by: Michel Laine
Re: Problem starting session
7961 by: Ruslan Ohitin
7962 by: ADSL Online.Net
7963 by: Nol
Hi-
I have a Microsoft SQL 2000 server that I am running a simple query
from. It is
taking up to a minute to call. Running IIS 5.0, IE 5.5.
Any thoughts? I checked the following:
1-A similar ASP script is fine.
2-I can ping the server
3-In MS Query analyzer it takes milliseconds to finish
Danilo Meles wrote:
> Hi there;
>
> How could I get the diference between two dates
> for exemplo:
> 07-05-2001 and 06-05-2001 I wil get this date from my sql.
> How could I do that??
> Thank you very much.
>
> Danilo Meles
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe,
Hello,
I tried to use BCC in may mail() but it doesn't work.
Server is Win2k
Also CC has problems ...
If I send to:
To: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Then
if I download my mails, I can see:
CC: [EMAIL PROTECTED]
but the CC is not delivered (also on valid email address..)
-
Disclaimer: The information contained in this email is intended only for the
use of the person(s) to whom it is addressed and may be confidential or
contain legally privileged information. If you are no
Ben,
The solution is to change the path of the variable "session_data" in your
php.ini file. Standard this path is set to /tmp which does not work.
Copy your session_data directory to e:/inetpub and point the session_data
variable in php.ini to that path.
regards,
Marnix
> I am getting the fol
Hello Ben,
You must specify path to store session data in php.ini:
session.save_path = /path/to/store/session/data
(/tmp by default)
php must have write permissions on this dir.
--
Best regards,
Ruslan Ohitin
[EMAIL PROTECTED]
BE> I am getting the following on a Windows 2000 Professional i
Hello Danilo,
Try to use this:
$d1 = strtotime("07-05-2001"); // $d1 and $d2 are unix timestamps.
$d2 = strtotime("06-05-2001");
$diff_sec = $d2 - $d1; //difference in seconds.
$diff_days = $diff_sec / (60 * 60 * 24); // difference in days
--
Best regards,
Ruslan Ohitin
mailto:[EMAIL
does the directory c:\tmp exist?
check php.ini for how to configure the directory temporary session information
is kept
this is all in the online manual by the way - http://www.php.net/manual
> I am getting the following on a Windows 2000 Professional installation when
> I try to start a sessio
php-windows Digest 21 Jun 2001 02:48:45 - Issue 620
Topics (messages 7956 through 7959):
recode DLL, anyone?
7956 by: Marecandja
diference between date
7957 by: Danilo Meles
Problem starting session
7958 by: Ben Edwards
7959 by: Jason Brooke
Administrivia:
22 matches
Mail list logo