Jump to content

Action hook to send values to external page


Frankc

Recommended Posts

What I am trying to do is to add a hook where variables are send to an external page for processing via get or post.

 

The page is on other domain and involves creating directories so te hook itself won't be able to do that.

 

hook = get variables (userid, domain) and send to an external page. (Same server, other domain. The database can be updated from either side so it's no problem)

 

Do anybody have some ideas please?

Link to comment
Share on other sites

Thanks Brian but I don't think it will work as it require manual action.

 

I build a website builder system and offer a free trial where the necessary folders and files are automatic created.

 

But hmmm ..... can perhaps do it with a workaround if nobody have any other idea.

 

(Store variables in a table. If user login, check to see if there is userid match, if yes, use that to create the folders etc. Not ideal but will work) (I am by the way deaf and learnt as per my slogan, doing and very seldom asking hehehe)

Link to comment
Share on other sites

Thanks but I already implemented a workaround.

 

Add the database entries via hook with additional "created" field value as NO and if client login, my system create the folders and files and set the created value to Yes.

 

A bit extra database queries but I will try the datafeed suggestion later thanks.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated