Lost Password?


Go Back   CodeCall Programming Forum > Web Development Forum > Website Design

Website Design Forum for discussing flash, graphics, fonts, video and music! Have a question about how to implement something into your website? Ask here.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-15-2008, 01:24 PM
phpforfun's Avatar   
phpforfun phpforfun is offline
Programming God
 
Join Date: Feb 2008
Posts: 915
Last Blog:
Programming "Just a ...
Rep Power: 11
phpforfun will become famous soon enoughphpforfun will become famous soon enough
Default PHP Cross Reference of Joomla

PHPXRef 0.7 : Joomla 1.0.15 DE : /

Ever use joomla and try to edit the script and find a function you need to define but cant find it? I did, I couldnt find how to define 'mosmakepassword()'. So I googled it, found this site, thought id give it a shot.. It said this.

Quote:
Function and Method Cross Reference
mosmakepassword()
Defined at:

* /installation/common.php -> line 47
* /includes/joomla.php -> line 4141

Referenced 16 times:

* /administrator/components/com_users/admin.users.php -> line 312
* /administrator/components/com_users/admin.users.php -> line 314
* /administrator/components/com_users/admin.users.php -> line 320
* /administrator/components/com_users/admin.users.php -> line 335
* /includes/joomla.php -> line 1077
* /includes/joomla.php -> line 6138
* /components/com_user/user.php -> line 124
* /administrator/index.php -> line 89
* /installation/install3.php -> line 196
* /components/com_registration/registration.php -> line 80
* /components/com_registration/registration.php -> line 88
* /components/com_registration/registration.php -> line 148
* /components/com_registration/registration.php -> line 159
* /CHANGELOG.php -> line 491
* /installation/install4.php -> line 201
* /installation/install4.php -> line 226
It gives you every time its defined and every time its used by default, thats awesome.

then you click on the function, and it shows it to you:
Quote:
function mosMakePassword($length) {
$salt = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVW XYZ0123456789";
$len = strlen($salt);
$makepass="";
mt_srand(10000000*(double)microtime());
for ($i = 0; $i < $length; $i++)
$makepass .= $salt[mt_rand(0,$len - 1)];
return $makepass;
}
I just figured that this would be great for joomla users
__________________

Last edited by phpforfun; 07-15-2008 at 01:30 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 11-03-2008, 07:45 AM
antoniyo antoniyo is offline
Learning Programmer
 
Join Date: Oct 2008
Posts: 55
Rep Power: 0
antoniyo can only hope to improve
Default Re: PHP Cross Reference of Joomla

Well how do you know that PHP Cross Reference of Joomla, by the way i already knew that but it is nice to here same thing from another . thanks for sharing.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 11-03-2008, 07:49 AM
Jordan's Avatar   
Jordan Jordan is online now
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Posts: 9,551
Last Blog:
Ext JS or Ext GWT
Rep Power: 20
Jordan is just really niceJordan is just really niceJordan is just really niceJordan is just really nice
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan
Default Re: PHP Cross Reference of Joomla

Not bad, thanks. For Joomla 1.5 you can use the developer network: Joomla! Developer Network

You do realize that Joomla 1.0.x has announced the EOL in July (Check out my blog)?
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog
The CodeCall Wiki is now fully integrated with vBulletin users! Check it out and add some new pages!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Project: ionFiles - Joomla Simple File Download Jordan Community Projects 331 11-26-2008 12:35 PM
PHP 5 and OOP Jordan PHP Tutorials 11 09-22-2008 02:58 AM
Tutorial : Joomla! The Basic takercena Tutorials 4 02-23-2008 12:06 AM


All times are GMT -5. The time now is 04:15 PM.

Contest Stats

WingedPanther ........ 2753.6
Xav ........ 2704
Brandon W ........ 1702.32
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 966.05
dcs ........ 655.75
Steve.L ........ 475.59
orjan ........ 418.58
Aereshaa ........ 383.54

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 100%


Complete - Celebrate!

Ads