Re: [PHP] AJAX and PHP

2008-10-06 Thread Ashley Sheridan
On Mon, 2008-10-06 at 17:09 +0200, Alain Roger wrote: > And AFAIK it does not work on linux platform > > On Mon, Oct 6, 2008 at 3:36 PM, Wolf <[EMAIL PROTECTED]> wrote: > > > > > > yes, flex is "flash for developers"; the main language is AS3 and it > > > outputs swf's; flex is basically a progr

Re: [PHP] AJAX and PHP

2008-10-06 Thread Philip Thompson
On Oct 4, 2008, at 7:38 AM, Ashley Sheridan wrote: On Sat, 2008-10-04 at 13:48 +0200, Nitsan Bin-Nun wrote: It depends how much stuff you have in the first div, it there are a lot of images and the user will have to load them again (in case there is no cache) and you care for the traffic tho

Re: [PHP] AJAX and PHP

2008-10-06 Thread Nathan Rixham
> wrote: > yes, flex is "flash for developers"; the main language is AS3 and it > outputs swf's; flex is basically a program which allows you to use mix > of pre-made ui elements & classes, css and AS3 to quickly make great RIA's. Yup, bu

Re: [PHP] AJAX and PHP

2008-10-06 Thread Alain Roger
And AFAIK it does not work on linux platform On Mon, Oct 6, 2008 at 3:36 PM, Wolf <[EMAIL PROTECTED]> wrote: > > > yes, flex is "flash for developers"; the main language is AS3 and it > > outputs swf's; flex is basically a program which allows you to use mix > > of pre-made ui elements & classes

Re: [PHP] AJAX and PHP

2008-10-06 Thread Wolf
> yes, flex is "flash for developers"; the main language is AS3 and it > outputs swf's; flex is basically a program which allows you to use mix > of pre-made ui elements & classes, css and AS3 to quickly make great RIA's. Yup, but you have to have flash enabled. But some of us don't except for

Re: [PHP] AJAX and PHP

2008-10-06 Thread Nathan Rixham
Alain Roger wrote: Alain: The only difference the user experiences between having AJAX, or not, is refreshing the page. If page refresh is not a problem, then don't complicate your life. On the other hand, if page refresh is annoying, or not wanted, then A

Re: [PHP] AJAX and PHP

2008-10-06 Thread Alain Roger
> > Alain: >> >> The only difference the user experiences between having AJAX, or not, is >> refreshing the page. If page refresh is not a problem, then don't complicate >> your life. On the other hand, if page refresh is annoying, or not wanted, >> then AJAX is you're only solution. >> >> But as i

Re: [PHP] AJAX and PHP

2008-10-06 Thread Nathan Rixham
tedd wrote: At 12:10 PM +0200 10/4/08, Alain Roger wrote: HI, i'm currently working on some web application and i would like to know what is the best way to do what i want. basically like all application i have a menu and based on selected item menu i want to display a page (basically 50 % o

Re: [PHP] AJAX and PHP

2008-10-04 Thread Micah Gersten
Per Jessen wrote: > Alain Roger wrote: > > >> So in this case what is the plus for companies like MS, Google (with >> Gmail), flicker and so on to use AJAX ? >> > > For them (and others), it's about the user experience, and ajax is good > at enhancing the user experience. > > >> it is

Re: [PHP] AJAX and PHP

2008-10-04 Thread Per Jessen
Alain Roger wrote: > So in this case what is the plus for companies like MS, Google (with > Gmail), flicker and so on to use AJAX ? For them (and others), it's about the user experience, and ajax is good at enhancing the user experience. > it is on internet, so i guess they have a purpose to do

Re: [PHP] AJAX and PHP

2008-10-04 Thread Robert Cummings
On Sat, 2008-10-04 at 13:38 +0100, Ashley Sheridan wrote: > On Sat, 2008-10-04 at 13:48 +0200, Nitsan Bin-Nun wrote: > > It depends how much stuff you have in the first div, it there are a lot of > > images and the user will have to load them again (in case there is no cache) > > and you care for t

Re: [PHP] AJAX and PHP

2008-10-04 Thread Alain Roger
So in this case what is the plus for companies like MS, Google (with Gmail), flicker and so on to use AJAX ? it is on internet, so i guess they have a purpose to do that. mine is to have a responsive and intuitive interface application whatever it is on internet or intranet. On Sat, Oct 4, 2008 at

Re: [PHP] AJAX and PHP

2008-10-04 Thread Per Jessen
Alain Roger wrote: > Thanks tedd. > basically page refreshin is not a problem for me as it in intranet > application. > however, AJAX offers some really nice thing and 1 from my point of > view it's to reduce the network traffic by limiting what should be > refresh/downloaded. in that way i think

Re: [PHP] AJAX and PHP

2008-10-04 Thread tedd
At 5:39 PM +0200 10/4/08, Alain Roger wrote: Thanks tedd. basically page refreshin is not a problem for me as it in intranet application. however, AJAX offers some really nice thing and 1 from my point of view it's to reduce the network traffic by limiting what should be refresh/downloaded.

Re: [PHP] AJAX and PHP

2008-10-04 Thread Alain Roger
Thanks tedd. basically page refreshin is not a problem for me as it in intranet application. however, AJAX offers some really nice thing and 1 from my point of view it's to reduce the network traffic by limiting what should be refresh/downloaded. in that way i think it is interesting. On Sat, Oct

