Re: [nyphp-talk] XML to JSON?

2008-01-04 Thread Jon Baer
Go straight to binary :-) http://hessianphp.sourceforge.net/quickstart.html All kidding aside, there is a nice client way w/ jQuery to accomplish it (cuz the client could always do *more* work) ... http://plugins.jquery.com/project/xmlObjectifier Examples: http://www.terracoder.com/example

Re: [nyphp-talk] List of langauge/country names and codes

2008-01-04 Thread Gary Mort
Google ISO and country codes, there is a standard set of country to country code mappings, along with a standard set of language to language code mappings. David Krings wrote: Hi! Does anyone of you have a list of language/country names in the native language and the associated country codes?

[nyphp-talk] List of langauge/country names and codes

2008-01-04 Thread David Krings
Hi! Does anyone of you have a list of language/country names in the native language and the associated country codes? For example USA - American English - en_us UK - English - en_uk Schweiz - Deutsch - ch_de Suisse - Francais - ch_fr Deutschland - Deutsch - de and so on. Format is not importan

RE: [nyphp-talk] Why do "cool kids" choose PHP to build websites instead of Java

2008-01-04 Thread Anthony Wlodarski
Actually crocodile taste more like chicken than chicken tastes like chicken. Anthony Wlodarski 646-285-0500 x230 [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Gales Sent: Friday, January 04, 2008 1:51 PM To: NYPHP Talk Subject: Re:

Re: [nyphp-talk] Why do "cool kids" choose PHP to build websites instead of Java

2008-01-04 Thread Tim Gales
Jeff Knight wrote: I do it because PHP tastes more like alligator or rattlesnake, whereas Java tastes too much like chicken. Thought we had agreed you would do all your graphical front end stuff in "flush" -- T. Gales & Associates 'Helping People Connect with Technology' http://www.tgaconnec

Re: [nyphp-talk] POSTing with HTTP and PHP

2008-01-04 Thread Randal Rust
On Jan 4, 2008 12:57 PM, John Campbell <[EMAIL PROTECTED]> wrote: > No. Generally speaking, the header function sends *response* headers. > HTTP POST data is sent as part of a *request* header. that's what i thought. just needed to hear it from some better programmers than myself:) -- Randal

Re: [nyphp-talk] Why do "cool kids" choose PHP to build websites instead of Java

2008-01-04 Thread Jeff Knight
I do it because PHP tastes more like alligator or rattlesnake, whereas Java tastes too much like chicken. ___ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com

Re: [nyphp-talk] XML to JSON?

2008-01-04 Thread Jake McGraw
Check out: http://www.ibm.com/developerworks/xml/library/x-xml2jsonphp/ On Jan 4, 2008 12:55 PM, Rahmin Pavlovic <[EMAIL PROTECTED]> wrote: > Does anyone know of a clean way to covert XML directly to JSON? > > I'm currently using SimpleXMLElement to convert the tree to JSON, so I'm > wondering i

Re: [nyphp-talk] POSTing with HTTP and PHP

2008-01-04 Thread John Campbell
> Can I send data via HTTP POST with the header() function? No. Generally speaking, the header function sends *response* headers. HTTP POST data is sent as part of a *request* header. I would recommend using curl to create http requests that contain post data. Regards, John Campbell __

[nyphp-talk] XML to JSON?

2008-01-04 Thread Rahmin Pavlovic
Does anyone know of a clean way to covert XML directly to JSON? I'm currently using SimpleXMLElement to convert the tree to JSON, so I'm wondering if I can or if its even worth eliminating the middle-man. ___ New York PHP Community Talk Mailing List ht

Re: [nyphp-talk] POSTing with HTTP and PHP

2008-01-04 Thread Rahmin Pavlovic
Randal Rust wrote: > Can I send data via HTTP POST with the header() function? You'll have to set a variety of headers. Depending on your app, this can become burdensome. You might want to look into something like: http://pear.php.net/package/HTTP_Request _

Re: [nyphp-talk] combining forum and list (Joomla / SMF)

2008-01-04 Thread Allen Shaw
Gary Mort wrote: FUDforum - you can subscribe forums to email lists and crosspost between the two. It has a simple API for logon, so integration with Joomla should be fairly simple. Great, thanks. Any leads on an existing Joomla or SMF plugin that would facilitate easy email subscription to

[nyphp-talk] POSTing with HTTP and PHP

2008-01-04 Thread Randal Rust
I've got a strange project that I'm working on for a school district. Apparently their CGI email program likes to add additional line breaks before processing the body of the email. It has something to do with the user having to indicate line breaks with a ^ symbol. Rather than just bore everyone

Re: [nyphp-talk] combining forum and list

2008-01-04 Thread Gary Mort
Allen Shaw wrote: I'm looking for something similar to the lists/forums at mysql.com, in which forum messages are copied to the list, and list messages are copied to the forums. Anyone here know how they do that, or have clues on how it could be done? I'm helping out with a small community s

Re: [nyphp-talk] combining forum and list

2008-01-04 Thread Khalid Hanif
Hi Allen, FUDForum ( http://fudforum.org/features.php ) has NNTP & Mailing List integration. It's written by Ilia A, one of the PHP Core developers, and has all the features you'd expect from a forum. Regards, Khalid On 4 Jan 2008, at 15:44, Allen Shaw wrote: I'm looking for something sim

[nyphp-talk] combining forum and list

2008-01-04 Thread Allen Shaw
I'm looking for something similar to the lists/forums at mysql.com, in which forum messages are copied to the list, and list messages are copied to the forums. Anyone here know how they do that, or have clues on how it could be done? I'm helping out with a small community site currently runni

Re: [nyphp-talk] PHPThumb -- how does it work??

2008-01-04 Thread David Krings
Jonathan Wagener wrote: Hi, I would like to know how I can make phpthumb work, I don't really understand how it works. How do I make it create thumbnails? Hi! I can't answer your question, but I know about an alternative. You can use exif to read out the thumbnail from jpegs and then display

[nyphp-talk] PHPThumb -- how does it work??

2008-01-04 Thread Jonathan Wagener
Hi, I would like to know how I can make phpthumb work, I don't really understand how it works. How do I make it create thumbnails? Kind regards, Jonathan Wagener Web Developer / Architect Amoeba Business Solutions Cell:+27 72 928 0513 Office: +27 21 785 1424 Web: