Re: Newbie -- tutorial exercises reveal too much -- pdf download not "saveable"

From: Date: Wed, 14 Feb 2001 00:48:26 +0000
Subject: Re: Newbie -- tutorial exercises reveal too much -- pdf download not "saveable"
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-39546@lists.php.net to get a copy of this message
On Wed, 14 Feb 2001 07:20, Info wrote: > Hi, > > I don't have adequate space to have PHP and MySQL on my local machine. > Yes, need a new and better box. So, used my net site for some > exercises. That is not satisfactory because I must reveal password and > such in plain text to execute a php/mysql script. > > Maybe only a resource poor newbie could have this problem -- means I > need to have some hurry up instruction on getting those secret words > hidden -- or I should not continue with exercises and tutor. There is > nothing on my site or in my database that is sensitive in any way -- > but don't want to find it all gone or altered. > > Also, I can download some manuals, but I cannot save the .pdf variety > or find the temp file to save it. Any suggestion? I'm on WIN95 with a > Toshiba Laptop and do have the adobe acrobat reader and MS Office. > > Is there a tutorial on this "include" subject that I can find and use? > I'm on digest mode so please CC or direct to me. > There's not much to it - the docs are failry explanatory. Just remeber that when you include or require a file, the contents of that file are 'placed' in the current file at the location of the function call. If there is PHP syntax in the included file, it must have PHP start/finish tags (<?php ?>) around it for the PHP to be run. You can include a file from pretty much anywhere, including especially outsite your webserver document root. So for some security, put your passwords etc outside the web root. Also, see the php.ini file if you have access to it for how to define a search path for include files. As for downloading the manuals, try right clicking and choosing the 'Save Link as' function - or however it's called under Exploder. -- David Robley | WEBMASTER & Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet | http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE, SOUTH AUSTRALIA

« previous php.general (#39546) next »