Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By zorax on
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
You can use drupal_http
You can use drupal_http_request().
Thanks a lot, it works.
Thanks a lot, it works.
Regards,
www.almedestudio.com