Getting Variables
| From: | lists | Date: | Sat, 27 Jul 2002 07:59:21 +0000 |
| Subject: | Getting Variables | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-7923@lists.php.net to get a copy of this message | ||
Hello,
I'm trying to call a URL which ends like this: index.php?album=tomato
In the script, I echo $album, but it seems to be null.
Is this because of the way I have PHP configured?
Here is my configuration info from phpinfo():
'./configure'
'--with-apxs=/usr/local/sbin/apxs'
'--with-config-file-path=/usr/local/etc'
'--enable-versioning'
'--with-regex=system'
'--without-gd'
'--without-mysql'
'--with-zlib'
'--with-bz2=/usr'
'--with-mcrypt=/usr/local'
'--with-mhash=/usr/local'
'--with-pdflib=/usr/local'
'--with-zlib-dir=/usr'
'--with-jpeg-dir=/usr/local'
'--with-png-dir=/usr/local'
'--with-tiff-dir=/usr/local'
'--with-mysql=/usr/local'
'--with-snmp=/usr/local'
'--enable-ucd-snmp-hack'
'--with-openssl=/usr'
'--with-expat-dir=/usr/local'
'--enable-ftp'
'--enable-mbregex'
'--enable-mbstring'
'--enable-sockets'
'--enable-trans-sid'
'--prefix=/usr/local'
'i386-portbld-freebsd4.6'
This is from a FreeBSD ports install of mod_php4.
In the initial configuration menu, I left MySQL blank, so I don't know why I
have --without-mysql and then see --with-mysql=/usr/local .
Any help appreciated,
Shawn