word php is at position 2, and the word books is at position 3...
and so on.
What is the best way to return a single score for this page?
It's a bit confusing I suppose, but thanks!
As a side, on a 90meg text table, the parsing function above runs in
about 0.061858177185059 ms... mysql does
Mike Ford wrote:
Just off the top of my head (and untested!), I'd try something like
/]*)?>/
Cheers!
Mike
That pretty much seems to work the best. Thanks all!
--
Jason Morehouse
Vendorama - Create your own online store
http://www.vendorama.com
--
PHP General Mailing List (http://www
Yep, that's pretty much what I got, except I haven't been able to find a
list of what modules are thread safe, except mysql.
Jochem Maas wrote:
Jason Morehouse wrote:
Hello,
Just wondering if anyone is using the apache worker module with php?
I've complied php5 with zend threadsa
zts
Thanks,
-J
--
Jason Morehouse
Vendorama - Create your own online store
http://www.vendorama.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I normally can take a bit of regex fun, but not this time.
Simple enough, in theory... I need to match (count) all of the bold tags
in a string, including ones with embedded styles (or whatever else can
go in there). and . My attempts keep matching
as well.
Thanks!
--
Jason
s it doesn't have read access to the file, but I'll save that for
another list!
Thanks again.
-J
--
Jason Morehouse
Vendorama - Create your own online store
http://www.vendorama.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hs on my system in the event a page has
the wrong permissions. Why does apache not server the 403 on the php
page? Maybe this is better off in the apache list.
--
Jason Morehouse
Vendorama - Create your own online store
http://www.vendorama.com
--
PHP General Mailing List (http://www.php.net
Richard Lynch wrote:
Jason Morehouse wrote:
Hello. I'm not sure if this is an apache problem or php... but
wondering if anyone has come across the same problem.
-rw---1 root root test.html
-rw---1 root root test.php
Trying to access test.html via a browser serve
$value === $curval) {
echo "WTH, Over";
}
?>
?>
--
Jason Morehouse
Vendorama - Create your own online store
http://www.vendorama.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t.php however produces:
Warning: Unknown: failed to open stream: Permission denied in Unknown on
line 0 Warning: Unknown: Failed opening '/www/test.php' for inclusion
(include_path='.:/www/php') in Unknown on line 0
Any ideas?
Thanks!
--
Jason Morehouse
Vendorama - Create y
e and gives
the best results. It's too bad it can't be built directly into php, but
I think there is a pear module for it. Myself, I just use the command
line --- but be sure and take all the necessarily precautions when
making system calls!
--
Jason Morehouse
Vendorama - Create
Sorry for the lame question... but I prefer to read and reply to
messages via the news server. However, I can't seem to post to
news.php.net. I'm using thunderbird, and have tried a few different
outgoing servers, including news.php.net. Is the news server read only?
I thought for sure I wa
Hello all,
Has anyone had an experience with storing sessions in mysql (or sqlite)?
If so, what if any are the performance benefits? Obviously, there
would have to be an extra db query per page... but would that be faster
then opening a text file?
Also, I was trying to post to the php news se
ms I'm missing
for the cookie jar?
--
Jason Morehouse ([EMAIL PROTECTED])
Netconcepts LTD - Auckland, New Zealand
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Anyone know if the source is available for the bug system use on php.net?
--
Jason Morehouse (jm[ät]netconcepts[döt]com)
Netconcepts - http://www.netconcepts.com
Auckland, New Zealand
Linux: Because rebooting is for adding hardware.
--
PHP General Mailing List (http://www.php.net/)
To
file, and export
it to PHP code that can reproduce it -- or something along that line.
Thanks in Advance!
-J
--
Jason Morehouse (jm[ät]netconcepts[döt]com)
Netconcepts - http://www.netconcepts.com
Auckland, New Zealand
Linux: Because rebooting is for adding hardware.
--
PHP General Mailing
If the PHP interpreter is installed, there is nothing stopping you from
using both (morals aside).
--
Jason Morehouse (jm[@]netconcepts[.]com)
Netconcepts - http://www.netconcepts.com
Auckland, New Zealand
Linux: Because rebooting is for adding hardware.
On Sun, 06 Oct 2002 21:10:22 +
\
>--enable-memory-limit \
>--enable-bcmath \
>--enable-shmop \
>--enable-versioning \
>--enable-calendar \
>--enable-dbx \
>--enable-dio \
>--enable-mcal \
>--disable-mbstring \
>--enable-mbstr-enc-trans \
>--with-apxs2=/opt/htt
t; advantages, disadvantages to each example?
>
> Example 1
> -index.php with these links:
> Home
> Home
> Home
>
> With the index.php using a switch statment for the view var and file
> includes.
>
> OR
>
> Example 2
> -index.php with these links:
> H
> Do you Yahoo!?
> New DSL Internet Access from SBC & Yahoo!
> http://sbc.yahoo.com
--
Jason Morehouse (jm[@]netconcepts[.]com)
Netconcepts - http://www.netconcepts.com
Auckland, New Zealand
Linux: Because rebooting is for adding hardware.
--
PHP General Mailing
hat i could run curl or
> wget in a loop, but i would have to account for the fork-exec time
> somehow. i hope that the question is clear.
--
Jason Morehouse (jm[@]netconcepts[.]com)
Netconcepts - http://www.netconcepts.com
Auckland, New Zealand
Linux: Because rebooting is for adding h
p/")
>
> Is it possible to do something approaching the latter?
>
> Monique Y. Herman
> [EMAIL PROTECTED]
--
Jason Morehouse (jm[@]netconcepts[.]com)
Netconcepts - http://www.netconcepts.com
Auckland, New Zealand
Linux: Because rebooting is for adding hardware.
--
PHP G
Hello,
Have a strange problem since upgrading to 4.2.2.
On a clients first visit to a site, the PHPSESSID gets written into the
URL, but not on any additional requests.
Has anyone had this problem? It wasn't happening before the upgrade.
Running:
Redhat 7.3
PHP 4.2.2
Sorry... that seems to work by default... what-dadda ya know!
"Jason Morehouse" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Any ideas if it's possible to keep a script running for a short time after
a
> client has
Any ideas if it's possible to keep a script running for a short time after a
client has been redireced?
i.e:
http://php.net";);
# contunue running...
mail("[EMAIL PROTECTED]", "Hey", "Hi!");
?>
Using Redhat Linux, Apache & PHP 4.2.2.
Much thanks!
-Jason
--
PHP General Mailing List (http://w
update mytable set email = CONCAT(email,'[EMAIL PROTECTED]');
On Wed, 24 Jul 2002 11:00:48 +1200, Jason Morehouse wrote:
> update mytable set email = CONCAT(email,'[EMAIL PROTECTED]');
>
> On Wed, 24 Jul 2002 02:59:54 +1200, Shane wrote:
>
>> Gree
e('m'),$year=date('Y'),$format="%m-%Y-%d");
Hope that helps.
-J
On Sun, 14 Jul 2002 23:01:07 +1200, Royw wrote:
> If:
>
> $today = date("Y-m-d");
>
> Then how to I get:
>
> $yesterday = ?
>
> Thanks!
--
Jason Morehouse
;$address1', address2 ='$address2', address3 = '$address3',
> local = '$local', city = '$city', postcode = '$postcode', id = '$id'";
> $sql .= "WHERE username='$username'";
>
> mysql_query( "$s
cannot find -lcrypto
> collect2: ld returned 1 exit status
> make[1]: *** [libphp4.la] Error 1
> make: *** [all-recursive] Error 1
>
> Mandrake 8.2 PPC
> Had to compile own php for use with horde's imp also this is DSO
> configure. I hope someone thinks this is a simple qu
variables the form has poster
> automatically.
> can that be done and if it can how?
>
> Thanks Renaldo
--
Jason Morehouse ([EMAIL PROTECTED])
Netconcepts LTD - Auckland, New Zealand
* Linux: Because rebooting is for adding hardware.
--
PHP General Mailing List (http:/
en wrote:
> Hi,
> how can I determine dates (start & end ) in one week. I.e. 30th week is
> between 22.07.2002 and 28.07.2002 .
--
Jason Morehouse ([EMAIL PROTECTED])
Netconcepts LTD, Auckland, New Zealand
* Linux: because rebooting is for adding hardware.
--
PH
x
> Phil
> http://valsignalandet.com
--
Jason Morehouse ([EMAIL PROTECTED])
Netconcepts LTD, Auckland, New Zealand
* Linux: because rebooting is for adding hardware.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
; Anyone know of a script that will allow a user to change their
> system/email password form the web on a UNIX system. wither PHP or Perl
> based?
>
> -B
--
Jason Morehouse ([EMAIL PROTECTED])
Netconcepts LTD, Auckland, New Zealand
* Linux: because rebooting is for addin
"Theres no such
> thing as a problem unless the servers are on fire!"
>
>
> __ Do You Yahoo!? Yahoo!
> - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com
--
> are not the intended addressee, nor authorized to receive for the
> intended addressee, you are hereby notified that you may not use, copy,
> disclose or distribute to anyone the message or any information
> contained in the message. If you have received this message in error,
> Perl (except that you'll want to add -q to the bangpath invocation).
>
> miguel
--
Jason Morehouse ([EMAIL PROTECTED])
Netconcepts LTD - Auckland, New Zealand
* Linux: Because rebooting is for adding hardware.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
http://www.php.net/manual/en/function.show-source.php
Cheers,
-J
On Thu, 06 Jun 2002 13:55:26 +1200, Jarrad Kabral wrote:
> Hi All,
>
> Is a command in PHP to format source code as color coded HTML?
>
>
>
> Regards
> Jarrad
--
Jason Morehouse ([EMAIL PROT
la verità, nella birra la forza, nell'acqua i bacilli
> --
> In wine there is truth, in beer there is strenght, in water there are
> bacteria
--
Jason Morehouse ([EMAIL PROTECTED])
Netconcepts LTD - Auckland, New Zealand
* Linux: Because rebooting is fo
me="product[desc]">
>
>
> menu_list.php
> -----
> echo $product['desc'];
>
>
> Result output
> -
> no output
--
Jason Morehouse ([EMAIL PROTECTED])
Netconcepts LTD - Auckland, New Zealand
Linux: because rebootin
rs',
> '$date')";
>
> echo $sql;
>
> mysql_query($sql) or die ("There has been an error");
>
>
> ?>
>
>
> ## Out put on page ##
>
> INSERT INTO prizeline (id, email, name, address, answers, date) VALUES
&
;
> Carlos Fernando Scheidecker Antunes
> Linux User #207984
--
Jason Morehouse ([EMAIL PROTECTED])
Netconcepts LTD, Auckland, New Zealand
* Linux: because rebooting is for adding hardware.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
cture of how
> the code would look, but before I start, I figure a set of functions
> probably already exists out there to do this... so why reinvent the
> wheel
>
> If anyone can point me to a URL, class, function, article, etc, I'd be
> pretty happy :)
>
>
> Justin
Have a great day,
> -Ryan.
>
> /*If you see me getting beated up by the cops, put down the camera and
> come
> and help me! */
--
Jason Morehouse ([EMAIL PROTECTED])
Netconcepts LTD, Auckland, New Zealand
* Linux: because rebooting is for adding hardware.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ve RTFM more but I'm a newbie.
>
> Henry
--
Jason Morehouse ([EMAIL PROTECTED])
Netconcepts LTD, Auckland, New Zealand
* Linux: because rebooting is for adding hardware.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Are you using post or get? I imagine you'd run into some limitations
using get.
On Tue, 14 May 2002 12:33:22 +1200, Enrique Vadillo wrote:
> Hi,
>
> I'm not sure if this is purely a PHP problem but here it goes:
>
> i have a form that sends text data to a PHP script, i have some textarea
> fi
site? I do not mind legit users from using this data, but
> the flippers are chewing up my bandwidth and db resources.
>
> I also want to be careful to not block valid search engine spiders from
> indexing our site.
>
> David McInnis
>
>
>
--
.--- .- ... -
quot;find" and both come up empty for mysqladmin.
> >
> >Am I missing something stupid here?
> >
> >Todd
> >
> >--
> >Todd Cary
> >Ariste Software
> >2200 D Street Extension
> >Petaluma, CA 94952
> >707-773-4523
> >[EMAIL PROTE
grep("/^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/",$file);
> print_r(array_values ($ips));
>
> And well i am getting nothing!
>
> Anyone?
--
Jason Morehouse ([EMAIL PROTECTED])
Netconcepts LTD, Auckland, New Zealand
- Linux: because rebooting is for adding har
e actual URL that I see
> in the browser?
>
> Thanks for any hints. I haven't coded for a while and am a bit out of
> it... Peter
--
Jason Morehouse ([EMAIL PROTECTED])
Netconcepts LTD, Auckland, New Zealand
* Linux: because rebooting is for adding hardware.
http://www.php.net/manual/en/function.mail.php
In article <9ad5le$p7n$[EMAIL PROTECTED]>, [EMAIL PROTECTED]
wrote:
> The subject explains all. I need to send html emails unsing php Thanks
>
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
50 matches
Mail list logo