[PHP] Fatal error: Class 'DOMDocument' not found

2007-12-16 Thread Jeff Schwartz
I'm attempting to run the sample script on the PHP site: ?php $dom = new DOMDocument('1.0', 'iso-8859-1'); echo $dom-saveXML(); /* ?xml version=1.0 encoding=iso-8859-1? */ ? but get the error: Fatal error: Class 'DOMDocument' not found in /var/www/html/ajax/dom.php on line 2

[PHP] phpinfo displays blank page

2007-06-20 Thread Jeff Schwartz
When I run phpinfo() nothing is displayed. It used to work. I recently upgraded to 5.2.1 but I can't be sure that's exactly when phpinfo stopped working. Has anyone else run into this? Thanks, Jeff - Fussy? Opinionated? Impossible to please?

Re: [PHP] phpinfo displays blank page

2007-06-20 Thread Jeff Schwartz
(phpinfo.php is a script containing only the phpinfo command) at a server prompt but nothing was displayed. Jochem Maas [EMAIL PROTECTED] wrote: Daniel Brown wrote: On 6/20/07, Jeff Schwartz wrote: When I run phpinfo() nothing is displayed. It used to work. I recently upgraded to 5.2.1 but I can't

Re: [PHP] phpinfo displays blank page

2007-06-20 Thread Jeff Schwartz
You're right, that works. So why doesn't my script work? All it contains is: ?php phpinfo(); ? Tijnema [EMAIL PROTECTED] wrote: On 6/20/07, Jeff Schwartz wrote: Thanks for getting back to me so quickly. I checked the archives and viewed the source before I posted the problem

[PHP] Re: looks like the spammers got through anyway

2004-02-25 Thread Jeff Schwartz
I use this Yahoo account primarily for the PHP list. I use GoodbyeSpam.com as a filter and no spam whatsoever gets through. You mentioned that the safeguards aren't working. How are you trying to block spam? Jeff - Do you Yahoo!? Yahoo! Mail SpamGuard - Read

[PHP] Access DNS record

2004-02-25 Thread Jeff Schwartz
Does anyone know how to access a DNS record? Can it be done with fopen? Jeff - Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want.

[PHP] xmlParserInputBufferGrow: encoder error

2003-08-19 Thread Jeff Schwartz
I'm getting the following error and can't find out anything about it. Has anyone else gotten it? Could the encoder referred to be the Zend Encoder? input conversion failed due to input error Bytes: 0x90 0xBD 0xE9 0x80 xmlParserInputBufferGrow: encoder error Thanks, Jeff

[PHP] Re: Red Hat 9, Apache 2, and PHP

2003-07-04 Thread Jeff Schwartz
OK, so Apache 2 is out. Is there any reason not to go with RH 9.0? Any known problems? Jeff - Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!

[PHP] Red Hat 9, Apache 2, and PHP

2003-07-03 Thread Jeff Schwartz
The PHP site (under Servers-Apache 2.0) says Do not use Apache 2.0 and PHP in a production environment neither on Unix nor on Windows but isn't clear whether Linux is included or whether it applies to all Apache 2 releases (such as 2.0.46) or just the original 2.0. And, Red Hat 9 comes with

Re: [PHP] processing status page

2003-02-17 Thread Jeff Schwartz
Faking it with Javascript doesn't really work because the termination of the Javascript isn't tied to the completion of the processing. Here's how we're doing it for a new anti-spam product: results.html ?php if ($display): // display results else: // save form

[PHP] imap_append

2003-02-14 Thread Jeff Schwartz
I'm unable to append using imap_append. I can access the account without a problem but the append fails. Any ideas? ?php $mailserver = supercalendar.com; $port = 120; if ($stream = imap_open({.$mailserver./pop3:$port/notls},$login,$password)): if

[PHP] fopen problem

2003-02-08 Thread Jeff Schwartz
I'm having trouble with a basic file write and can't figure out why. It must have something to do with the program the code is in because if I run that same code as a separate program, as the same user, and on the same directory, it works fine. The program is listening on a port with:

