473,245 Members | 1,801 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,245 software developers and data experts.

Fatal error: Call to undefined function mysql_connect()

Here is the output from phpinfo() on my laptop running windows vista.
As you can see mysql is mentioned several times in the output. I'm
not sure why i get this error. Php scripts that i save in the htdocs
folder seem to work as long as mysql is not called. Any ideas?
Thanks

System Windows NT ELMEU 6.0 build 6001
Build Date May 2 2008 18:01:20

Configure Command cscript /nologo configure.js "--enable-snapshot-
build" "--with-gd=shared" "--with-extra-includes=C:\Program Files
(x86)\Microsoft SDK\Include;C:\PROGRA~2\MICROS~2\VC98\ATL\INCLUDE; C:
\PROGRA~2\MICROS~2\VC98\INCLUDE;C:\PROGRA~2\MICROS ~2\VC98\MFC\INCLUDE"
"--with-extra-libs=C:\Program Files (x86)\Microsoft SDK\Lib;C:
\PROGRA~2\MICROS~2\VC98\LIB;C:\PROGRA~2\MICROS~2\V C98\MFC\LIB"
Server API Apache 2.0 Handler
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\Windows
Loaded Configuration File C:\php\php.ini
PHP API 20041225
PHP Extension 20060613

Apache Version Apache/2.2.9 (Win32) PHP/5.2.6
Apache API Version 20051115
Server Administrator ad***@hsd1.state.comcast.net
Hostname:Port 127.0.0.1:0
Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 300 - Keep-Alive: 5
Virtual Server No
Server Root C:/Program Files/Apache Software Foundation/Apache2.2
Loaded Modules core mod_win32 mpm_winnt http_core mod_so mod_actions
mod_alias mod_asis mod_auth_basic mod_authn_default mod_authn_file
mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user
mod_autoindex mod_cgi mod_dir mod_env mod_include mod_isapi
mod_log_config mod_mime mod_negotiation mod_setenvif mod_php5

