dbTalk Databases Forums  

How to send a hit to a PHP web service

comp.databases.ms-access comp.databases.ms-access


Discuss How to send a hit to a PHP web service in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
WebEDI
 
Posts: n/a

Default How to send a hit to a PHP web service - 06-07-2010 , 07:50 AM






Hi - I'd like access to pass the date & time to a PHP web service.
Something like: http://www.website.co.uk/php_script....42:00-7-Jun-10

The web service will update a field in a MySQL database with the data
that is passed to it, in this case '13:42:00-7-Jun-10'
There will also be a script that runs on a cron every hour checking
this date, and if it hasn't been updated, then it sends a text to my
mobile phone saying the system has crashed.
Pretty cool, I'm sure you'll agree!

I know what your thinking, why not just connect access directly to the
mysql table via odbc - the reason is I have 4 seperate databases I
want to monitor, so I want to log them all in one database to keep it
neat and tidy.

I can do all the PHP stuff no problem - trouble is, how do I get
access to fire the website hit without opening a browser?? Happy to
shell out to windows if this is an option.

Must be a common question but I can't seem to find the answer
anywhere, so has anyone got any ideas??

Cheers
Graeme.

Reply With Quote
  #2  
Old   
David W. Fenton
 
Posts: n/a

Default Re: How to send a hit to a PHP web service - 06-07-2010 , 02:12 PM






WebEDI <google (AT) webedi (DOT) co.uk> wrote in
news:0ac01d04-084a-49cc-b3fc-b5d7ff8c010f (AT) r27g2000yqb (DOT) googlegroups.co
m:

Quote:
how do I get
access to fire the website hit without opening a browser??
A web browser control would do the job, as well as displaying any
results from the command. You can also examine in code the content
returned.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/

Reply With Quote
  #3  
Old   
rkc
 
Posts: n/a

Default Re: How to send a hit to a PHP web service - 06-09-2010 , 07:39 PM



On Jun 7, 8:50*am, WebEDI <goo... (AT) webedi (DOT) co.uk> wrote:
Quote:
Hi - I'd like access to pass the date & time to a PHP web service.
Something like:http://www.website.co.uk/php_script....42:00-7-Jun-10
Take a look at the article at:

http://www.utteraccess.com/wiki/inde...pRequest_Class

for a fairly simple solution.

Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.