Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Undefined Function Mysql_connect


I know this question has come up before (I found lots of sites discussing
it), but I just can't get it to work.

I have PHP 5.0.4 and MySQL 5.0.16 (community edition). PHP runs under MS
IIS 5.1 (XP Pro SP2). Independently, both PHP and MySQL run fine (other
php pages work fine, and I can access mysql tables through jdbc), but when
I try to query a database from PHP, I get the infamous "Call to undefined
function mysql_connect()" error.

I have uncommented "extension=php_mysql.dll" in php.ini in G:php, which
in turn is mentioned in the Windows PATH. I have also made sure the
libmysql.dll and php_mysql.dll files are in the same G:php directory.

What am I missing here?




View Complete Forum Thread with Replies

Related Forum Messages:
Undefined Function Mysql_connect()
I'm (slowly) trying to get to grips with PHP and MySQL. I'm running:
Red Hat 7.2
Apache 1.3.20
Mysql 3.32.41
PHP 4.1.2

A simple connect

function db_connect()
{
$result = mysql_connect('localhost','myuser','mypass');
if (!$result)
return false;
if (!mysql_select_db('webstats'))
return false;

return $result;
}

All I get is:

Fatal error: Call to undefined function: mysql_connect()

MySql works fine as I've logged in directly and created tables and imported
data and ran SELECTS commands.
PHP works too. phpinfo(); and shows this
dbx
dbx support enabled
dbx version 1.0.0
supported databases MySQL<br />ODBC<br />PostgreSQL<br />Microsoft SQL
Server<br />FrontBase

View Replies !
Call To Undefined Function Mysql_connect()
I'm just getting started with PHP and MySQL. I installed a package the other day to control torrents from a website (Torrentflux) but I'm getting an error when I try to start

Fatal error: Call to undefined function mysql_connect() in
C:public_htmlTF2htmladodbdriversadodb-mysql.inc.php on line 338