PHP_SELF /test.php
_SERVER["HTTP_HOST"] 127.0.0.1
_SERVER["HTTP_USER_AGENT"] Mozilla/5.0 (Windows; U; Windows NT 6.0; en-
US; rv:1.9) Gecko/2008052906 Firefox/3.0
_SERVER["HTTP_ACCEPT"] text/html,application/xhtml+xml,application/
xml;q=0.9,*/*;q=0.8
_SERVER["HTTP_ACCEPT_LANGUAGE"] en-us,en;q=0.5
_SERVER["HTTP_ACCEPT_ENCODING"] gzip,deflate
_SERVER["HTTP_ACCEPT_CHARSET"] ISO-8859-1,utf-8;q=0.7,*;q=0.7
_SERVER["HTTP_KEEP_ALIVE"] 300
_SERVER["HTTP_CONNECTION"] keep-alive
_SERVER["PATH"] C:\Windows\system32;C:\Windows;C:\Windows
\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:
\Acer\Empowering Technology\eDataSecurity\;C:\Acer\Empowering
Technology\eDataSecurity\x86;C:\Acer\Empowering Technology
\eDataSecurity\x64;C:\Program Files\MySQL\MySQL Server 5.0\bin
_SERVER["SystemRoot"] C:\Windows
_SERVER["COMSPEC"] C:\Windows\system32\cmd.exe
_SERVER["PATHEXT"] .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;. MSC
_SERVER["WINDIR"] C:\Windows
_SERVER["SERVER_SIGNATURE"] no value
_SERVER["SERVER_SOFTWARE"] Apache/2.2.9 (Win32) PHP/5.2.6
_SERVER["SERVER_NAME"] 127.0.0.1
_SERVER["SERVER_ADDR"] 127.0.0.1
_SERVER["SERVER_PORT"] 80
_SERVER["REMOTE_ADDR"] 127.0.0.1
_SERVER["DOCUMENT_ROOT"] C:/Program Files/Apache Software Foundation/
Apache2.2/htdocs
_SERVER["SERVER_ADMIN"] ad***@hsd1.state.comcast.net
_SERVER["SCRIPT_FILENAME"] C:/Program Files/Apache Software Foundation/
Apache2.2/htdocs/test.php
_SERVER["REMOTE_PORT"] 49894
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["REQUEST_METHOD"] GET
_SERVER["QUERY_STRING"] no value
_SERVER["REQUEST_URI"] /test.php
_SERVER["SCRIPT_NAME"] /test.php
_SERVER["PHP_SELF"] /test.php
_SERVER["REQUEST_TIME"] 1215467590

Jul 7 '08 #1
5 4349
cg*******@hotmail.com wrote:
Here is the output from phpinfo() on my laptop running windows vista.
As you can see mysql is mentioned several times in the output. I'm
not sure why i get this error. Php scripts that i save in the htdocs
folder seem to work as long as mysql is not called. Any ideas?
Thanks

System Windows NT ELMEU 6.0 build 6001
Build Date May 2 2008 18:01:20

Configure Command cscript /nologo configure.js "--enable-snapshot-
build" "--with-gd=shared" "--with-extra-includes=C:\Program Files
(x86)\Microsoft SDK\Include;C:\PROGRA~2\MICROS~2\VC98\ATL\INCLUDE; C:
\PROGRA~2\MICROS~2\VC98\INCLUDE;C:\PROGRA~2\MICROS ~2\VC98\MFC\INCLUDE"
"--with-extra-libs=C:\Program Files (x86)\Microsoft SDK\Lib;C:
\PROGRA~2\MICROS~2\VC98\LIB;C:\PROGRA~2\MICROS~2\V C98\MFC\LIB"
Server API Apache 2.0 Handler
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\Windows
Loaded Configuration File C:\php\php.ini
PHP API 20041225
PHP Extension 20060613

Apache Version Apache/2.2.9 (Win32) PHP/5.2.6
Apache API Version 20051115
Server Administrator ad***@hsd1.state.comcast.net
Hostname:Port 127.0.0.1:0
Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 300 - Keep-Alive: 5
Virtual Server No
Server Root C:/Program Files/Apache Software Foundation/Apache2.2
Loaded Modules core mod_win32 mpm_winnt http_core mod_so mod_actions
mod_alias mod_asis mod_auth_basic mod_authn_default mod_authn_file
mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user
mod_autoindex mod_cgi mod_dir mod_env mod_include mod_isapi
mod_log_config mod_mime mod_negotiation mod_setenvif mod_php5

PHP_SELF /test.php
_SERVER["HTTP_HOST"] 127.0.0.1
_SERVER["HTTP_USER_AGENT"] Mozilla/5.0 (Windows; U; Windows NT 6.0; en-
US; rv:1.9) Gecko/2008052906 Firefox/3.0
_SERVER["HTTP_ACCEPT"] text/html,application/xhtml+xml,application/
xml;q=0.9,*/*;q=0.8
_SERVER["HTTP_ACCEPT_LANGUAGE"] en-us,en;q=0.5
_SERVER["HTTP_ACCEPT_ENCODING"] gzip,deflate
_SERVER["HTTP_ACCEPT_CHARSET"] ISO-8859-1,utf-8;q=0.7,*;q=0.7
_SERVER["HTTP_KEEP_ALIVE"] 300
_SERVER["HTTP_CONNECTION"] keep-alive
_SERVER["PATH"] C:\Windows\system32;C:\Windows;C:\Windows
\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:
\Acer\Empowering Technology\eDataSecurity\;C:\Acer\Empowering
Technology\eDataSecurity\x86;C:\Acer\Empowering Technology
\eDataSecurity\x64;C:\Program Files\MySQL\MySQL Server 5.0\bin
_SERVER["SystemRoot"] C:\Windows
_SERVER["COMSPEC"] C:\Windows\system32\cmd.exe
_SERVER["PATHEXT"] .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;. MSC
_SERVER["WINDIR"] C:\Windows
_SERVER["SERVER_SIGNATURE"] no value
_SERVER["SERVER_SOFTWARE"] Apache/2.2.9 (Win32) PHP/5.2.6
_SERVER["SERVER_NAME"] 127.0.0.1
_SERVER["SERVER_ADDR"] 127.0.0.1
_SERVER["SERVER_PORT"] 80
_SERVER["REMOTE_ADDR"] 127.0.0.1
_SERVER["DOCUMENT_ROOT"] C:/Program Files/Apache Software Foundation/
Apache2.2/htdocs
_SERVER["SERVER_ADMIN"] ad***@hsd1.state.comcast.net
_SERVER["SCRIPT_FILENAME"] C:/Program Files/Apache Software Foundation/
Apache2.2/htdocs/test.php
_SERVER["REMOTE_PORT"] 49894
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["REQUEST_METHOD"] GET
_SERVER["QUERY_STRING"] no value
_SERVER["REQUEST_URI"] /test.php
_SERVER["SCRIPT_NAME"] /test.php
_SERVER["PHP_SELF"] /test.php
_SERVER["REQUEST_TIME"] 1215467590

