Need help with script integration

2 replies
Does anyone know if it is possible to integrate two php scripts like phpfox and idevaffiliate? I'm trying to do it so that when a person signs up to join the phpfox site, their member information is also written to the idevaffiliate tables in the database, that way they don't have to sign up twice. I know I can hire a programmer but I can't afford it (unless they're willing to accept payments over the course of 4 weeks :rolleyes, and I'm sure I can do it myself if someone could nudge me in the right direction. Any help for someone still learning php? Thanks in advance.
#idevaffilate #integration #phpfox #script
  • Profile picture of the author die()
    All you need to do is perform a MySQL insert in the right table. The problem is, that if you don't do it right, you could be easily hacked. Make sure to at least use mysql_real_escape_string() on the data to be inserted, and better yet would be to use prepared statements. It's really not for you. Pay somebody.
    {{ DiscussionBoard.errors[1024327].message }}
  • Profile picture of the author avani
    You have to take into account the fact that the logins and sessions need to maintained correctly across both programs as well. So when someone logs in from phpfox, and navigates to a idevaffiliate page, the idevaffiliate script needs to know that the user has logged in, and conversely - so you have to set it up carefully.

    I mean to point out that it is more than just ensuring that the insert happens at two tables oat the time of registration.

    This sort of association is called a "bridge", and many popular scripts have bridges written for them (for example, wordpress can be bridged with, say, drupal). These is a somewhat involved exercise in PHP, and I would recommend getting professional help (see if you can get them to show you what's going on as they do it, if you want to learn). I would be happy to assist if you can wait up till next week, you're welcome to send me a PM and we can take it from there.


    Cheers,
    Avani
    {{ DiscussionBoard.errors[1024339].message }}

Trending Topics