Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 52
5 members and 47 guests
affiz4iliate6ec, cliaw9cckhereto, mariacolmanyne3, medaricalddw93g, parttarcts
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
» .:.

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

Reply
 
LinkBack Thread Tools Display Modes
PHP code??
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 18
Join Date: Dec 2004
PHP code?? - 07-11-2005, 12:09 AM

Hi,
sorry iff this is the wrong forum to ask this question. But i just need a few simple lines of php code, and i cant seem to find the right commands. Its rater simple i think. 1st, i have these strings already included: $username, $newpass. I also have this line in a TEXT file:

$username n8427rn873

How can i replace n8427rn873 with $newpass??? And those random characters (encryption) will be different each time the script is exectuted. So is there a way to 'count' right the number of characters in $username? then replace everything after it with $newpass? Maybe some variation of str_replace? Thanks
   
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
need help editing bad code? tones Nuke 7.x - General 2 12-17-2004 04:32 PM
Security Code 01706 nukemods.com 5 11-22-2004 09:55 AM
signing in code varialskate Nuke 6.5 to 6.9 - General 2 08-15-2004 06:25 AM
icon_mini_menu.gif code Xeon Site design 3 08-09-2003 10:57 PM
Need help with code.... Ryetsu Site design 1 01-30-2003 08:23 AM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.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