hello,
any regex gurus?
i'm trying to match words put into a
that are in the form of a\np\np\l\e
or any combination of new lines in between, before
or after.
$answer = "hello\na\np\np\nl\ne\n"; /*from textarea in form*/
$word = "apple";
$word = preg_replace("/(.)/","(.?|\s+|\n+|)$1(.?|\s+|\n+
i can do this if i do it in two line..i'm wondering if it can
be done in 1 line.
the two lines:
$replace = preg_replace("/(\d)(\D)/","\\1,\\2",$digiword);
$replace = preg_replace("/(\D)(\d)/","\\1,\\2",$replace);
tia,
joe
Joe Rice([EMAIL PROT
hi,
i'm trying to replace ever digit nondigit boundary with a ","
in a string. i'm trying to get \d\D to be replaced with \d,\D
and the reverse \D\d with \D,\d ... i'm not having any luck.
$digiword = "123joe123"
$replace = preg_replace("/(\d)(\D)/","\\1,\\2",$digiword);
this ends up w
Hello,
I'm hoping to get some help with a sessions problem i've
ran into. track_vars is enabled and register_globals is off.
i'm using PHP 4.0.6 and custom session handlers with ADODB
connecting to mysql.
at the top:
session_start();
if (!isset($HTTP_SESSION_VARS["old_folder"])) {
e
hi,
i have two arrays that i would like
to find the intersection and at
this intersection alter the value.
$invalid = array("1","3","9");
$questions = array("1","2","3","4","5","6","7","8","9");
and i would like the result to be an new array that looks
like this:
$new_questions = array("1",
i would love to see this too, i think it was stripped.
thanks,
joe
www.bigidea.com
scott [gts]([EMAIL PROTECTED])@Mon, Jul 02, 2001 at 04:54:26PM -0400:
> it's attached to the email.
>
> did you get the attachment, or was it stripped off somewhere?
>
> i can upload the files to a server and p
I've also been interested in knowing how this is done. If
you are willing to share, please post the source to your
page.
Thanks,
joe
bill([EMAIL PROTECTED])@Fri, May 11, 2001 at 09:07:26AM -0400:
> Not sure what you're asking exactly, but I have a "Find a Dealer" page where
> a person puts in t
what this means.
line 23 of /usr/local/apache/conf/httpd.conf is;
LoadModule php4_modulelibexec/libphp4.so
any help or direction would be appreciated.
Thanks,
joe rice
web admin
www.bigidea.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROT
sorry for the lame question, that was what i needed to do.
Thanks,
joe
Jon Rosenberg([EMAIL PROTECTED])@Wed, Mar 28, 2001 at 11:38:19AM -0500:
> You need to restart your web server (apache, most likely).
>
> Jon
>
>
> - Original Message -----
> From: "Joe Rice
Hi,
I made a change to my php.ini and
phpinfo() doesn't reflect the change?
i set
sendmail_path = "/usr/lib/sendmail -OIgnoreDots -t"
and phpinfo() still shows the default
sendmail_path = "/usr/lib/sendmail -t -i"
how can i get this to work correctly?
Thanks,
joe
Web Adm
you need ar.
my solaris 8 install has it in /usr/ccs/bin
if you have it there, make sure /usr/ccs/bin is in your PATH.
if you need to know what package ar is part of let me know.
joe
Emiliano Marmonti([EMAIL PROTECTED])@Mon, Mar 26, 2001 at 03:12:00PM -0300:
>
> Dear Friends:
>
> I have
i figured it out...thanks.
putenv()
Joe Rice([EMAIL PROTECTED])@Thu, Mar 22, 2001 at 03:16:35PM -0600:
>
>
> how do you sent a Environment Variables for the php script
> to execute in? i need to set INFORMIXSERVER so i can
> use the informix php functions. This is going live
how do you sent a Environment Variables for the php script
to execute in? i need to set INFORMIXSERVER so i can
use the informix php functions. This is going live tomorrow
and we don't have it working yet...PLEASE HELP!
thanks,
joe rice
Web Admin
www.bigidea.com
--
PHP General Ma
If you have the "Bonus Software" pack that came with Solaris8, there
is a CD call "Companion". That CD has everything you need form the
GNU world. Loads of GNU solaris packages.
joe
Emiliano Marmonti([EMAIL PROTECTED])@Thu, Mar 22, 2001 at 02:43:25PM -0600:
> Thank you Sebastian,
> but I want t
ATH=$INFORMIXDIR/lib:$INFORMIXDIR/lib/esql:/usr/lib
>
> I have both set on mine - not sure which one works.
>
> Chris
>
> Joe Rice wrote:
>
> > i ended up downloading the SDK for solaris 7 and it seems to have work...well,
> > kind of. It compiled, but i can'
p would
be greatly appreciated.
Thanks,
joe
Chris Fry([EMAIL PROTECTED])@Thu, Mar 22, 2001 at 09:45:14AM +1100:
> For SCO I had to download the ESQL package separately - I think you have to do the
> same (if it's available).
>
> Chris
>
> Joe Rice wrote:
>
> > Hi,
onfigure script is looking for $INFORMIXDIR/bin/esql
which isn't installed by IConnect either.
Thanks,
joe rice
Web Admin
www.bigidea.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To cont
Hi,
I have a funny situation where i can't use apache
due Macromedia's ARIA software and lack of it's support
for apache. So, i'm stuck with using iPlanet. My question
is how stable,fast,usable is the PHP4 NSAPI support?
Thanks,
joe rice
Web Admin
www.bigidea.com
--
Hi,
As you might gather from the subject, i'm trying to
make a decision. Before that i'm doing research
to find out what best fits. My question is;
>From what i've read php4 does post-compilation caching,
is this right? If so, what is the point of Zend Cache or
APC (Alternative PHP Cache)?
19 matches
Mail list logo