You don't have the MySQL extension loaded. Either it's not being loaded
in your php.ini file, or if it is, the MySQL client libraries are not
available when the PHP code is loaded.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================

Jul 8 '08 #2
On Jul 7, 5:02*pm, cgloba...@hotmail.com wrote:
Here is the output from phpinfo() on my laptop running windows vista.
As you can see mysql is mentioned several times in the output. *I'm
not sure why i get this error. *Php scripts that i save in the htdocs
folder seem to work as long as mysql is not called. *Any ideas?
Thanks

System *Windows NT ELMEU 6.0 build 6001
Build Date * * *May 2 2008 18:01:20

Configure Command * * * cscript /nologo configure.js "--enable-snapshot-
build" "--with-gd=shared" "--with-extra-includes=C:\Program Files
(x86)\Microsoft SDK\Include;C:\PROGRA~2\MICROS~2\VC98\ATL\INCLUDE; C:
\PROGRA~2\MICROS~2\VC98\INCLUDE;C:\PROGRA~2\MICROS ~2\VC98\MFC\INCLUDE"
"--with-extra-libs=C:\Program Files (x86)\Microsoft SDK\Lib;C:
\PROGRA~2\MICROS~2\VC98\LIB;C:\PROGRA~2\MICROS~2\V C98\MFC\LIB"
Server API * * *Apache 2.0 Handler
Virtual Directory Support * * * enabled
Configuration File (php.ini) Path * * * C:\Windows
Loaded Configuration File * * * C:\php\php.ini
PHP API * * * * 20041225
PHP Extension * 20060613

Apache Version *Apache/2.2.9 (Win32) PHP/5.2.6
Apache API Version * * *20051115
Server Administrator * *ad...@hsd1.state.comcast.net
Hostname:Port * 127.0.0.1:0
Max Requests * *Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts * * * *Connection: 300 - Keep-Alive: 5
Virtual Server *No
Server Root * * C:/Program Files/Apache Software Foundation/Apache2.2
Loaded Modules *core mod_win32 mpm_winnt http_core mod_so mod_actions
mod_alias mod_asis mod_auth_basic mod_authn_default mod_authn_file
mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user
mod_autoindex mod_cgi mod_dir mod_env mod_include mod_isapi
mod_log_config mod_mime mod_negotiation mod_setenvif mod_php5

PHP_SELF * * * */test.php
_SERVER["HTTP_HOST"] *127.0.0.1
_SERVER["HTTP_USER_AGENT"] * *Mozilla/5.0 (Windows; U; Windows NT 6.0; en-
US; rv:1.9) Gecko/2008052906 Firefox/3.0
_SERVER["HTTP_ACCEPT"] * * * *text/html,application/xhtml+xml,application/
xml;q=0.9,*/*;q=0.8
_SERVER["HTTP_ACCEPT_LANGUAGE"] * * * en-us,en;q=0.5
_SERVER["HTTP_ACCEPT_ENCODING"] * * * gzip,deflate
_SERVER["HTTP_ACCEPT_CHARSET"] * * * *ISO-8859-1,utf-8;q=0.7,*;q=0.7
_SERVER["HTTP_KEEP_ALIVE"] * *300
_SERVER["HTTP_CONNECTION"] * *keep-alive
_SERVER["PATH"] * * * C:\Windows\system32;C:\Windows;C:\Windows
\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:
\Acer\Empowering Technology\eDataSecurity\;C:\Acer\Empowering
Technology\eDataSecurity\x86;C:\Acer\Empowering Technology
\eDataSecurity\x64;C:\Program Files\MySQL\MySQL Server 5.0\bin
_SERVER["SystemRoot"] C:\Windows
_SERVER["COMSPEC"] * *C:\Windows\system32\cmd.exe
_SERVER["PATHEXT"] * *.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH; .MSC
_SERVER["WINDIR"] * * C:\Windows
_SERVER["SERVER_SIGNATURE"] * no value
_SERVER["SERVER_SOFTWARE"] * *Apache/2.2.9 (Win32) PHP/5.2.6
_SERVER["SERVER_NAME"] * * * *127.0.0.1
_SERVER["SERVER_ADDR"] * * * *127.0.0.1
_SERVER["SERVER_PORT"] * * * *80
_SERVER["REMOTE_ADDR"] * * * *127.0.0.1
_SERVER["DOCUMENT_ROOT"] * * *C:/Program Files/Apache Software Foundation/
Apache2.2/htdocs
_SERVER["SERVER_ADMIN"] * * * ad...@hsd1.state.comcast.net
_SERVER["SCRIPT_FILENAME"] * *C:/Program Files/Apache Software Foundation/
Apache2.2/htdocs/test.php
_SERVER["REMOTE_PORT"] * * * *49894
_SERVER["GATEWAY_INTERFACE"] *CGI/1.1
_SERVER["SERVER_PROTOCOL"] * *HTTP/1.1
_SERVER["REQUEST_METHOD"] * * GET
_SERVER["QUERY_STRING"] * * * no value
_SERVER["REQUEST_URI"] * * * */test.php
_SERVER["SCRIPT_NAME"] * * * */test.php
_SERVER["PHP_SELF"] * /test.php
_SERVER["REQUEST_TIME"] * * * 1215467590
It looks as though you have the mysql directory in your include path,
but you do not have the mysql extension for PHP installed. Check this
link out for all the info you need to get it setup:

