Re: Verification Image passed back through AJAX call



KDawg44 wrote:
Hi,

I would like a verification image for new sign ups on a website. Is
there a way to call the PHP script through an AJAX call and have the
image passed back and then display? Is there a way to pass the image
serialized back to the browser and then displayed? (or something like
that?)

I know that I do not need to do it this way but I am wondering if its
possible.

Thanks.

Kevin

If you're using PHP to dynamically generate the image, using GD or something, you simply access the script as a normal image. Requesting the image itself shouldn't necessitate an asynchronous request. If you want to use "ajax", you might consider sending the user's code for validation via the request object.

--
Curtis (http://dyersweb.com)
.



Relevant Pages

  • Re: Display "waiting" pages while long running operations complete
    ... You could definitely achieve some thing like this using AJAX, ... server's busy working on their request. ... As it says in the title, I'm looking for a way to display a page while ... That "waiting" page would periodically poll to see if the main ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How to send data a little at a time?
    ... How can I get the PHP script to output data to let the user know that it's checking? ... If you want to make an AJAX request it is far easier than flushing the output. ...
    (comp.lang.php)
  • Verification Image passed back through AJAX call
    ... I would like a verification image for new sign ups on a website. ... there a way to call the PHP script through an AJAX call and have the ... image passed back and then display? ...
    (comp.lang.php)
  • Re: Verification Image passed back through AJAX call
    ... I would like a verification image for new sign ups on a website. ... there a way to call the PHP script through an AJAX call and have the ... image passed back and then display? ... Ajax is overkill - just request a new image bound to the session using ...
    (comp.lang.php)
  • Re: Updated Javascript Best Practices document
    ... synchronization problems using Ajax. ... timing issues by creating a request "list", ... accessible to the sendthe call-backfunction of each request. ...
    (comp.lang.javascript)