|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Call PHP script from window login script (VBS?)
Not too sure what forum to put this in, but basically I have a VBS script set to run on logon, that takes the username, computer name and time/date when the user logged on to windows.
I want to insert this into MySQL without needing ODBC drivers on every workstation, so I figure a solution would be for the VBS script to 'trigger' via HTTP the running of a server-side PHP script and send it the parameters, so that the PHP script can insert them into a MySQL table. So really its a VBS question, although I'd be happy with the same script in any other language if thats possible... |
|
#2
|
||||
|
||||
|
just add the variables to the http request in a query string.
http://domain.com/tracker/?comp=foo&user=bar the time and date you can capture on the server. you might want to restrict the access to this page by IP so that you don't ever get erronius hits.
__________________
There's no limit to what you can accomplish as long as you don't care who gets the credit. |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > Call PHP script from window login script (VBS?) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|