http://us3.php.net/manual/en/mysql.installation.php

Hopefully the fact that you're running Vista won't cause you any
additional complications, as I understand that new OS has caused all
kinds of software anomalies.
Jul 8 '08 #3
Hi,

Try commenting out this line in c:\php\php.ini and restarting:

extension=php_mysql.dll

On Jul 7, 6:02 pm, cgloba...@hotmail.com wrote:
Here is the output from phpinfo() on my laptop running windows vista.
As you can see mysql is mentioned several times in the output. I'm
not sure why i get this error. Php scripts that i save in the htdocs
folder seem to work as long as mysql is not called. Any ideas?
Thanks

System Windows NT ELMEU 6.0 build 6001
Build Date May 2 2008 18:01:20

Configure Command cscript /nologo configure.js "--enable-snapshot-
build" "--with-gd=shared" "--with-extra-includes=C:\Program Files
(x86)\Microsoft SDK\Include;C:\PROGRA~2\MICROS~2\VC98\ATL\INCLUDE; C:
\PROGRA~2\MICROS~2\VC98\INCLUDE;C:\PROGRA~2\MICROS ~2\VC98\MFC\INCLUDE"
"--with-extra-libs=C:\Program Files (x86)\Microsoft SDK\Lib;C:
\PROGRA~2\MICROS~2\VC98\LIB;C:\PROGRA~2\MICROS~2\V C98\MFC\LIB"
Server API Apache 2.0 Handler
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\Windows
Loaded Configuration File C:\php\php.ini
PHP API 20041225
PHP Extension 20060613

Apache Version Apache/2.2.9 (Win32) PHP/5.2.6
Apache API Version 20051115
Server Administrator ad...@hsd1.state.comcast.net
Hostname:Port 127.0.0.1:0
Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 300 - Keep-Alive: 5
Virtual Server No
Server Root C:/Program Files/Apache Software Foundation/Apache2.2
Loaded Modules core mod_win32 mpm_winnt http_core mod_so mod_actions
mod_alias mod_asis mod_auth_basic mod_authn_default mod_authn_file
mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user
mod_autoindex mod_cgi mod_dir mod_env mod_include mod_isapi
mod_log_config mod_mime mod_negotiation mod_setenvif mod_php5