Line 338 of that file is the one that starts with $this-> (the fifth one down from here:

// returns true or false
function _connect($argHostname, $argUsername, $argPassword,
$argDatabasename) {
if (ADODB_PHPVER >= 0x4300)
(This line) $this->_connectionID =
mysql_connect($argHostname,$argUsername,$argPassword,
$this->forceNewConnect,$this->clientFlags);
else if (ADODB_PHPVER >= 0x4200)
$this->_connectionID =
mysql_connect($argHostname,$argUsername,$argPassword,
$this->forceNewConnect);
else
$this->_connectionID =
mysql_connect($argHostname,$argUsername,$argPassword);

if ($this->_connectionID === false) return false; if ($argDatabasename)
return $this->SelectDB($argDatabasename); return true;
}

Can anyone help me with this?

View Replies !
PHP.ini ( Call To Undefined Function: Mysql_connect() )
I am using mandrake 9.1 with PHP 4.3.1 and got some advice about using the php.ini file (which phpinfo says should be in my /etc directory but is not). I found a default one, and put it in there. Now I get this error:

Call to undefined function: mysql_connect()

Any thoughts? I am told that my php might not be talking to mysql now, but without the .ini file there it works great. Is there some other default .ini file that is used if one is not found where phpinfo is telling me that it should be? In other words, when I had no php.ini in this directory, php worked and all mysql calls worked.

View Replies !
Call To Undefined Function: Mysql_connect()
I am running Debian 3.0r1 with Apache 1.3.27, MySQL 3.23.49 and PHP
4.3.3RC3.
I installed Apache and MySQL when I originally installed Debian and these
work fine. I recently wanted to run some PHP scripts on my web server that
talked to a MySQL database. I installed php4 and php4-mysql using apt-get.
Unfortunatly I can't get the scripts to work. I keep getting the following
error:

Fatal error: Call to undefined function: mysql_connect() in
/var/www/ganymede/dbtest.php on line 4

mysql.so is located in /usr/lib/php4/20010901 and so I have the following
entries at the bottom of my php.ini file:

extension_dir=/usr/lib/php4/20010901/
extension=mysql.so

I haven't been able to find any useful information on how to fix this
problem. Everything I've found so far says make sure I've installed
php4-mysql and that I have extension=mysql.so in my php.ini file, but I've
done all that.

View Replies !
Call To Undefined Function Mysql_connect() In .etc.
My first trial to use a database with PHP fails on the very first command:

$db = mysql_connect("localhost", "myuser", "mypassword") or die("Could not connect: " . mysql_error());

PHP reports: Fatal error: Call to undefined function mysql_connect() in .etc.

I'm running MySQL 4.1.12a, PHP 5.0.4, Apache 2.0.53 on Windows XP and phpMyAdmin 2.6.3.pl1 works OK.

View Replies !
Fatal Error: Undefined Function Mysql_connect():
Just tried my first mysql funcition: mysql_connect(). When I try it in my
browser I get "Fatal Error: undefined function mysql_connect(): I'm running
apache2, php5 and mysql 5.0.22 - all running on Ubuntu 6.06. I can execute
simple php scripts and phpinfo() works fine. What is my problem?

View Replies !
And MySQL - Call To Undefined Function Mysql_connect()
I've currently been trying to tackle making PHP 5.1.4 use the MySQL
extension. I've followed the instructions I've seen on the web but
whenever I acces my test page, I still get a "Call to undefined
function mysql_connect()..." Basically the instructions I've found say,
to edit the php.ini file so this line is uncommented:

extensions=php_msql.dll

and to make sure that the extension_dir value points to my extensions
folder:

extension_dir = "c:phpext"

My Current setup:
Windows XP
Apache 2.2
MySQL 5.0.12
PHP 5.1.4

Is there any step I'm missing?

View Replies !
Newbie: Call To Undefined Function Mysql_connect()
I have this error coming up when I try to connect to mySQL.

"Call to undefined function mysql_connect()....................."

I know MySQL is working as I've been using it from DOS.
And I know PHP is working as well as I've been using it...
I suspect that there is nothing to connect MySQL to PHP though.

I notice in the MySQLadmin window that the MyOBDC connection says
"Not found
Driver 3.51 Not Found"

How Do I fix this?

View Replies !
Query :: Call To Undefined Function Mysql_connect()
I have been trying to do a query but I get

Call to undefined function mysql_connect()

What other way can I perform a query? Or do I need to get something enabled?

View Replies !
Fatal Error: Call To Undefined Function Mysql_connect() ...
I can't seem to get PHP to recognize MySQL. I know you are probably sick of hearing about this problem, but I haven't been able to find a solution. I have read through the documentation on the web including that which pertains to this error in these forums. I will attempt to outline the problem as detailed as possible: PHP Code:

View Replies !
Call To Undefined Function: Mysql_connect() - Red Hat Linux 9.0 Server
I recently installed Red Hat Linux 9.0 server. It installed Apache with PHP
and Mysql by default. I can connect to mysql, create databases, tables fine.

I can also program php and access it through Apache.

Problem is when I try to connect to MySql it gives me the error
"Call to undefined function: mysql_connect()"

I ran phpinfo and found "--with-mysql=shared".

I checked and all the deamons are running (httpd, mysqld)

Do anybody know what is missing?

I usually love to troubleshoot these things, but right now too tired to do
this.

View Replies !
Cannot Connect To The Mysql Server Using Php - Undefined Function Mysql_connect()
I'm surfing the net looking for answers but I thoguht I should post the question somewhere so I have something to fall back on. I am running:

Windows Xp SP2
apache2
php5
mysql4.x

The are all running fine from what I can tell. I have 1 problem, I cannot connect to the mysql server using php, it's giving me the error noted in the subject line. The error says the function is undefined but I assume it is in the .dll file that the php.ini file loads(php5apache2.dll for php to work on apache and php_mysql.dll loaded as an extension for php to talk to mysql). Everything loads fine, I don't get any errors when starting up apache, the phpinfo() page works perfectly, but it juts won't talk to mysql server.

View Replies !
Undefined Function Mysql_connect() - Windows XP With Service Pack2
I just installed Apache/PHP/MySQL all newest versions today on windows XP with service pack2, everything seems to be working fine, cept for when I went to connect to MySQL.

I'm getting this error:

Fatal error: Call to undefined function mysql_connect() in C:Program FilesApache GroupApache2htdocs
ationalincconntemp.inc on line 3

line 3 of conntemp is:

$db_selected = mysql_select_db('National', $link) or die('Database name incorrect');

but i know the code is good, it works fine on my linux server. can anyone tell me if i'm missing something? like a module maybe? and if so what one and where can i get it?

View Replies !
Fatal Error: Call To Undefined Function Mysql_connect()
I have Apache 2.0.55 installed and PHP 5.1.1

In the php.ini I have
extension=php_mysql.dll
uncommented, and as someone suggested I changed my httpd.conf file in the Apache Group folder to have
LoadModule php5_module C:/php/php5apache2.dll

All is well but my mysql_connect() brings about a fatal error.

View Replies !
Fatal Error: Call To Undefined Function Mysql_connect() - Php-5.1.2-installer.exe
I just instal php-5.1.2-installer.exe and mysql-5.0.10a-beta-win32 but
when i connect to mysql then show error like this "Fatal error: Call to
undefined function mysql_connect(). Why can I not connect to mysql?

View Replies !
Fatal Error: Call To Undefined Function: Mysql_connect() In /var/www/html/index.php
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
MySQL-client-4.0.14-0 I would really appreciate it.
MySQL-shared-4.0.14-0
MySQL-server-4.0.14-0
MySQL-devel-4.0.14-0
php-imap-4.0.6-7
php-4.0.6-7
apache-1.3.20-16
apache-devel-1.3.20-16
apacheconf-0.8.1-1

The code i am trying to run is: I would really appreciate it.
<?php
printf("opening db.....");
$db = mysql_connect("localhost","user","password");
printf("closing db
");
mysql_close($db);
?>

The configure part of phpinfo() shows:
-----
'./configure'
'i386-redhat-linux' '--prefix=/usr' .<snip>
'--enable-wddx' '--without-mysql' '--without-unixODBC'
'--without-oracle' '--without-oci8' '--with-pspell' '--with-xml'
------

I believe the mysql is not installed to work along with PHP. I
installed php using rpm.
My question is how do i make it work. I have checked NG and tested all
the options. But to no avail.

I also tried by uncommenting the line extensin=mysql.so in
/etc/php.ini.

View Replies !
Fatal Error: Call To Undefined Function Mysql_connect() In URLdatabase.php On Line 7
Has anyone ever come across this error before?

Fatal error: Call to undefined function mysql_connect() in URLdatabase.php on line 7

I don't know what could be causing it.

View Replies !
Work With Localhost - Fatal Error: Call To Undefined Function Mysql_connect()
I just installed PHP and MySQL to work with localhost. However, when I try the mysql_connect function, it returns:

Fatal error: Call to undefined function mysql_connect() in ..index.php on line 13

.. is usually the whole line obviously. I asked someone I knew, if this was because MySQL was not installed properly, and he thinks it is. Does anyone know how to remedy this?

View Replies !
Fatal Error: Call To Undefined Function Mysql_connect() - Using Mysql Functions
I have a page has a small amount of php in it with some mysql functions, every time i try and look at it, I get a php error:

Fatal error: Call to undefined function mysql_connect() in C:Program FilesApache GroupApache2htdocshomepageindex.php on line 4

I'm pretty sure its not an issue with the code on the page, but just in case: Code:

View Replies !
MySQL Functions - Fatal Error: Call To Undefined Function Mysql_connect()
I am using AMP (Apache, MySQL and PHP) to develop a website, they're all installed correctly, and - as far as I know - working together correctly. I'm trying to connect to the MySQL database I've sent with this code: Code:

$connection = mysql_connect("localhost", "****", "*******");

but I'm getting this error: Code:

Fatal error: Call to undefined function mysql_connect() in C:Program FilesApache GroupApache2htdocsprojectsignupsubmit.php on line 10

Which makes me think maybe they aren't all working together. any ideas?

View Replies !
Fatal Error: Call To Undefined Function Mysql_connect() In C:Program FilesApache Gr
I am getting the error :

Fatal error: Call to undefined function mysql_connect() in C:Program FilesApache GroupApache2htdocsfirstdbprogram.php on line 4

I have PHP 5 installed,apache and mysql.

PHP is installed in c:php

IN the phph.ini I have done hte following: Code:

View Replies !
Fatal Error: Call To Undefined Function: Mysql_connect() In /var/www/html/testPHP/testMysql.php On Line 7
I am new to php and I'm testing php connectivity to mysql. I created a
php script using the php.net sample. The script uses the mysql_connect
method and when I execute it I get the error:

Fatal error: Call to undefined function: mysql_connect() in
/var/www/html/testPHP/testMysql.php on line 7

I have mysqld ver 4.0.20 and php 4.2.2 that came bundled with apache
(that came bundled with RH9).

View Replies !
PHP 5.2.1: Cli Does Load Php_mysql.dll While The Same Script Executed By Apache 2.2 Fails Call To Undefined Function Mysql_connect()
After I overcame some short_open_tag (thanks, Rik!) I encounter
another strange php-behaviour. The script I just got to work on the
windows-commandline obviously does as php.ini tells php to do and
loads php_mysql.dll:

E:ersDHCP>php ./extractLog.php
.... some mysql-stuff, some output, OK

The same script invoked by the webserver apache 2.2 entails an error:

http://localhost/extractLog.php
PHP Fatal error: Call to undefined function mysql_connect()

My configuration php.ini does contain the line extension=php_mysql.dll
and seems to be OK while I use the script from commandline. Is there
anybody who can give me a hint where to cope with this error?Christian

View Replies !
Another "Fatal Error: Call To Undefined Function: Mysql_connect()"Question
I am getting the following error when I try to view a test page in my
browser. This test page just reads a table in mysql and outputs the
results.

Fatal error: Call to undefined function: mysql_connect() in
/var/web/public/test.php on line 2

I'm using:
Apache 2
MySQL 4.1.12
PHP 4.4.0

I have tried upgrading PHP to PHP5. I went back down to PHP4. I
verified that mysql.so was being loaded. I tried using the OLD_PASSWORD
feature in mysql. Verified that the PHP module is loaded in apache.

What is weird however (at least I think) is when I run the following via
telnet:

php ./test.php

It pulls up the page, connects successfully to the database and displays
the records. No error message.

View Replies !
Totally Lost! "Fatal Error: Call To Undefined Function: Mysql_connect()"
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 and can't figure out what is wrong. My current set
up is:

# rpm -qa | grep php

php-ldap-4.3.2-23.ent
php-mysql-4.3.2-3mdk
php-imap-4.3.2-23.ent
php-4.3.2-23.ent

# rpm -qa | grep php

php-ldap-4.3.2-23.ent
php-mysql-4.3.2-3mdk
php-imap-4.3.2-23.ent
php-4.3.2-23.ent

On RedHat 3.2ES

Can someone please help? I've been trying for 2 weeks now and I still
don't know what to do.

View Replies !
Mysql_connect()---undefined
help me with this one....

Undefined error: mysql_connect("localhost",' ', ' '):;

WAMP5 server.

View Replies !
Call To Undefined Funcction Mysql_connect()
I have searched high and low to find an answer to this. I am running Windows 2003 Server, PHP 5 and MySQL 4.1. I know I can connect to the database, because I have Sugar installed and use it daily.

I have doubled checked my php.ini settings that php_mysql.dll is uncommented, I have added the path for my extensions to the system variables. I have copied the php_mysql.dll to the windows directory (no luck), to the php directory root (no luck), to the system32 directory (no luck).

I have added the full path to my extensions in my php.ini (no luck). The rest of my php works, I can view phpinfo() all day long, all of my include files are working the way they are supposed to.

View Replies !
Mysql_connect Function
How do I get the mysql_connect function in PHP to work when my webserver is win2000 based? It asks for my servername when I use this function. But because mysql executable is installed at c:mysqlbinmysql.exe, just typing in my server name won't start mysql. How do I make this work?

View Replies !
Problem With Mysql_connect() Function
I use the function mysql_connect() and the interpreter shows me this error:
Fatal error: Call to undefined function mysql_connect() in D:Program FilesApache GroupApache2htdocsmyphpguestbookindex.php on line 14

View Replies !
Call Of Undefind Function Mysql_connect()
i am running PHP 5.1.1,apache 2.0.55 and MySQL 5.0 on windows XP prof SP2 befor few days i had connection with the MySQL database and the mysql_connect() was ok , but yesterday i get this error "call of undefind function mysql_connect().

i tried to check the php.ini configuration and i didn't see anything wrong. but i notice that when i call phpinfo()i see that the extension_dir is C:/php5 but in fact i don't have such directory.

i checked the extension_dir in the php.ini and it is D:/PHP and it is the rte directory where i installed php in it?

View Replies !
Warning: Mysql_connect() [function.mysql-connect]:
i am haveing an issue connecting to a mysql database i get the following error

Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server during query in /home/cutencud/public_html/testing.php on line 1

now testing.php only has one line and it looks like this

<?php mysql_connect("66.97.165.60", "root", "") ?>
anyone know what would cause that? (and i removed the password before posting

View Replies !
Fatal Error: Win2003 & Mysql_connect Function [PLEASE HELP]
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
C:Inetpubwwwrootprogramsindex.php on line 8

Now, I def know I've configured my php.ini correctly (its literally the
same as my XP machine) and I know that mysql works fine with PHP as I
can run it from the command line :D
I've got the files (tried in multiple places - but happiest with it in
my php & php/ext dirs with Windows path set.)
PHP 5 is running as an ISAPI (for some reason I cant get the CGI to
parse php files).
I have amended my php.ini with the doc_root, and cgi-force_redirect and
extension dir - all the permissions on my php / inetpub folders have
been given set for iusr, iwam and IWG full control (purely for
troubleshooting).
MySQL is 4.1, IIS 6.0 on Windows 2003 with PHP 5.

View Replies !
Error In Connection Undefine Function Mysql_connect
I am using PHP ver 4.1.2 in linux OS, when i try to connect to mysql databases using mysql_connect function, php show an error :

error in connection "undefine function 'mysql_connect' "

View Replies !
Warning: Mysql_connect() [function.mysql-connect]: Access Denied For
please anybody of u please help me to solve this problem. i don't know what happen.

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'mysql_user'@'localhost' (using password: YES) in C:AppServwwwmangrovedatabase.php on line 2 Could not connect: Access denied for user 'mysql_user'@'localhost' (using password: YES)

View Replies !
PHP Warning: Mysql_connect() [<a Href='function.mysql-connect'>function.mysql-connect</a>]
I am getting the following error

PHP Warning: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Too many connections in /usr/share/pear/adodb/drivers/adodb-mysql.inc.php on line 340

Can anyone tell me the possible reasons for this.

View Replies !
Gd2 Undefined Function
We have recently upgraded to a new server, and everything on the website works fine except for 1 page which gives an error:

undefined function imagecreatetruecolor() in /home/niscsa/lib/PEAR/Image/Text.php.
Reading around most ppl say that this is due to an incompatiblity of GD and that GD2 must be installed. Looking at phpinfo() gives me the following: Code:

View Replies !
Undefined Function
Hi,I have downloaded the SDK for payplow pro. This is the configuration of my APache server.

Apache for Windows 95/NT
Apache Version Apache/1.3.34 (Win32) PHP/4.4.0
Apache Release 10324100
Apache API Version 19990320
Wat to do to solve the problem.

View Replies !
Undefined Function
I named this page email.php and evertime I go to it, I get "call to undefined function", this is my first time using an imap function and I have no idea what the problem could be.

<?
$mbox = imap_open("{localhost:143}INBOX", "email", "pass") ;
?>

View Replies !
Undefined STANDARD Function?
I don't get it. If I execute this code:

$pieces = explode(":",$CDa);
$pieces[0] = bcadd($pieces[0],7);
$DCHK=$pieces[1];

I get an error 'call to undefined function bcadd()'. But isn't bcadd() a standard PHP3/PHP4-function? How can that be undefined?

The strange thing is that when different people view the page (on the same server), some people get the error, and some people don't...

View Replies !
Undefined Function Error
I get a undefined function error when I use this function to calculate the number of days in a monthnmcal_days_in_month (int month, int leap year).

View Replies !
PHP Unsupported Or Undefined Function
I'm trying to connect to an oracle database with PHP3. Below (1) are the params I used to install PHP3, which shows that I specified oracle.

2) is the code where I try to make the connection with a standard PHP3 function OCILogon. 3) is what the browser tells me when I run the code.

