» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 46
1 members and 45 guests
koligansis
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
Tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
Football Betting - best nfl betting promotions at sportsbook.com.
Oral Chelation - initial cleansing of your veins & arteries
Portatiles - Ofertas en Ordenadores y Portatiles. Increibles Ofertas DELL.

Register Now! Contact Us

About this Page
This is a discussion on place username in external file within the Nuke 7.x - Modules forums, part of the PHP-Nuke 7.x category; HI, I have a DC hub running on my server as well as my php site. What i want to ...



Go Back   Nukemods Forum » PHP-Nuke 7.x » Nuke 7.x - Modules

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-03-2005, 01:19 AM
Junior Member
 
Join Date: Dec 2004
Posts: 18
place username in external file
HI, I have a DC hub running on my server as well as my php site. What i want to do is have my website also place the username and password into an external file. This way as a user registers his/her username and password is also placed into another file called "reglist2". the hub also uses MD5 encryption, so this is good. So this is the code i have written up. I placed this section of code after the "finishnewuser function"
Code:
function odch($filename, $content, $fw, $fp, $username, $new_password) {
$filename = "~/opendchub/reglist2.txt";
$content = "$username $new_password 0\n\r";
$fp = fopen($filename, "a");
$fw = fwrite($fp, $content);
fclose($fp);
}
This should place the username and password into the file reglist2.txt correct? or are there errors? Thanks in advance
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Block that links to an external site. chriss366 Nuke 7.x - Blocks 1 12-22-2006 07:16 AM
username and email in use Pinball Nuke 7.x - General 0 10-17-2006 07:38 PM
What file do I place a google ad on? RMRuler Open topics 2 05-13-2006 12:56 PM
I'm not sure if this is the right place to post this. ohl Other "stuff" 0 05-14-2003 09:26 AM
How to Place the Banner ? byron Purged Topics 5 12-29-2002 06:26 AM


All times are GMT -5. The time now is 08:27 PM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31