Hi,
I need to launch a external script when a new user is recorded.
I have just create a module with hook_user_insert and I need to add code for launching a script outside drupal with this :
http://url/adduser.php?sessid=$account->my_var
How can I write this code inside my module ?
Regards,

Comments

Jaypan’s picture

You can use drupal_http_request().

zorax’s picture

Thanks a lot, it works.
Regards,