My checking around the various PHP help areas suggests that the error message means that I haven't included the oracle stuff with the PHP installation, Code:

View Replies !
How Can Strpbrk() Be An Undefined Function?
I copied and pasted this code right off PHP.net. It's the only code on the page. PHP Code:

View Replies !
Undefined Function: Imagepsloadfont()
I am running PHP 4.3.4 with GD compiled in but I'm getting this error: Code: [Wed Nov 5 18:33:04 2003] [error] PHP Fatal error: Call to undefined function: imagepsloadfont() in /path/to/chart.inc on line 322

line 322: Code: $fgc = imagepsloadfont(_fontpath."/type1/FGC_____.pfb");

View Replies !
Undefined Function -> Implode
How come I got a call for undefine function for implode? My version is 4.2.1.

View Replies !
Require_once, Undefined Function?
I have a script:

http://www.mydomain.com/test/admin/foo.php

That looks like this:
<?php
$baseDir = "http://" . $_SERVER[ "SERVER_NAME" ] . "/test";

require_once( $baseDir . '/helpers/helper.php' );

something();
?>

something() is a function in helper.php.

I get:
Call to undefined function: something() in
/home/mydomain/public_html/test/admin/foo.php on line 6

The require_once doesn't fail (well, I don't get an error message), so I'm
assuming that it finds helper.php OK. something() definitely exists in
helper.php.

