symbolic links are basically pointers to another file/directory eg. you have a file foo.html you can create a symbolic link to it and call it bar.html - if you refer to bar.html, then you're really referring to foo.html
why are they useful ? well, suppose you want a two or more files/dirs to have the exact same content (for some reason, since changing one will change to other) but the content can get quite large, you then use a symbolic link and you save disk space on a windows system, i don't think you can (please correct me if I'm wrong here - i'd like to know if it's possible) but on unix, use the command "ln" HTH Martin -----Original Message----- From: Kevin Stone [mailto:[EMAIL PROTECTED]] Sent: Friday, February 15, 2002 9:44 AM To: 'Andreas Gietl'; [EMAIL PROTECTED] Subject: RE: [PHP] Anyway to open a PHP file and view its code in the browser? I did a net wide search on Symbolic links to learn what they are and how to use them. Wouldn't you know everyone's talking about them but no one explains what they are or how to use them. So I'm forced to ask... What are symbolic links? Why are they useful? And how do I use them? -- Kevin <[EMAIL PROTECTED]> > then do a symbolic link > > On Thursday 14 February 2002 22:34, Kevin Stone wrote: > > I'm glad you posted this. It's great to know. Unfortunately it's not > > what I need to do. I'm uploading and updating my scripts all the time. > > So I need to offer code views of *active* scripts. Changing the file > > name to phps makes the scripts inactive. > > > > Any other ideas? > > > > -Kevin > > > > > -----Original Message----- > > > From: SHEETS,JASON (Non-HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] > > > Sent: Thursday, February 14, 2002 1:38 PM > > > To: 'Kevin Stone' > > > Subject: RE: [PHP] Anyway to open a PHP file and view its code in the > > > browser? > > > > > > Rename the file you want to display as PHP code to .phps (php source) > > > instead of .php. > > > This will also activate PHP's built in source code highlighting. > > > > > > Jason > > > > > > -----Original Message----- > > > From: Kevin Stone [mailto:[EMAIL PROTECTED]] > > > Sent: Thursday, February 14, 2002 1:26 PM > > > To: [EMAIL PROTECTED] > > > Subject: [PHP] Anyway to open a PHP file and view its code in the > > > browser? > > > > > > > > > How can I open a local PHP script and view its code to the browser? > > > > The > > > > > Readfile() method appears to parse and execute the code. The Fopen() > > > method appears to parse and then not execute the code, leaving a blank > > > screen, or at the very least displaying any non-PHP text existing in > > > > the > > > > > script. This is obviously rare question because I can't find any > > > references on this list or on Usenet. Is there a trick to this? Or > > > > is > > > > > it simply not possible. > > > > > > Much Thanks, > > > Kevin Stone <[EMAIL PROTECTED]> > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php