PHP Help (I'm Offering!)

Discussion in 'Scripts, 3rd Party Apps, and Programming' started by chris218, Jul 5, 2006.

  1. Chris Z

    Chris Z Active Member

    Messages:
    5,603
    Likes Received:
    0
    Trophy Points:
    36
    ok maybe you could make something that would log into my cPanel and find the bandwidth and refer to that file...THANK YOU SO MUCH one more ? lol sorry but step six (6) open db.sql, where it says INSERT INTO dl_users, find md5('admin') and relplace admin with your cp password) kinda confuses me...can you explain a bit more? THANK YOU SIR!
     
  2. chris218

    chris218 New Member

    Messages:
    130
    Likes Received:
    0
    Trophy Points:
    0
    whole line is the bellow

    Code:
    INSERT INTO `dl_users` VALUES (1,'admin',MD5('admin'),1,1);
    it is line 10

    in that line, find MD5('admin')

    change the admin bit to your log in password.

    As for logging into your cpanel, its not that easy... They will be some backend method floating about somewhere, I'm sure..
     
    Last edited: Jul 6, 2006
  3. Chris Z

    Chris Z Active Member

    Messages:
    5,603
    Likes Received:
    0
    Trophy Points:
    36
    ok THANK YOU SO MUCH MAN, i hope i will be a great PHP designer like you some day ;)
     
  4. chris218

    chris218 New Member

    Messages:
    130
    Likes Received:
    0
    Trophy Points:
    0
    thanks.

    Its a relatively easy and simple project, few conditionals and sql statements really.
     
  5. Chris Z

    Chris Z Active Member

    Messages:
    5,603
    Likes Received:
    0
    Trophy Points:
    36
    awesome well i've run into a problem...i can't seem to login to the admin panel...which is kinda wierd cuz i uploaded the modified sql file...hmm i'm confused
     
  6. chris218

    chris218 New Member

    Messages:
    130
    Likes Received:
    0
    Trophy Points:
    0
    what does it say?
     
  7. Chris Z

    Chris Z Active Member

    Messages:
    5,603
    Likes Received:
    0
    Trophy Points:
    36
    it doesn't it just stays where it is (the login page)
     
  8. chris218

    chris218 New Member

    Messages:
    130
    Likes Received:
    0
    Trophy Points:
    0
    hmm... thats rather odd.

    did you run all the sql in db.sql?

    try clearing your cache, in no case is the script surposed to stay on the login page with no error message.

    It works fine for me.
     
  9. Chris Z

    Chris Z Active Member

    Messages:
    5,603
    Likes Received:
    0
    Trophy Points:
    36
    hmm, ya i'll try clearing my cache, that was my next idea

    edit-cleared my cache...still the same thing, but is there a directory i'm missing here (ie /securearea)?
     
    Last edited: Jul 6, 2006
  10. chris218

    chris218 New Member

    Messages:
    130
    Likes Received:
    0
    Trophy Points:
    0
    ahh sorry for a double post.

    What browser do you use?

    The login script uses sessions, and there might be a bug with your browser, or your security settings are too high?
     
  11. Chris Z

    Chris Z Active Member

    Messages:
    5,603
    Likes Received:
    0
    Trophy Points:
    36
    i'm using firefox 1.5, i haven't messed with any security settings since i instlalled it
     
  12. chris218

    chris218 New Member

    Messages:
    130
    Likes Received:
    0
    Trophy Points:
    0
    it doesn't have to be since you installed it..

    have you run all the sql in db.sql?

    I'm pretty sure the only error this could be if it just returns to the normal login page is session problems on your end.

    Nothing else would cause this, or not that i can think of.
     
  13. Chris Z

    Chris Z Active Member

    Messages:
    5,603
    Likes Received:
    0
    Trophy Points:
    36
    ya i uploaded the sql file directly into phpmyadmin..idk why it's not working...this kinda sucks hmm...the username is "admin", right? cuz that's what i typed in
     
  14. chris218

    chris218 New Member

    Messages:
    130
    Likes Received:
    0
    Trophy Points:
    0
    yep, but even if the credentials were wrong it would redirect to an access denied page.

    PM me the password and the link, and i will see if I have the same problems (if your ok giving me the password that is..)

    I could give you an sql line to change it after I have tried.
     
  15. Chris Z

    Chris Z Active Member

    Messages:
    5,603
    Likes Received:
    0
    Trophy Points:
    36
    alright i sent the PM
     
  16. chris218

    chris218 New Member

    Messages:
    130
    Likes Received:
    0
    Trophy Points:
    0
    well it does the same for me.

    Can you check the site address in the systemComponent is correct?

    it should be..

    I will send you a pm of what it should be..
     
  17. chris218

    chris218 New Member

    Messages:
    130
    Likes Received:
    0
    Trophy Points:
    0
    help still stands..
     
  18. chris218

    chris218 New Member

    Messages:
    130
    Likes Received:
    0
    Trophy Points:
    0
    I can now be contacted via IRC regarding php.

    The topic indicates openeing times / if I am open

    #php-scripts - irc.freenode.net

    I am christhatsme
     
  19. boblake

    boblake New Member

    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    0
    PHP form gen help

    Hi,

    I'm gonna take you up on your offer for php related help lol. Unfortunately, I'm pretty new to website design, so php is still a fairly new concept. However I have the need for viewers of my website to be able to fill out the form on my contact page, press submit, and have the text they typed in the form fields sent to my personal email address. As a result I have chosen to use PHP form generator by sourceforge.

    Now I just uploaded the phpform folder just as I unzipped it, to the "/ folder" on my website. I made sure the permissions were set to 777 for the folder and then attempted to access the program by typing in http://www.stann.x10hosting.com/phpform and http://www.stann.x10hosting.com/phpform/index, however I got a 404.

    Basically I'm not sure if I've uploaded the phpform folder to the wrong place or if I simply am not using it right. i tried to follow the steps accurately at http://phpformgen.sourceforge/install.html but no luck so far.

    Anyway, if you know of something I am missing or even perhaps a simpler way to accomplish what I'm trying to do please let me know. thanks for you time.

    Bob
     
  20. Chris Z

    Chris Z Active Member

    Messages:
    5,603
    Likes Received:
    0
    Trophy Points:
    36

Share This Page