RE: [PHP] hi

From: Date: Mon, 10 Sep 2001 11:48:23 +0000
Subject: RE: [PHP] hi
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-66728@lists.php.net to get a copy of this message
Well you can't just have a link to this function. Make a page like so: showsource.php ************************** <?php $file="source.php"; show_source($file); ?> yourfile.php ************************** <?php echo "<a href=\"showsource.php\">view source</a>"; ?> - seb -----Original Message----- From: Balaji Ankem [mailto:balaji.ankem@wipro.com] Sent: 10 September 2001 10:25 To: php-general@lists.php.net Subject: [PHP] hi Hi, what z wrong in this code?? >>>>>>>>>>>>>>>>>>>>>>>>>>>>> <?php echo "<a href=\"<?php show_source('source.php')?>\">view source</a><br/><br/>"; ?> >>>>>>>>>>>>>>>>>>>>>>>>>>> I am getting the following error Forbidden You don't have permission to access /< on this server. --------------------------------------------------------------------------- ----- Apache/1.3.20 Server at ankem.wipro.com Port 80 How to rectify this thing?? Thanks in advance Regards -Balaji --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.277 / Virus Database: 146 - Release Date: 05/09/2001 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.277 / Virus Database: 146 - Release Date: 05/09/2001

« previous php.general (#66728) next »