From: "Matthew Macdonald-Wallace"
Joseph Harris wrote:
Thanks for that clarity Matt. I'm going to print that out so I can
find it next time ;-). Thanks also for the offer to have a look at it.
http://www.qualityunit.com/postaffiliate/download.html is the download
point (very small file).
[Sorry to be so slow in getting back to you, just got back from
hospital].
Even slower this time!
Nothing serious I trust?
No, just for a minor problem. But today was tooth extraction day!
I've downloaded the file from the website, installed it, configured it and
it worked first time I'm sorry to say.. :(
I'm more relieved, really, that it might work for me...
Interesting piece of software, it appears to store all passwords in the
database as plain text. I'd be inclined to chnge the code so it encrypts
them either on the client site or on the server side first unsing
something similar to MD5 hashing, but there we go... :)
...But I would welcome a bit of guidance on how to do that; i.e. where
should the code go, and what might be a good script [I imagine PHP Classes
would be a good place to find one].
I note the rest of your advice for which thanks.
Joseph
Looking back at your errors (and having now browsed the code!), I'd
recommend the following:
1) Check the permissions on the directories. Windows permissions can make
a difference to the IIS permissions if I recall correctly. Ideally, you
want the equivalent of:
World - Read
Group - Read
Owner - Read and Execute
2) The installation instructions are wrong. The include statement should
be:
include("affiliates.php");
note the difference? I'm using () to encase the file name.
In any case, you should use require_once() to avoid using up to many
resources.
3) Make sure that affconfig.php is set up correctly. If these files are
not in the root directory of your server, make sure that you specify this
in the config files. Also, check that your username and password for the
database are correct. DONT USE THE DEFAULTS!!!
4) If all else fails, switch to unix/linux/BSD. It's just better... ;)
[1]
Hope some of this helps,
Cheers,
Matt
[1] Sorry, couldn't resist! :)
____ The WDVL Discussion List from WDVL.COM ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
Send Your Posts To: [email protected]
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk
________________ http://www.wdvl.com _______________________
You are currently subscribed to wdvltalk as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016
Please include the email address which you have been contacted with.