Results 1 to 6 of 6
Thread: Ajax and PHP
-
11-09-2012, 02:30 PM #1Newbie
- Join Date
- Jan 2012
- Posts
- 7
Ajax and PHP
Hello,
I am making something which will get a log file from SFTP and keep refreshing it every second and display it on a page, is it possible and how?
Thanks
If its easier please add me on skype: tombath10
-
11-09-2012, 03:09 PM #2Newbie
- Join Date
- Jan 2012
- Posts
- 7
Bump. Im paying...
-
11-09-2012, 04:29 PM #3New Member
- Join Date
- Mar 2006
- Posts
- 4
First you have to create the script with the SFTP connection and grab the log file that you need.
Then you create a html page, and call the script through an AJAX call which will display the log. You then set an interval function in Javascript that will do the AJAX call every x second.
I'm not sure it's the best way to do it because you want it to display the data every second. The process will need some optimization in order to do so.
-
11-09-2012, 04:53 PM #4Newbie
- Join Date
- Jan 2012
- Posts
- 7
-
11-09-2012, 04:54 PM #5New Member
- Join Date
- Mar 2006
- Posts
- 4
I know how to do it, and I could also try to make it refresh but I can't guarantee it will be every second (maybe every 2 or 3 seconds minimum).
-
11-09-2012, 05:14 PM #6Newbie
- Join Date
- Jan 2012
- Posts
- 7
Similar Threads
-
Need help in Ajax with PhP
By fredrikrob in forum Programming DiscussionReplies: 10Last Post: 04-18-2012, 01:02 PM -
php and ajax
By mohammadi in forum Programming DiscussionReplies: 5Last Post: 11-30-2010, 06:12 AM -
Team of programmers available for hire(php,ajax,wp,joomla,ajax ,asp,flash,js, etc)
By Veterans in forum Employment / Job RequestsReplies: 1Last Post: 07-04-2010, 08:16 AM -
Need PHP/MySQL/AJAX Developer for PHP Deal Listing Website
By BrianF in forum Employment / Job OffersReplies: 15Last Post: 02-14-2010, 06:10 AM -
Available-Ex team of offshore web designers & php coders,Ajax,joomla,OSC,custom php
By gwsolutions in forum Employment / Job RequestsReplies: 0Last Post: 08-18-2007, 12:13 AM