You need to tell preg_match that there will be multiple characters. Right
now, you're searching for one, and only one.
if (! preg_match ('/^[a-z0-9]+$/', $unchecked_text)) {
The "+" means one or more matches to the range in brackets.
-- tracy
On 1/4/03 9:03 AM, "Anders Thoresson" <[EMAIL PROT
Use the super-global variable $_SERVER['SERVER_ADDR']
(or another solution might be to generate relative, rather than absolute,
URLs: /somedir/somepage.php instead of
http://192.168.1.1/somedir/somepage.php)
On 1/6/03 12:45 PM, "Charles likes PHP" <[EMAIL PROTECTED]> wrote:
> Does anyone know a
También, se tiene que tener esta línea en su fichero httpd.conf:
AddType application/x-httpd-php .php
(donde .php es la extensión que se usa en sus ficheros de PHP)
Si no se tiene acceso al fichero httpd.conf, se necesita pedir a su
webmaster para hacer este cambio.
On 1/20/03 4:39 PM, "R B" <[
Talk to the other admin. If you're using RPMs, you just need to install the
php_mysql RPM, restart apache, and you should be up and running again.
If you're compiling PHP from scratch, you'll have to do so again with
--with-mysql in the configure command. But, as this is the default when
compili
Change the name of your checkboxes in your HTML to something like:
name="DeleteIDs[]"
This will make it an array, and you can access all the elements like
$_POST['DeleteIDs'][0]
etc.
(This should really be in a FAQ somewhere...)
-- tracy
On 1/31/03 11:17 AM, "Mike Potter" <[EMAIL PROTECTED
Check out Marc Liyange's site at
http://www.entropy.ch/software/macosx/welcome.html He has a lot of Mac
software pre-compiled and ready for installation, including PHP installs for
Jaguar.
-- tracy
On 11/11/02 2:06 PM, "Gregory Hernandez" <[EMAIL PROTECTED]> wrote:
> hello everyone.
>
> would
Hello All,
Does anyone know what happened to the User Contributed Notes on the PHP
Manual? I went to go find one today, and they all appear to be gone!
-- tracy
--
Tracy F. Rotton
[EMAIL PROTECTED]
http://www.taupecat.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
Try:
$meat = testfunction ($var1, $var2, $var3, $var4);
echo $meat;
Or, alternatively,
print (testfunction ($var1, $var2, $var3, $var4));
hope this helps.
--t
On 11/20/02 8:40 PM, "Beauford 2002" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have form that a user would input information and that
8 matches
Mail list logo