|
about a file
|
|
08-25-2009, 05:49 PM
Post: #1
|
|||
|
|||
|
about a file
ok i had the file found for what i am doing but i lost the file and dont remember which one it was
![]() it is the file that has all the case in it for the tht to go into the databases and get the posts of the username for the hosting packages so if someone could help me out i would like it
|
|||
|
08-25-2009, 05:52 PM
(This post was last modified: 08-25-2009 05:52 PM by Kevin.)
Post: #2
|
|||
|
|||
|
RE: about a file
Are you looking for:
Code: includes/types/p2h.php
Kevin Mark - TheHostingTool Lead Developer |
|||
|
08-25-2009, 07:28 PM
(This post was last modified: 08-25-2009 08:06 PM by pkdemon.)
Post: #3
|
|||
|
|||
|
RE: about a file
hmmm i looked in there but i must have looked over what i was looking for hehe
i am good at doing that lol ok i am working on the coding and as i am looking at the other ones that is listed they use a salt but with this php fusion it uses a double md5 hash md5(md5('password')) and i am trying to get the part coded where it checks in the sign up part and i have got some of it coded and i am stuck on how to add this double md5 hash in but here is what i go so far done Code: case "php fusion":i know it isnt much but i am trying and i got stuck
|
|||
|
08-26-2009, 04:08 AM
Post: #4
|
|||
|
|||
|
RE: about a file
You need to also edit the signup and the monthly posts and the acp page so it adds php fusion in the first place. Are you sure your able to do this?
With the code above, check the password as you started doing. It password is right, check the posts. Jonny H - THT Main Developer & Founder |
|||
|
08-26-2009, 10:28 AM
Post: #5
|
|||
|
|||
|
RE: about a file
this is the part i am talking about where i am stuck on
this is from the aef and part of the check sign up code Code: $member = mysql_fetch_array($result);what i am lost is where it does the Code: if(md5($member['salt'] . $fpass) == $member['password'])b/c php fusion dont use the salt so would i just replace the salt with md5 ? |
|||
|
08-26-2009, 12:45 PM
Post: #6
|
|||
|
|||
|
RE: about a file
Yes, so...
PHP Code: if(md5($member['salt'] . $fpass) == $member['password']) PHP Code: if(md5(md5($fpass)) == $member['password']) Kevin Mark - TheHostingTool Lead Developer |
|||
|
08-26-2009, 04:56 PM
(This post was last modified: 08-26-2009 05:10 PM by pkdemon.)
Post: #7
|
|||
|
|||
|
RE: about a file
ok thanks kevin i will try it and see if i can get it to work then and will post back on it
![]() ok for some reason i am getting an error in the case Parse error: syntax error, unexpected T_CASE in /home/post/public_html/client/includes/types/p2h.php on line 431 this is line 431 Code: case "fusion": |
|||
|
08-26-2009, 06:55 PM
Post: #8
|
|||
|
|||
|
RE: about a file
It's probably a syntax error on the line before 431. Can you post what you have before that?
Kevin Mark - TheHostingTool Lead Developer |
|||
|
08-26-2009, 07:30 PM
Post: #9
|
|||
|
|||
|
RE: about a file
ok i got that error fixed i didnt see it at the time but at the break above the code it was missing the ";"
but now i got it working i am trying to make a client account and it is saying i dont have the 10 posts for it so i am going to post what i have got made and see what you think about it plus i will post the info for the database like how the username is set up the way to find the member id in the posts in the database ok here is the code for the monthly check Code: case "fusion":and then here is the code for for the check sign up Code: case "fusion":here is a screen shot of the fusion_posts ![]() here is a screen shot of the fusion_users
|
|||
|
08-26-2009, 07:33 PM
Post: #10
|
|||
|
|||
|
RE: about a file
Try this:
PHP Code: case "fusion":Kevin Mark - TheHostingTool Lead Developer |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)



![[Image: tv.png]](http://twitstamp.com/conquerhosting/tv.png)



![[Image: standard.png]](http://twitstamp.com/kmark937/standard.png)
![[Image: standard.png]](http://twitstamp.com/thehostingtool/standard.png)
![[Image: poststuff.jpg]](http://i9.photobucket.com/albums/a61/warthogchevy69/poststuff.jpg)