Tech Thought

Tech tips, hints, and general musings. PHP, Perl, Mysql, Javascript, AJAX, JSON, Linux, Mac OSX

Entries for February 15th, 2008

SVN: Creating a new project using command line

I always forget the syntax for creating a new project using SVN via the command line. So here it is: svn import <directory> <repository path> -m “Initial checkin” Where the directory should contain the files you want to add to the repository, and the repository path should be something like: svn+ssh://evan@charzard/usr/local/svn/repository/trunk/1.0/<project name>

Leave a Comment

php $_SESSION variable doesn’t stay persistent

Recently I was creating a new website from scratch, which required authentication and the use of PHP’s sessions functionality. I used the session to store information which I needed to be persistent between pages: Page 1 Page 2 However page 2 would never display the user ID value. I couldn’t work out what was causing [...]

Leave a Comment