Printer Friendly Version Print this thread
Email this thread to a friend eMail this thread to a friend
  • php update question (In: Coding & Databases - PHP, ASP, Perl, etc.)
  • Featured Web Site Template

    Hundreds More at Free Site Templates.com!

    Web Site Partners
    Sponsored Links
    Jet City Software
     
    Whos Here ?
    There are 0 guests and 1 members in the forums right now.
    Reflects user activity within the last 5 minutes
    Moderator(s): Prowler, jcokos
    Member Message

    razsports
    Joined: May 15, 2004
    # Posts: 47

    View the profile for razsports Send razsports a private message

    Posted: 2005-Jul-21 09:25
    Edit Message Delete Message Reply to this message



    I currently have the knowledge in CSS, HTML and search engine optimization. That being said, I'd like to learn PHP. I've read a few books on php, visited several forums and have looked over examples. However, I don't understand the meaning of coding such as that listed below(scroll down). My question is there a place online where I can find the meaning of
    $fp = fopen( $att, "r"wink; $file = fread( $fp, $att_size );
    and other coding?

    Thanks



    g1smd
    Staff
    Joined: Jul 28, 2002
    # Posts: 10465

    View the profile for g1smd Send g1smd a private message

    Posted: 2005-Jul-21 17:36
    Edit Message Delete Message Reply to this message


    http://www.php.net



    lizardz
    Joined: Nov 12, 2004
    # Posts: 1394

    View the profile for lizardz Send lizardz a private message

    Posted: 2005-Jul-21 17:50
    Edit Message Delete Message Reply to this message

    The best way to learn is to take a programming class from a local adult school, college, etc. All programming uses more or less the same logic, if you can find a php class, good, but if you can't, try java or something like that, a beginner c++ class will give you a great foundation, but it's a lot harder than php.

    Programming is a sort of discipline, and it's much easier to learn if someone teaches you how to not make the mistakes almost everybody who starts from scratch will invariably do.

    The other way, which works well as long as you have some foundation to work from, say having taken some programming classes, is to download scripts and see how they work. The main problem with that method if you're starting from scratch is you have no idea what is a good example of programming, and what is a horrible example.

    phpBB has fairly good programming practices, not the best, but pretty good, better than most stuff you can find out there, but it's pretty complicated to understand for a beginner. There are tons of free scripts out there you can play with, pick apart etc.

    Keep in mind, when programming the errors you can make are far more serious than with html or css, you can severely compromise your site's security with some very simple, and easy to make, errors. Read up on php security, there's lots of material on the web.

    Third most important is to setup apache on your local box, with mysql and php, trying to do development work without it is a real pain.

    Fourth is learning a huge amount of patience, part of programming is debugging, it's a big part, a major percent of your programming time is spent debugging.

    When you can make a page on your local development box with this code:
    <?php
    echo 'hello world';
    ?>
    and have it correctly output hello world you are well on your way, since it means you have gotten apache/mysql/php running.


    You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
    1. You have not yet logged in, or registered properly as a member
    2. You are a member, but no longer have posting rights.
    3. This is a private forum, for which you do not have permissions.

    If you are a recent member, it's possible that you simply have not yet confirmed your account. Please check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions contained within.

    If you cannot find this message, click here to Re-Send it.

    If you are still experiencing problem, please read the Login Assistance Article for some advice on what may be causing your login not to work properly.

    Switch to Advanced Editor and ... Create a New Topic or Reply to this Thread

    New posts Forum is locked
    © 1995  ·  iWeb, Inc  ·  DBA JimWorld Productions