Re: asynchronous PHP



Lawrence Krubner wrote:
The server I'm working on right now allows PHP scripts to run for 300
seconds.

That's a long time. The out of the box default is 30 seconds.

I need to get around that. I'm writing a script that pings
the Google Ajax API. The script is called as a cron job. It needs to
make over 100,000 queries against Google.

Consider set_time_limit.

However don't you think that 100,000 hits against google at once might just
be a tad over their TOS limits?

(My other option is to maybe write a macro for FireFox so that the
browser on my home machine fires off a bunch of AJAX requests to PHP
scripts that are on my server, but that seems like a hell of a hack,
and quite fragile too.)

What exactly are you doing?


.



Relevant Pages

  • Re: Fragen an MacSOUP-Kenner
    ... > aktuelleren Artikeln klappt). ... Default-Browser einen Suchbefehl mit der MID für Google Groups. ... | No responsibility is taken for any damage caused by this script. ... | 0.2 First Try was by far too complicated, ...
    (de.comp.sys.mac.internet)
  • Re: seo uk
    ... On every generated page there was a link to chembuddy and to the main script page. ... Knowing Google behaviors I have never expected the script to be deeply indexed, however, I was interested what will happen to the PR of the main script page. ... http://www.chembuddy.com - chemical calculators for labs and education ...
    (alt.internet.search-engines)
  • Re: crontab last day shell script
    ... Why in the name of Socrates' stained toga do search engines not ... was a rather simple script for executing some task (the ... I am really feeling google groups' usability is ... half the posts are "collapsed" and I have to go through and expand them. ...
    (comp.unix.shell)
  • Re: From one queue to another!!!!! What an American nightmare!!!
    ... such advertisement at the moment are google and msn. ... To attract revenue ... that this guys script assigns titles like Junior Member to our aliases ... cheats like these employ to scam money out of google and msn, ...
    (misc.immigration.usa)
  • Re: Fox 5 Closed Captions never show "never"
    ... differes from the closed captions, so I have to assume these are built ... So if it comes from a script, ... google, google, google. ... The BBC does in fact have an automated voice ...
    (rec.arts.tv)