Jump to content
xisto Community

discomatt

Members
  • Content Count

    7
  • Joined

  • Last visited

Posts posted by discomatt


  1. I'm going to go against EVERYONE here.

    Jumping into an existing Social Networking script is going to be extremely overwhelming, and confuse the *BLEEP* out of you.

    What's your current PHP background? Beginner? I find the BEST starting script is a simple blog/news updating script. Once you've got that, add a user system to it, where multiple users can post.

    Once you've got the extreme basics of a user-based content delivery system, I'd suggest starting to read into OOP (object-oriented programming) and design pattern theories. A gerat intro article by a friend of mine can be found here - http://www.phpfreaks.com/tutorial/design-p---introduction

    More can be found in this link
    http://www.phpfreaks.com/tutorials/page2

    It's a long path, but there's so much to consider - especially when you're allowing anyone that connects to your site to manipulate your database


  2. This is common on directories created with PHP. The default permissions will only allow the user that PHP is running in full control. You should make it a habit to CHMOD() (PHP has a built in function specifically for this http://de2.php.net/chmod/ every time you create a folder or upload a file. Keep in mind, unless you CHMOD 0777 your site's ROOT directory, it's still very difficult for other users on the system to access your files. You should also try your best NOT to use '../../' when locating files. I find it good practice to use $_SERVER['DOCUMENT_ROOT'] whenever possible. I have a variables.php I include with my script, in that I have the path to my script in relation to the document root, so I can call files as such mkdir( $_SERVER['DOCUMENT_ROOT'] . $_script_path . $foldername, 0777 )


  3. Figure it's rude to just barge into Tech/Web Programming forums without introducing myself.I've been a PHP coder for about 6 years now, used to be a mod @ phpfreaks, and love the idea of having my hosting paid for by simply doing what I enjoy doing.Looking forward to helping you guys with PHP, SQL, RegEx, JavaScript and maybe even the occasional PS tutorial... just please don't ask me to code for you - I love to help, but only to those ready to put the effort in to learn :angel:

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.