[thelist] configuration php.ini

Daniel Champion dchampion at clacks.gov.uk
Tue Nov 18 03:19:07 CST 2003


Nothing wrong with your php.ini (at least from what you've posted - who 
knows what horrors may lurk elsewhere?!)

> $submitpage = $_SERVER['SCRIPT_FILENAME'];

This will return the full server path to the current script.

Use $_SERVER['REQUEST_URI'] or $_SERVER['PHP_SELF'] for your purposes. NB 
they are subtly different. Read up on pre-defined variables at the PHP 
site - http://www.php.net/variables.predefined

HTH
-- 
Daniel Champion - Web Dev Mgr - Clackmannanshire Council
e: dchampion at clacks.gov.uk    t: 01259 452258
f: 01259 452240    w: http://www.clacksweb.org.uk


**********************************************************************
This email and any attachments have been scanned for viruses prior to leaving Clackmannanshire Council.

Clackmannanshire Council will not be liable for any losses as a result of viruses being passed on.

www.clacksweb.org.uk
**********************************************************************



More information about the thelist mailing list