If I put foo.php and helper.php in the same folder, lose all the $baseDir
crap and use require instead of require_once it works fine (not sure if it's
the $baseDir part or the require_once that is tripping it up), however I
need them to be in seperate folders and I'd rather use require_once than
require in case I end up including something twice by accident, it's so much
easier not to have to worry about it.

I've been fiddling with this for about an hour now and it's starting to get
really annoying.

View Replies !
Why PHP Says Fpt_connect Is A Undefined Function?
I downloaded PHP 4.3.4 source and built it (with no special
configuration, just congigure, make and make install) on my Fedora
system. When I tried to run a script that runs well on my Windows 2000
system, PHP complains that ftp_connect is a undefined function. Why is
that?

View Replies !
Undefined Function: Exif_thumbnail()
the doc says that the function 'exif_thumbnail' is enable in php4.3 (my
version) but I've the message 'undefined function' when I use it. Why ? Any
idea ?
I've the gd lib even it's not necessary.

View Replies !
Undefined Function: Session_pagestart()
I am trying to integrate the phpbb user database for my whole site.
Here's the code I used and the error I got.

Fatal error: Call to undefined function: session_pagestart() in
/homepages/9/d99062755/htdocs/index.php on line 90

Code:

</head>

<?php
define('IN_PHPBB', true);

