Re: [PHP] Ajax please....

2006-04-09 Thread Michael Felt
tedd wrote: Ryan: Carlin Bingham / Tedd: --- Yes, but then I would have to reload the whole page just to tell the person that the account username was already taken...thats how its traditionally done...but I want to try doing it without reloading the whole page...hence

Re: [PHP] Ajax please....

2006-04-09 Thread tedd
At 8:13 PM +0200 4/9/06, Michael Felt wrote: And I thought Ajax was a Dutch Football (soccer) team. :P It isn't?? tedd -- http://sperling.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Ajax please....

2006-04-09 Thread Ryan A
And I thought Ajax was a Dutch Football (soccer) team. :P It isand a very good dish washing detergent too (and yes, I am a bachelor :-D ) Cheers, Ryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Ajax please....

2006-04-08 Thread Rasmus Lerdorf
Rasmus Lerdorf wrote: ?php if(!empty($_POST['loc'])) { $src = http://api.local.yahoo.com/MapsService/V1/mapImage?appid=YahooDemo;; $src.= location=.urlencode($_GET['loc']). output=phpimage_width=300image_height=300zoom=7; header(Content-type: application/x-json); echo

Re: [PHP] Ajax please....

2006-04-08 Thread Ryan A
Hey all, first of all; a big thank you to all of you for replying, rather than mix up my replies to all of you I will write my response to you under your name as I have gotten so many different leads/opinions/views. One last requirment I forgot to mention before was that I wanted to work with PHP

Re: [PHP] Ajax please....

2006-04-08 Thread tedd
Ryan: Carlin Bingham / Tedd: --- Yes, but then I would have to reload the whole page just to tell the person that the account username was already taken...thats how its traditionally done...but I want to try doing it without reloading the whole page...hence Asynchronous

Re: [PHP] Ajax please....

2006-04-08 Thread Ryan A
Hey CLIP Carlin Bingham / Tedd: --- Yes, but then I would have to reload the whole page just to tell the person that the account username was already taken...thats how its traditionally done...but I want to try doing it without reloading the whole page...hence Asynchronous

Re: [PHP] Ajax please....

2006-04-08 Thread Manuel Lemos
Hello, on 04/08/2006 10:53 AM Ryan A said the following: Carlin Bingham / Tedd: --- Yes, but then I would have to reload the whole page just to tell the person that the account username was already taken...thats how its traditionally done...but I want to try doing it

Re: [PHP] Ajax please....

2006-04-08 Thread Ryan A
Hey, clip There is a misunderstanding here. The X does not necessarily means generic XML. It may mean XHTML. Anyway, an AJAX request may server any type of data. Another point is that AJAX does not mean necessarily using XMLHttpRequest objects . As you may read in the Wikipedia definition, many

Re: [PHP] Ajax please....

2006-04-08 Thread Robert Cummings
On Sat, 2006-04-08 at 14:40, Manuel Lemos wrote: Hello, on 04/08/2006 10:53 AM Ryan A said the following: Carlin Bingham / Tedd: --- Yes, but then I would have to reload the whole page just to tell the person that the account username was already taken...thats how

Re: [PHP] Ajax please....

2006-04-08 Thread Ryan A
On Sat, 2006-04-08 Robert Cummings wrote: [-- SNIP PIMPING OF IFRAMES --]HEHHEHE funnyI started picturing a guy with loud colors, a big hat and live fish in his heels...LOLCheers,Ryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Ajax please....

2006-04-08 Thread Manuel Lemos
Hello, on 04/08/2006 04:23 PM Ryan A said the following: Hey, clip There is a misunderstanding here. The X does not necessarily means generic XML. It may mean XHTML. Anyway, an AJAX request may server any type of data. Another point is that AJAX does not mean necessarily using

Re: [PHP] Ajax please....

2006-04-08 Thread Manuel Lemos
Hello, on 04/08/2006 04:13 PM Robert Cummings said the following: I'm probably just having a bowel movement or something, but I think going with a lib that supports either iframe or xmlhttprequest interchangeably is probably the way to go. While iframe may have more features and less

Re: [PHP] Ajax please....

2006-04-08 Thread Satyam
May I supply this very little example to show how easy it can be to use iFrame? This is the first document: iframe id=myFrame/iframe input type=button value=go onclick=document.getElementById('myFrame').src='second.htm' / div id=myDiv/div It just has an iframe, an action button, which sets

Re: [PHP] Ajax please....

2006-04-08 Thread Greg Beaver
Robert Cummings wrote: On Sat, 2006-04-08 at 14:40, Manuel Lemos wrote: Hello, on 04/08/2006 10:53 AM Ryan A said the following: Carlin Bingham / Tedd: --- Yes, but then I would have to reload the whole page just to tell the person that the account username was already

Re: [PHP] Ajax please....

2006-04-08 Thread Robert Cummings
On Sat, 2006-04-08 at 15:54, Manuel Lemos wrote: Hello, on 04/08/2006 04:13 PM Robert Cummings said the following: I'm probably just having a bowel movement or something, but I think going with a lib that supports either iframe or xmlhttprequest interchangeably is probably the way to go.

[PHP] Ajax please....

2006-04-07 Thread Ryan A
Hey, Just been googleing and trying out different AJAX frameworks..: From PEAR HTML_AJAX Gauva My-Bic AjaxAC and quite a few moreand it happened, I confused myself :-( For some reason HTML_AJAX is not working on my local machine (windows based, I am getting runtime errors with the examples)

Re: [PHP] Ajax please....

2006-04-07 Thread Rasmus Lerdorf
Ryan A wrote: Just been googleing and trying out different AJAX frameworks..: From PEAR HTML_AJAX Gauva My-Bic AjaxAC and quite a few moreand it happened, I confused myself :-( For some reason HTML_AJAX is not working on my local machine (windows based, I am getting runtime errors with

Re: [PHP] Ajax please....

2006-04-07 Thread tedd
At 2:21 AM +0200 4/8/06, Ryan A wrote: This is what i want to use it for: Client comes to site, wants to make an account, I check if the username he entered is not already in use, if already in use I print out a failute message in red on the screen if not in usei make his account and print

Re: [PHP] Ajax please....

2006-04-07 Thread Carlin Bingham
Just use PHP to do it. To check if an account with that username exsists just use the mysql_num_rows function and a 'die' statement. Then use SQL/PHP code to log the information in a database and just echo the success text at the bottom of your code. Simple. On 3:21:47 am 08/04/2006 Ryan A