Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #25659
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.albasani.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail |
|---|---|
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: can javascript post a link to a php file? |
| Date | Sat, 09 Aug 2014 10:44:01 +0200 |
| Organization | PointedEars Software (PES) |
| Lines | 34 |
| Message-ID | <1689703.Okl4DyZsQU@PointedEars.de> (permalink) |
| References | <cdi2zsntrsgw$.1mqa5pfr9je79$.dlg@40tude.net> <090820140850200399%timstreater@greenbee.net> |
| Reply-To | Thomas 'PointedEars' Lahn <cljs@PointedEars.de> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="ISO-8859-1" |
| Content-Transfer-Encoding | 7Bit |
| X-Trace | solani.org 1407573843 23571 eJwNysEBwCAIA8CVKJAg47Ro9h/B3vsQfDiVBBOCDrOk4/5NtbFiuHaltGjzBxunbQEdpv32BR5lERs= (9 Aug 2014 08:44:03 GMT) |
| X-Complaints-To | abuse@news.solani.org |
| NNTP-Posting-Date | Sat, 9 Aug 2014 08:44:03 +0000 (UTC) |
| User-Agent | KNode/4.12.4 |
| X-User-ID | eJwNykcBwDAMA0BKGZ5wYtniD6G99+m1bXAxNVEq4bAeDqucUVdnICU7zdnWC6v+4IJYwmDlOQHipb9sffoBm9sXLg== |
| Cancel-Lock | sha1:UxPy46wfGDCUUAqpfTqMlNX5AOg= |
| X-NNTP-Posting-Host | eJwFwYEBwCAIA7CXhlKQc6SV/09Ygh0WTA+EYzCn3lrF9dlNeZN6srur8Qqa8e4Eg8rkkeoHLoESMw== |
| Xref | csiph.com comp.lang.javascript:25659 |
Show key headers only | View raw
Tim Streater wrote: > richard wrote: >> In the script for the html5 audio player I am using, there is a bit of >> code that changes the active "<li>" class to "playing". >> It is at this point in time I need to send a bit of information to a php >> file to update the database with. >> What could I use to do this with? > > ajax, (_AJAX_, Asynchronous JavaScript and XML) is a misnomer. In this case, it does not have to be asynchronous, it does not have to be JavaScript, and it does not have to be XML; the request can be handled synchronously, the programming language can be JScript, for example, and the data format to be used should be JSON, if any. > aka httprequest is insufficient a term/hint. The proper term and more helpful hint is _XMLHttpRequest_ or _XMLHTTPRequest_, commonly abbreviated XHR. > You need to make one. He needs (the client) to make an _HTTP request_, and can do that with XHR, *for example*. He should stop abusing domains, too, see <http://example.com/>. -- PointedEars FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/> Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix> Please do not Cc: me. / Bitte keine Kopien per E-Mail.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
can javascript post a link to a php file? richard <noreply@example.com> - 2014-08-08 20:15 -0400
Re: can javascript post a link to a php file? Tim Streater <timstreater@greenbee.net> - 2014-08-09 08:50 +0100
Re: can javascript post a link to a php file? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-08-09 10:44 +0200
Re: can javascript post a link to a php file? Tim Streater <timstreater@greenbee.net> - 2014-08-09 09:52 +0100
Re: can javascript post a link to a php file? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-08-09 11:02 +0200
Re: can javascript post a link to a php file? richard <noreply@example.com> - 2014-08-09 09:05 -0400
Re: can javascript post a link to a php file? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-08-09 16:12 +0200
Re: can javascript post a link to a php file? Evan Platt <evan@theobvious.espphotography.com.invalid> - 2014-08-09 08:35 -0700
csiph-web