+ Reply to Thread
Page 1 of 11
1 2 3 ... LastLast
Results 1 to 10 of 110

Thread: Beginning PHP

  1. #1
    Xav
    Xav is offline
    Code Slinger Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav's Avatar
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,210
    Blog Entries
    13

    Question Beginning PHP

    Hi everyone, if you don't know me already, I'm Xav. I'm mainly programming in .NET (C#, VB.NET, that sort of stuff), but I know HTML and some JavaScript.

    So, I want to try and learn PHP. This is one of the few forums I hardly ever post in, and I want that to change. Plus, I would like to add some PHP functionality to my website.

    First things first, though. What's the best way to learn? I would prefer not to have to spend any money, as I'm a tight git , so an online resource would be great.

    I wouldn't mind a little enlightening, though. How is PHP integrated into webpages? How exactly do things work? Do you place the PHP inside the webpage, or does the HTML code trigger a separate file? Please help me on my conquest to learn PHP (and hence rule the world ).

    Quote Originally Posted by Jordan View Post
    Good members, like yourself, stick around and post for ages to come!
    Mr. Xav | Blog | Forums

  2. #2
    TcM
    TcM is offline
    Code Warrior TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM's Avatar
    Join Date
    Aug 2006
    Posts
    11,461
    Blog Entries
    6

    Re: Beginning PHP

    Moved to correct forum

  3. #3
    Co-Administrator John is a glorious beacon of light John is a glorious beacon of light John is a glorious beacon of light John is a glorious beacon of light John is a glorious beacon of light John's Avatar
    Join Date
    Jul 2006
    Age
    21
    Posts
    5,883
    Blog Entries
    25

    Re: Beginning PHP

    Clookid wrote a nice tutorial on introducing PHP. PHP Introduction

  4. #4
    Xav
    Xav is offline
    Code Slinger Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav's Avatar
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,210
    Blog Entries
    13

    Re: Beginning PHP

    Short, but sweet - so where does all the .php files come in? And how to I set up a simple form, that sends the data to the php bit, that outputs the result?

    Quote Originally Posted by Jordan View Post
    Good members, like yourself, stick around and post for ages to come!
    Mr. Xav | Blog | Forums

  5. #5
    Co-Administrator John is a glorious beacon of light John is a glorious beacon of light John is a glorious beacon of light John is a glorious beacon of light John is a glorious beacon of light John's Avatar
    Join Date
    Jul 2006
    Age
    21
    Posts
    5,883
    Blog Entries
    25

    Re: Beginning PHP

    renlok wrote a tutorial introducing forms. Beginners Guide To PHP: *Tutorial*

  6. #6
    Xav
    Xav is offline
    Code Slinger Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav's Avatar
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,210
    Blog Entries
    13

    Re: Beginning PHP

    Thanks again!

    Quote Originally Posted by Jordan View Post
    Good members, like yourself, stick around and post for ages to come!
    Mr. Xav | Blog | Forums

  7. #7
    Learning Programmer Martin_kp is an unknown quantity at this point Martin_kp's Avatar
    Join Date
    May 2008
    Location
    Indonesia
    Age
    11
    Posts
    60

    Re: Beginning PHP

    If you want to see the code of a wesite to make your own, use Mozzila Firefox, go to an unencrypted webpage (to know weather it's encrypted or not, mozzila tells you in a msgbox form) , right-click your mouse, and click 'view page surce code'. A window is opened, and read the code, right away!!!

    P.S.
    I learnt this from a book called 'Zero Knowledge Password'.

  8. #8
    Learning Programmer Martin_kp is an unknown quantity at this point Martin_kp's Avatar
    Join Date
    May 2008
    Location
    Indonesia
    Age
    11
    Posts
    60

    Re: Beginning PHP

    The title and the index doesn't match. I tought this was for beginner PHP programmers.

  9. #9
    Retired v0id is a glorious beacon of light v0id is a glorious beacon of light v0id is a glorious beacon of light v0id is a glorious beacon of light v0id is a glorious beacon of light v0id is a glorious beacon of light
    Join Date
    Apr 2007
    Posts
    2,978
    Blog Entries
    3

    Re: Beginning PHP

    Quote Originally Posted by Xav
    What's the best way to learn?
    Get a great book (or internet resource) and start reading. While you're reading you shall think about the things you learn, and if you once think, "Hey! Why's that?", then go back in the book, and see if the question has already been answered previously.
    Also, you will have to make some examples, and actually use what you have learned, in order to successfully continuing without forgetting what you previously read.

    Quote Originally Posted by Xav
    How is PHP integrated into webpages?
    First of all, you'll need a server. This server will listen for incoming connections (also called clients) Every time a client is connecting, it will be serviced by the server, which is done in various ways. If the client is calling a PHP-file, the server will take the PHP-file and pass it to a PHP-interpreter. The PHP-interpreter will interpret the sourcecode, and return the generated HTML. The HTML will then be given by the server to the client, and the client will be able to read the document.

  10. #10
    Xav
    Xav is offline
    Code Slinger Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav's Avatar
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,210
    Blog Entries
    13

    Re: Beginning PHP

    Thanks everyone! I actually learnt before these posts were posted, and I am now confidently building PHP pages!

    @ Martin_kp: you don't need Firefox for that. IE will do. And this thread is not in the tutorials section, but in the forum section, so it's going to be some sort of question or other.

    Quote Originally Posted by Jordan View Post
    Good members, like yourself, stick around and post for ages to come!
    Mr. Xav | Blog | Forums

+ Reply to Thread
Page 1 of 11
1 2 3 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. PHP 5 and OOP
    By Jordan in forum PHP Tutorials
    Replies: 11
    Last Post: 09-22-2008, 01:58 AM
  2. PHP 4 end of life announcement
    By Jordan in forum News
    Replies: 4
    Last Post: 08-30-2007, 09:55 AM

Bookmarks

Bookmarks

     
        Algorithms and Data Structures

        Java tutorials

        Algorithms Forum

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts