Re: [PHP] Generating XML

2001-04-25 Thread Jeff Carnahan
}I'm trying to write a script that generates XML dynamically and is }viewable in a browser (IE). Even though I send a header saying }"Content-type: text/xml\n", PHP still puts in a Content-type of }text/html before that. How can I write the script so that this doesn't }happen? } }Here's the script

Re: [PHP] Problem with each()

2001-04-05 Thread Jeff Carnahan
, (or it may just be a string set to the word "Array".. Who knows?.. =) -- Jeff Carnahan - [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] More Email ereg Validation

2001-04-04 Thread Jeff Carnahan
at, except it doesn't accept the country code domains (.au, }etc). So I changed the number of characters to {2,3} at the end of the }regex: }([a-z0-9_\.\-]+)@([a-z0-9\.-]+).([a-z]{2,3}) } Here's a quick patch.. =) ([a-z0-9_\.\-]+)@([a-z0-9\.-]+).([a-z]{2}[a-z]?) -- Jeff Carnahan - [EM

Re: [PHP] Problems porting from MySQL Server to MSSQL7 Server

2001-04-04 Thread Jeff Carnahan
com/library/default.asp? URL=/library/psdk/sql/ts_ua-uz_82n9.htm (That's one long URL). -- Jeff Carnahan - [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list admini

Re: [PHP] BUG - Someone else please verify B4 I file

2001-04-04 Thread Jeff Carnahan
in it. In this case, while the HTTP_POST_VARS array may be set, it does not contain any elements. (It's size is zero.) Hence, it's not included in phpinfo(). -- Jeff Carnahan - [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL P