Loading a PHP file/code via Javascript.

This is a discussion on Loading a PHP file/code via Javascript. within the PHP Language forums, part of the PHP Programming Forums category; Simon wrote: > As we all know, JavaScript is client side and php is server side, (the php > code ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #11 (permalink)  
Old 03-05-2006
google@impliedbydesign.com
 
Posts: n/a
Default Re: Loading a PHP file/code via Javascript.


Simon wrote:
> As we all know, JavaScript is client side and php is server side, (the php
> code is 'allowed' to do stuff on the server that JavaScript cannot).
> The problem with php is that it timeout after a while, (and the user also
> has no clue as to what is going on for a long time).
> I need to run a script on the server that could take a very long time.
> That way the server does the work, while the client keeps it going.
> Ideally I would also get a return value/string from the php script.
> How could I achieve something like that?


Hello Simon,

I've put together a free, very simple AJAX tool that you can use to
accomplish the client / server information transfer:

Super AJAX Programming Seed
http://www.impliedbydesign.com/super...ming-seed.html

Chris S.

Free Web Design Tools
http://www.impliedbydesign.com/free-...e-scripts.html

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 12:18 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0