Problem with php script I bought

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ghank
Forum Commoner
Posts: 35
Joined: Tue Apr 06, 2004 3:21 pm

Problem with php script I bought

Post by ghank »

I bought this cool script which helps with reciprocal link exchanging. Only problem is that it only allows for 1 of my links. It will automatically check if my link is on somebody's page periodically and when they fill out a form for a link exchange. But I would like it to check a few different URLs because I like people to link to various pages. Below is the code. The backlink is the table row name and value is my URL ie. http://mydomain.com. Any ideas how I can plug a few domains into the code?

Code: Select all

list($code,$message)=checkURL($pvї'reciprocal'],$configї'backlink']ї'value']);
        if ($code>0) $errorsї]='Please check reciprocal URL : unable to connect';
        elseif ($code==-1) $errorsї]='Please check reciprocal URL : '.$message;
        elseif ($code==-3) $errors&#1111;]='Link back to our site is not found at <b>'.$pv&#1111;'reciprocal'].'</b>';
The script is about 10 pages and some is codelocked. 3 have the backlink and URL in it so my guess it is here that it can be done. Thanks in advance for looking!
User avatar
ol4pr0
Forum Regular
Posts: 926
Joined: Thu Jan 08, 2004 11:22 am
Location: ecuador

Post by ol4pr0 »

Did you try mailing the person/site who made that script ?
ghank
Forum Commoner
Posts: 35
Joined: Tue Apr 06, 2004 3:21 pm

Post by ghank »

Yah, he said it is not possible, but I think he is being lazy.
User avatar
werlop
Forum Commoner
Posts: 68
Joined: Sat Mar 22, 2003 2:50 am
Location: /dev/null

Post by werlop »

If you bought the script you shouldn't post the code on this forum.
jslick
Forum Commoner
Posts: 35
Joined: Wed Jul 21, 2004 11:18 am

Post by jslick »

You shouldn't have bought the script.
ghank
Forum Commoner
Posts: 35
Joined: Tue Apr 06, 2004 3:21 pm

Post by ghank »

I only posted a few lines from maybe 2000 lines. Yes I should have bought the script, just would like to customize it a little.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

you should be able to cycle that code through a database query loop with each of the links and stuffs..
Post Reply