PHP_SELF /test.php
_SERVER["HTTP_HOST"] 127.0.0.1
_SERVER["HTTP_USER_AGENT"] Mozilla/5.0 (Windows; U; Windows NT 6.0; en-
US; rv:1.9) Gecko/2008052906 Firefox/3.0
_SERVER["HTTP_ACCEPT"] text/html,application/xhtml+xml,application/
xml;q=0.9,*/*;q=0.8
_SERVER["HTTP_ACCEPT_LANGUAGE"] en-us,en;q=0.5
_SERVER["HTTP_ACCEPT_ENCODING"] gzip,deflate
_SERVER["HTTP_ACCEPT_CHARSET"] ISO-8859-1,utf-8;q=0.7,*;q=0.7
_SERVER["HTTP_KEEP_ALIVE"] 300
_SERVER["HTTP_CONNECTION"] keep-alive
_SERVER["PATH"] C:\Windows\system32;C:\Windows;C:\Windows
\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:
\Acer\Empowering Technology\eDataSecurity\;C:\Acer\Empowering
Technology\eDataSecurity\x86;C:\Acer\Empowering Technology
\eDataSecurity\x64;C:\Program Files\MySQL\MySQL Server 5.0\bin
_SERVER["SystemRoot"] C:\Windows
_SERVER["COMSPEC"] C:\Windows\system32\cmd.exe
_SERVER["PATHEXT"] .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;. MSC
_SERVER["WINDIR"] C:\Windows
_SERVER["SERVER_SIGNATURE"] no value
_SERVER["SERVER_SOFTWARE"] Apache/2.2.9 (Win32) PHP/5.2.6
_SERVER["SERVER_NAME"] 127.0.0.1
_SERVER["SERVER_ADDR"] 127.0.0.1
_SERVER["SERVER_PORT"] 80
_SERVER["REMOTE_ADDR"] 127.0.0.1
_SERVER["DOCUMENT_ROOT"] C:/Program Files/Apache Software Foundation/
Apache2.2/htdocs
_SERVER["SERVER_ADMIN"] ad...@hsd1.state.comcast.net
_SERVER["SCRIPT_FILENAME"] C:/Program Files/Apache Software Foundation/
Apache2.2/htdocs/test.php
_SERVER["REMOTE_PORT"] 49894
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["REQUEST_METHOD"] GET
_SERVER["QUERY_STRING"] no value
_SERVER["REQUEST_URI"] /test.php
_SERVER["SCRIPT_NAME"] /test.php
_SERVER["PHP_SELF"] /test.php
_SERVER["REQUEST_TIME"] 1215467590
Jul 8 '08 #4
DS
For PHP 5.x try the MySQL Improved Extension "mysqli"
You call mysqli_init() followed by mysqli_real_connect()

=================================================

On 2008-07-07 15:02:18 -0700, cg*******@hotmail.com said:
Here is the output from phpinfo() on my laptop running windows vista.
As you can see mysql is mentioned several times in the output. I'm
not sure why i get this error. Php scripts that i save in the htdocs
folder seem to work as long as mysql is not called. Any ideas?
Thanks

System Windows NT ELMEU 6.0 build 6001
Build Date May 2 2008 18:01:20

Configure Command cscript /nologo configure.js "--enable-snapshot-
build" "--with-gd=shared" "--with-extra-includes=C:\Program Files
(x86)\Microsoft SDK\Include;C:\PROGRA~2\MICROS~2\VC98\ATL\INCLUDE; C:
\PROGRA~2\MICROS~2\VC98\INCLUDE;C:\PROGRA~2\MICROS ~2\VC98\MFC\INCLUDE"
"--with-extra-libs=C:\Program Files (x86)\Microsoft SDK\Lib;C:
\PROGRA~2\MICROS~2\VC98\LIB;C:\PROGRA~2\MICROS~2\V C98\MFC\LIB"
Server API Apache 2.0 Handler
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\Windows
Loaded Configuration File C:\php\php.ini
PHP API 20041225
PHP Extension 20060613

Apache Version Apache/2.2.9 (Win32) PHP/5.2.6
Apache API Version 20051115
Server Administrator ad***@hsd1.state.comcast.net
Hostname:Port 127.0.0.1:0
Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 300 - Keep-Alive: 5
Virtual Server No
Server Root C:/Program Files/Apache Software Foundation/Apache2.2
Loaded Modules core mod_win32 mpm_winnt http_core mod_so mod_actions
mod_alias mod_asis mod_auth_basic mod_authn_default mod_authn_file
mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user
mod_autoindex mod_cgi mod_dir mod_env mod_include mod_isapi
mod_log_config mod_mime mod_negotiation mod_setenvif mod_php5

PHP_SELF /test.php
_SERVER["HTTP_HOST"] 127.0.0.1
_SERVER["HTTP_USER_AGENT"] Mozilla/5.0 (Windows; U; Windows NT 6.0; en-
US; rv:1.9) Gecko/2008052906 Firefox/3.0
_SERVER["HTTP_ACCEPT"] text/html,application/xhtml+xml,application/
xml;q=0.9,*/*;q=0.8
_SERVER["HTTP_ACCEPT_LANGUAGE"] en-us,en;q=0.5
_SERVER["HTTP_ACCEPT_ENCODING"] gzip,deflate
_SERVER["HTTP_ACCEPT_CHARSET"] ISO-8859-1,utf-8;q=0.7,*;q=0.7
_SERVER["HTTP_KEEP_ALIVE"] 300
_SERVER["HTTP_CONNECTION"] keep-alive
_SERVER["PATH"] C:\Windows\system32;C:\Windows;C:\Windows
\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:
\Acer\Empowering Technology\eDataSecurity\;C:\Acer\Empowering
Technology\eDataSecurity\x86;C:\Acer\Empowering Technology
\eDataSecurity\x64;C:\Program Files\MySQL\MySQL Server 5.0\bin
_SERVER["SystemRoot"] C:\Windows
_SERVER["COMSPEC"] C:\Windows\system32\cmd.exe
_SERVER["PATHEXT"] .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;. MSC
_SERVER["WINDIR"] C:\Windows
_SERVER["SERVER_SIGNATURE"] no value
_SERVER["SERVER_SOFTWARE"] Apache/2.2.9 (Win32) PHP/5.2.6
_SERVER["SERVER_NAME"] 127.0.0.1
_SERVER["SERVER_ADDR"] 127.0.0.1
_SERVER["SERVER_PORT"] 80
_SERVER["REMOTE_ADDR"] 127.0.0.1
_SERVER["DOCUMENT_ROOT"] C:/Program Files/Apache Software Foundation/
Apache2.2/htdocs
_SERVER["SERVER_ADMIN"] ad***@hsd1.state.comcast.net
_SERVER["SCRIPT_FILENAME"] C:/Program Files/Apache Software Foundation/
Apache2.2/htdocs/test.php
_SERVER["REMOTE_PORT"] 49894
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["REQUEST_METHOD"] GET
_SERVER["QUERY_STRING"] no value
_SERVER["REQUEST_URI"] /test.php
_SERVER["SCRIPT_NAME"] /test.php
_SERVER["PHP_SELF"] /test.php
_SERVER["REQUEST_TIME"] 1215467590

