RE: [PHP] Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/includes/db_fns.php on line 6

2004-08-12 Thread Eric L. Sammons
No I see no mysql section in my phpinfo page. I am in the process of rebuilding php to see if this resolves the problem. >= Original Message From [EMAIL PROTECTED] = >On Thu, 12 Aug 2004 15:38:45 -0400, Eric L. Sammons <[EMAIL PROTECTED]> wrote: >> I have done phpinf

RE: [PHP] Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/includes/db_fns.php on line 6

2004-08-12 Thread Eric L. Sammons
I have started mysql, all is working (when I use the mysql client). >= Original Message From Jay Blanchard <[EMAIL PROTECTED]> = >[snip] >I have done phpinfo and I see --with-mysql=shared,/usr >[/snip] > >Have you started the mysql daemon? > >-- >PHP General Mailing List (http://www.php.

RE: [PHP] Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/includes/db_fns.php on line 6

2004-08-12 Thread Eric L. Sammons
I have done phpinfo and I see --with-mysql=shared,/usr >= Original Message From Jay Blanchard <[EMAIL PROTECTED]> = >[snip] >did this, all answers came back stating to install php-mysql package. >Already >have that installed. Some have stated they recompiled php, I really >would >like to

FWD: RE: [PHP] Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/includes/db_fns.php on line 6

2004-08-12 Thread Eric L. Sammons
>= Original Message From "Eric L. Sammons" <[EMAIL PROTECTED]> = >= Original Message From "Eric L. Sammons" <[EMAIL PROTECTED]> = did this, all answers came back stating to install php-mysql package. Already have that installed. Some hav

[PHP] Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/includes/db_fns.php on line 6

2004-08-12 Thread Eric L. Sammons
Trying set up php-syslog-ng on my Red Hat EL 3.0 AS system. I have verified that I can in fact access mysql and that I have the necessary database and that the user, password, and host are setup correctly in db_fns.php. It seems; however, that I still receive the given error: Fatal error: Cal

FWD: RE: [PHP] Search and replace a String in a file.

2004-06-24 Thread Eric L. Sammons
stable >= Original Message From "Eric L. Sammons" <[EMAIL PROTECTED]> = First let me thank you for pointing me to PEAR. Now for the problem. Here is my code: File exists."; $snr = File_SearchReplace("server-

RE: [PHP] Search and replace a String in a file.

2004-06-24 Thread Eric L. Sammons
and require_once ... with the same result. Help? Thank you! >= Original Message From Justin Patrin <[EMAIL PROTECTED]> = >There's a PEAR package for just this. :-) >http://pear.php.net/package/File_SearchReplace > >On Thu, 24 Jun 2004 12:58:08 -0400, Eric L. Sammons &

[PHP] Search and replace a String in a file.

2004-06-24 Thread Eric L. Sammons
Being new to PHP this task seems to be little out of my reach right now. I wonder if anyone could tell me how, as I read a file, line by line, search for and then replace a given string? The lines in the file will appear as such: Summary: Some Summary Name: Some-Name Version: x.x . . . Basica

[PHP] Trying to create and save a DOM XML file.

2004-06-23 Thread Eric L. Sammons
I have created an XML, via php, and doing a dump_mem() everything looks as expected. Now I need to have it write to a file. I have found the function DOMDocument->save(); however, when used it appears that it is unknown. I believe this may be deprecated or because I am using domxml_new_doc()

[PHP] Help with creating an XML Document

2004-06-23 Thread Eric L. Sammons
Using PHP 4.3.2 I am trying to create an XML file that looks similar to the following: 0 0 DL380 8th Floor 2 Customer Upgrade I get the following output: Using the following code: add_root("Server"); $root->set_attribute("Name", "pxtest01"); $el = $doc->create_element("Seria

[PHP] FWD: Help with PHP4.3.2 and XML

2004-06-22 Thread Eric L. Sammons
>= Original Message From "Eric L. Sammons" <[EMAIL PROTECTED]> = I am in the process of writing a PHP program. It is really quite simple, I have a form that I complete, the information is then to be saved into a simple XML file. When I do this in Java the XML file wou