Feed Sign in with OpenID OpenID

Simon Willison’s Weblog

Some PHP notes

I ran an intermediate to advanced PHP session at University today, on behalf of BCSS. The turn out wasn’t particularly impressive, probably because the only lecture today had been cancelled so there were a lot fewer people from our course on campus than I had expected (the session was arranged because a piece of group coursework we are working on at the moment uses PHP). The notes I put together from the course are available online. They were put together in a bit of a hurry, so please tell me if you spot any mistakes. Topics covered include sessions and cookies, classes and objects, references and some brief notes on writing secure code.

This is Some PHP notes by Simon Willison, posted on 21st March 2003.

View blog reactions

Next: Conference woes

Previous: Useful python resources

10 comments

  1. Just thought I'd note that I use a different solution to the .inc issue, namely: AddType application/x-httpd-php .inc in the main .htaccess file. And keeping them outside the public_html folder.

    Lach - 23rd March 2003 01:25 - #

  2. Really nice. I have a feeling I'm going to be recommending this quite a bit.

    Matt - 23rd March 2003 02:37 - #

  3. I agree with Lach, there's really no need to be putting your includes in a place that's mapped to a url.

    Unless your hosting is really restricted, you can just stick this into an .htaccess file:

    php_value include_path "foo:bar:baz"

    Jim - 24th March 2003 05:06 - #

  4. vsdvsd

    ere - 1st August 2003 09:56 - #

  5. can u send me the notes for the php basics and php mysql i have my exam and do not have enough stuffs to study please send me the notes contact email : svyadav@gmail.com

    sagar - 14th February 2006 00:11 - #

  6. can u send me the notes for the php basics and php mysql i have my exam and do not have enough stuffs to study please send me the notes.

    prashanth - 25th February 2006 07:52 - #

  7. php notes

    mandeep - 26th February 2006 17:45 - #

  8. send me the notes for the php basics and php mysql

    Oyeyemi - 12th March 2006 01:53 - #

  9. send me the notes for the php basics and php mysql Thanks in advance. Mahendra

    Mahendra - 27th June 2006 15:07 - #

  10. I would be very glad to to get them weeklyhttp://www.novell.com/linux/

    Phororo Makhele - 29th August 2006 08:46 - #

Comments are closed.

Previously hosted at http://simon.incutio.com/archive/2003/03/21/phpNotes

A django site