Jul 9 '08 #5
Thanks for the quick responses. I'll try the solutions and let you
all know.

Jul 9 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: BT | last post by:
Hi .. a newbie question. I get the following error: Fatal error: Call to undefined function: mysql_connect() in /var/www/html/index.php on line 3. I have the following RPMS installed on RH7.2...
4
by: gc | last post by:
I'm a PHP and MySQL newbie. I have a feeling a lot of you may have seen this before. I'm teaching myself PHP/MySQL and trying to setup a guestbook. I'm running latest versions of Apache, PHP and...
8
by: Tim Tyler | last post by:
I'm getting fatal errors when executing code - and my error handler is failing to trap them - so I get no stack backtrace :-( The error I am getting is: "Fatal error: Call to a member function...
1
by: Mike | last post by:
Last weekend I decided to install Apache 2.0.53-win32-x86-no_ssl PHP 5.0.3 Smarty 2.6.7 MySQL essential-4.1.10-win32 I have Apache up (Port 80 blocked at the router and firewall!) and I have...
2
by: inonzuk | last post by:
why strange you ask? here goes: I have been working with Php and Mysql for a week without any problems. Today I tried executing a php page that connects to mysql and creates a new database, I...
2
by: Frobinrobin | last post by:
I am running Win2k3 Server and when I try to use the mysql_connect function I am getting an error: Fatal error: Call to undefined function mysql_connect() in...
5
by: Grant Nosbush | last post by:
I have searched the newsgroups and the web trying to solve this problem and just can't get it. Maybe someone will be able to help. I am getting the following error when I try to view a test page...
5
by: awdsites | last post by:
Hi, I'm a noob with a server so keep that in mind :) Been trying to connect with php to mysql and all I get is: "Fatal error: Call to undefined function: mysql_connect()" I've read and read...
9
by: java | last post by:
Hey there, I just removed an elderly PHP4-Installation from my Windows-Box and installed PHP 5.2.1. I used the PHP4-Module as local batchfile- interpreter by E:\ersDHCP>php ./extractLog.php ...
49
by: Julian Bowler | last post by:
Please can some one help with my problem; I am running Apache web server on my lap top, plus a mysql server and php. The version of php currently installed is 5.2.5. when i write some php to connect...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.