Find a files server path when programming in PHP

Posted in Web Development, PHP, Programming by admin on the March 23rd, 2008

If you ever need to find a files path when programming in PHP. All you need to do is drop the below code in a text file called path.php.

<?php $p = getcwd(); echo $p; ?>

Put it in the same directory as the file whose path you need and go to it in your web browser.

http://www._yourwebname_.com/_thedirectorythefileisin_/path.php

You will get back something like this.

C:\Websites\_yourwebname_\_thedirectorythefileisin_

So now you know the server path to the file you need.

Simple.

128k of Ram! - Macintosh Developers Video

Posted in Videos, Apple/Mac by admin on the March 23rd, 2008

Macintosh Developers Video from the Macs introduction.

Interview with Jonathan Ive

Posted in iPhone, Videos, Apple/Mac by admin on the March 4th, 2008

You may not know his face. But you know his work. iPod’s, iMac’s and The modern VW BugHe is Apple’s secret weapon. Making the mother ships products great to view and touch.

Below is an interview with Jonathan Ive.