$site_root_path = 'http://www.YeahThatRocks.com'
$phpbb_root_path2 = '/bb/'
$phpbb_root_path = $site_root_path . $phpbb_root_path2;
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.php');

$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);

if( $userdata['session_logged_in'] )
{
echo('Hello');
}
else
{
echo('Please Login');
}

?>

View Replies !
Undefined Variable In Function
I have a script with those good ol checkboxes and those good ol undefined variable errors when a checkbox is not checked. I have managed to fix this problem in all but one of my scripts where I use a function to update the database through an include. Here is the script:

View Replies !
Undefined Function: Pdf_new()
<newbie alert>

just started with PHP last week, and i tried to create a pdf, but i get the error message:

Fatal error: Call to undefined function: pdf_new()

the php files starts with:

<?php
$pdf = pdf_new();
pdf_open_file($pdf);

can anybody see what's wrong? my server has php version 4.3.2.

View Replies !
Undefined Function Ftp_connect()
My ftp script, php 4.3.9 on RH EL 4, was working about a week ago, now getting
undefined function ftp_connect()

1. Yes --enable-ftp is on
2. Registered PHP Streams: php, http, ftp, https, ftps, compress.bzip2, compress.zlib
3. Loaded Modules: core prefork http_core mod_so mod_access mod_auth mod_auth_anon mod_auth_dbm mod_auth_digest util_ldap mod_auth_ldap mod_include mod_log_config mod_env mod_mime_magic mod_cern_meta mod_expires mod_deflate mod_headers mod_usertrack mod_setenvif mod_mime mod_dav mod_status mod_autoindex mod_asis mod_info mod_dav_fs mod_vhost_alias mod_negotiation mod_dir mod_imap mod_actions mod_speling mod_userdir mod_alias mod_rewrite mod_proxy proxy_ftp proxy_http proxy_connect mod_cache mod_suexec mod_disk_cache mod_file_cache mod_mem_cache mod_cgi sapi_apache2

4. FTP support enabled

Why, how did it break?

I've tried 1000 different options & still not working.

do I need to recompile or re-add with rpm?

View Replies !
Call To Undefined Function: ()
I'm trying to delete a folder and all of it's contents with this function. But everytime I try to run it I get the error: "Fatal error: Call to undefined function: () in /home/username/public_html/deldir.php on line 62" Line 62 being "$rmdirr();"

This is the first time I've tried to use a function and after trying to read up on calling them, I still can't get this to work: Code:

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved