Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 27th Jul 2009, 08:30 PM   #1
Warrior Member
 
Join Date: 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Lightbulb
Need help with script integration
Share on: 
fb share twitter share gplus share more share

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.
seeker123 is offline  
Unread 28th Jul 2009, 12:25 AM   #2
Warrior Member
 
Join Date: 2009
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: Need help with script integration
Share on: 
fb share twitter share gplus share more share

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.
die() is offline  
Unread 28th Jul 2009, 12:36 AM   #3
Active Warrior
 
Join Date: 2009
Posts: 89
Thanks: 22
Thanked 23 Times in 20 Posts
Default
Re: Need help with script integration
Share on: 
fb share twitter share gplus share more share

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
avani is offline  
Closed Thread


Bookmarks

Tags
idevaffilate, integration, phpfox, script


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 08:26 AM.