Re: [PHP] AJAX and PHP

2008-10-04 Thread tedd
At 12:10 PM +0200 10/4/08, Alain Roger wrote: HI, i'm currently working on some web application and i would like to know what is the best way to do what i want. basically like all application i have a menu and based on selected item menu i want to display a page (basically 50 % of this new page

Re: [PHP] AJAX and PHP

2008-10-04 Thread Ashley Sheridan
On Sat, 2008-10-04 at 14:41 +0200, Alain Roger wrote: > On Sat, Oct 4, 2008 at 2:38 PM, Ashley Sheridan <[EMAIL PROTECTED]>wrote: > > > On Sat, 2008-10-04 at 13:48 +0200, Nitsan Bin-Nun wrote: > > > It depends how much stuff you have in the first div, it there are a lot > > of > > > images and the

Re: [PHP] AJAX and PHP

2008-10-04 Thread Alain Roger
On Sat, Oct 4, 2008 at 2:38 PM, Ashley Sheridan <[EMAIL PROTECTED]>wrote: > On Sat, 2008-10-04 at 13:48 +0200, Nitsan Bin-Nun wrote: > > It depends how much stuff you have in the first div, it there are a lot > of > > images and the user will have to load them again (in case there is no > cache) >

Re: [PHP] AJAX and PHP

2008-10-04 Thread Ashley Sheridan
On Sat, 2008-10-04 at 13:48 +0200, Nitsan Bin-Nun wrote: > It depends how much stuff you have in the first div, it there are a lot of > images and the user will have to load them again (in case there is no cache) > and you care for the traffic those images cost - it would be better to use > AJAX. >

Re: [PHP] AJAX and PHP

2008-10-04 Thread Nitsan Bin-Nun
It depends how much stuff you have in the first div, it there are a lot of images and the user will have to load them again (in case there is no cache) and you care for the traffic those images cost - it would be better to use AJAX. But generally - they both okay, I personally would use reload of

[PHP] AJAX and PHP

2008-10-04 Thread Alain Roger
HI, i'm currently working on some web application and i would like to know what is the best way to do what i want. basically like all application i have a menu and based on selected item menu i want to display a page (basically 50 % of this new page is DB result/grid. As usual i have 2 divs, one

Re: [PHP] AJAX and PHP

2008-04-21 Thread Nitsan Bin-Nun
Hi Alain, You can create a mini-db with XML, that contains translations for each of the words you need (if there are 10 words, 50 langs, you got 500 records.. small and useful). HTH, Nitsan On 21/04/2008, Alain Roger <[EMAIL PROTECTED]> wrote: > > Hi, > > i'm playing around with AJAX and PHP to c

Re: [PHP] AJAX and PHP

2008-04-21 Thread Thijs Lensselink
Quoting Alain Roger <[EMAIL PROTECTED]>: in fact i meant by redirecting the following thing : - if user wrote a correct pwd and login, the system should redirect [using header("Location ] syntax to launch the application. but if i use such syntax it will be redirected only into the div#0, a

Re: [PHP] AJAX and PHP

2008-04-21 Thread Alain Roger
in fact i meant by redirecting the following thing : - if user wrote a correct pwd and login, the system should redirect [using header("Location ] syntax to launch the application. but if i use such syntax it will be redirected only into the div#0, and not in the browser itslef. is it clearer

Re: [PHP] AJAX and PHP

2008-04-21 Thread Thijs Lensselink
Quoting Alain Roger <[EMAIL PROTECTED]>: you understood right. basically my problem is that the layout avoid it. here is "something like" my layout : Lanague (label) : all flags login field + pwd field + submit button till now i only use AJAX to refresh the content of div#3 but it does

Re: [PHP] AJAX and PHP

2008-04-21 Thread Alain Roger
you understood right. basically my problem is that the layout avoid it. here is "something like" my layout : Lanague (label) : all flags login field + pwd field + submit button till now i only use AJAX to refresh the content of div#3 but it does not change the label from div#1 when user s

Re: [PHP] AJAX and PHP

2008-04-21 Thread Thijs Lensselink
Quoting Alain Roger <[EMAIL PROTECTED]>: Hi, i'm playing around with AJAX and PHP to create something like a "small desktop" application. basically the first step is to log in the system. for that i have a log-in form where users can choose the interface language. here is my problem : when the

[PHP] AJAX and PHP

2008-04-20 Thread Alain Roger
Hi, i'm playing around with AJAX and PHP to create something like a "small desktop" application. basically the first step is to log in the system. for that i have a log-in form where users can choose the interface language. here is my problem : when the log-in form runs, it is in English. user ca

Re: [PHP] Ajax and PHP: XMLHTTP

2006-09-11 Thread Arpad Ray
Micky Hulse wrote: Can I replace the above with some sort of XMLHTTP request? As noted, that's a javascript question. However your PHP code is vulnerable to XSS attacks; you should at least encode the output with htmlspecialchars() so that URLs like "foo.php/alert('hi');" are safe. eg. A

[PHP] Ajax and PHP: XMLHTTP

2006-09-10 Thread Micky Hulse
Can I replace the above with some sort of XMLHTTP request? Googling now... thought I would ask here first. Any good links to tuts that might cover that sort of thing? Kinda thinking about plugging some Ajax into a random image php script. TIA. :) Cheers, Micky -- Wishlist: