Page 1 of 1

javascript and php

Posted: Thu Jul 21, 2011 10:03 am
by shikhar
Hi,

I am new for PHP.

I am trying to perform the operation based on requirement like..

1# user will input a code in textbox.
2# that textbox contains an Ajax function having textbox value as an argument on its 'onblur' event.
3# that Ajax function holds the code entered by the user and pass it to the php script called by Ajax function.
4# then the script returns the value depends on the code from database and put it to the textbox again.

problem is that it is happening in local machine (having XAMP) perfectly. but if i upload it on real world web server it give slow response, or sometime it gets hang and waiting for the response.

please help me. i can show you the code i am using if you need.

shikhar

Re: javascript and php

Posted: Tue Aug 16, 2011 11:03 pm
by danwguy
show us the code you're running now and we can better understand why there is lag or hang on a real world server

Re: javascript and php

Posted: Tue Aug 16, 2011 11:13 pm
by califdon
To the original poster:
Please do not "tail-gate" on someone else's post. When you have a new topic, start your own thread. I have split your question to a new thread.