[PHP] fread vs fgets

2003-02-02 Thread Jeff Schwartz
I'm trying to download various amount of information from handles opened by fsockopen. fgets works but takes forever on very large files because it breaks on every line. fread seems like it would work better but when I use a buffer of 1024 or 4096, it's actually far SLOWER on small files.

[PHP] imap_open failure

2003-01-13 Thread Jeff Schwartz
I'm using imap_open in PHP 4.3.0 to successfully access every pop server I've tried - except 1: mail.fea.net. I know the mail server, port, login, and password are correct because I can successfully log into the pop server with both telnet and Outlook. Here's the code: if ($pop_inbox =

[PHP] PEAR extension (mailparse) not working

2003-01-03 Thread Jeff Schwartz
I've just upgraded to PHP 4.3.0 and am unable to get the PEAR extension mailparse to work. I've installed mailparse via PEAR but PHP doesn't seem to see it. It doesn't show up in phpinfo(). What do I need to do to activate it? Thanks, Jeff - Do you

[PHP] imap_open with port other than 110

2002-12-11 Thread Jeff Schwartz
We're trying to use imap_open to access a pop3 server which is using port 120 instead of 110. We know the port and pop3 server are working because we can access it from Outlook. $pop_inbox = imap_open({.$mailserver./$mailbox_type:$port},$login,$password); The code worked fine with port 110

[PHP] Allowed memory size exhausted

2002-12-06 Thread Jeff Schwartz
I have a large amount of data (1,948,280 bytes) that I tried to write out to a file using if ($fp = fopen($file,w)): fwrite($fp,$contents,strlen($contents)); fclose($fp); endif; and got Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1948281

[PHP] compiling mailparse into PHP

2002-10-13 Thread Jeff Schwartz
I'm having trouble adding mailparse to my PHP 4.2.3 install. I've downloaded and uncompressed mailparse-4.2.0.tgz into a subdir of my PHP directory and added --enable-mailparse to my config file but I'm still missing something. What am I doing wrong? Jeff

[PHP] Mysql not functioning after upgrade to 4.2.3

2002-10-12 Thread Jeff Schwartz
I just upgraded from 4.1.2 to 4.2.3 and now receive an undefined function error when running mysql_pconnect() or mysql_connect(). I used the same configure script as before and the Configure Command from phpinfo (below) includes Mysql. However, there's no longer a Configuration area showing

[PHP] Help sending IMAP mail

2002-09-21 Thread Jeff Schwartz
The IMAP documentation on the php site says that you can create an IMAP message using imap_mail_compose but fails to say how to send it. I've tried using imap_mail but it gives me a parameter count error. Does anyone know how to send the message? Thanks, Jeff

[PHP] cURL and cookies

2002-09-04 Thread Jeff Schwartz
I'm trying to use cURL to log into a site, get the cookies then use those cookies as I move through the site. I'm getting the cookies in a file but either they're not being sent when the script goes to the next page or they need to be formatted somehow so the site recognizes them. Has anyone

[PHP] imap_mail_move and imap_mail_copy

2002-07-17 Thread Jeff Schwartz
Has anyone had experience with imap_mail_move or imap_mail_copy? Can they copy or move a message from one mail server to another or only into a subfolder on the same server? Jeff __ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes

[PHP] problem with IMAP support

2002-07-16 Thread Jeff Schwartz
We've installed and recompiled PHP but I still get undefined function errors when I try to use imap_open(). Does anybody have any ideas? Thanks, Jeff __ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com -- PHP

[PHP] carriage return in multipart/form-data form post

2001-03-05 Thread Jeff Schwartz
We've just moved to a new server and I'm running into an odd problem. The code is below. On my old server it correctly returns: [test] t 116 e 101 s 115 t 116 But on my new server I get: [ test] 13 10 t 116 e 101 s 115 t 116 Has anyone else run into this? ?php echo "[$action] BR ";