473,385 Members | 1,468 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,385 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 4366
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.