[PHP] Homebrew fulltext search function (help)

2005-02-01 Thread Jason Morehouse
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

Re: [PHP] regex help

2005-01-15 Thread Jason Morehouse
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

Re: [PHP] php5 threadsafe / apache2 mpm=worker

2005-01-15 Thread Jason Morehouse
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

[PHP] php5 threadsafe / apache2 mpm=worker

2005-01-14 Thread Jason Morehouse
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

[PHP] regex help

2005-01-13 Thread Jason Morehouse
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

Re: [PHP] 403 not working -- apache 2 / php5 / linux

2005-01-10 Thread Jason Morehouse
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

Re: [PHP] 403 not working -- apache 2 / php5 / linux

2005-01-10 Thread Jason Morehouse
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

Re: [PHP] 403 not working -- apache 2 / php5 / linux

2005-01-10 Thread Jason Morehouse
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

[PHP] Re: Comparison Operator

2005-01-10 Thread Jason Morehouse
$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

[PHP] 403 not working -- apache 2 / php5 / linux

2005-01-10 Thread Jason Morehouse
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

[PHP] Re: What program to use to make thumbnail images?

2005-01-10 Thread Jason Morehouse
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

[PHP] nntp://news.php.net -- read only?

2004-12-17 Thread Jason Morehouse
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

[PHP] mysql sessions vs flat file?

2004-12-17 Thread Jason Morehouse
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

[PHP] Curl & cookies

2004-05-09 Thread Jason Morehouse
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

[PHP] php.net bug system

2002-10-08 Thread Jason Morehouse
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

[PHP] PDF to PHP (code)

2002-10-07 Thread Jason Morehouse
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

[PHP] Re: IIS 5 - ASP & PHP dev enviorment

2002-10-06 Thread Jason Morehouse
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 +

[PHP] Re: Error during complie of 4.2.3

2002-09-24 Thread Jason Morehouse
\ >--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

[PHP] Re: more stress on server...

2002-09-22 Thread Jason Morehouse
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

[PHP] Re: fopen()

2002-09-19 Thread Jason Morehouse
> 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

[PHP] Re: how to time an http request

2002-09-18 Thread Jason Morehouse
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

[PHP] Re: inheriting default constructor behavior?

2002-09-18 Thread Jason Morehouse
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

[PHP] PHPSESSID on entry page only

2002-08-28 Thread Jason Morehouse
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

[PHP] Re: Continue processing after redirect?

2002-08-16 Thread Jason Morehouse
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

[PHP] Continue processing after redirect?

2002-08-16 Thread Jason Morehouse
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

[PHP] Re: MySQL equivalent to append?

2002-07-23 Thread Jason Morehouse
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

[PHP] Re: Newbie Date question

2002-07-14 Thread Jason Morehouse
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

[PHP] Re: URGENT

2002-06-18 Thread Jason Morehouse
;$address1', address2 ='$address2', address3 = '$address3', > local = '$local', city = '$city', postcode = '$postcode', id = '$id'"; > $sql .= "WHERE username='$username'"; > > mysql_query( "$s

[PHP] Re: IMAP and I make... and what do I get recursion :)

2002-06-18 Thread Jason Morehouse
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

[PHP] Re: getting variables the hard way?

2002-06-18 Thread Jason Morehouse
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:/

[PHP] Re: Determine week

2002-06-16 Thread Jason Morehouse
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

[PHP] Re: Creatng a PHP chatroom

2002-06-15 Thread Jason Morehouse
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

[PHP] Re: Change Password

2002-06-15 Thread Jason Morehouse
; 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

[PHP] Re: Evaluation. Easy Question but I need some help

2002-06-14 Thread Jason Morehouse
"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 --

[PHP] Re: search parse?

2002-06-14 Thread Jason Morehouse
> 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,

Re: [PHP] run from telnet...like PERL?

2002-06-05 Thread Jason Morehouse
> 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

[PHP] Re: Automatic color coded HTML

2002-06-05 Thread Jason Morehouse
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

[PHP] Re: email attachments and PHP

2002-06-03 Thread Jason Morehouse
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

Re: [PHP] Arrays and Forms

2002-05-19 Thread Jason Morehouse
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

[PHP] Re: Why would this command just Die!

2002-05-19 Thread Jason Morehouse
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 &

[PHP] Re: How to encode e-mail attachments, work with MIME

2002-05-19 Thread Jason Morehouse
; > 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

[PHP] Re: parsing CSV, updating MySQL table

2002-05-18 Thread Jason Morehouse
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

[PHP] Re: Comon guys, please help.

2002-05-18 Thread Jason Morehouse
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

[PHP] Re: How do I get rid of session id (test purposes)

2002-05-18 Thread Jason Morehouse
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

[PHP] Re: textarea problem

2002-05-15 Thread Jason Morehouse
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

Re: [PHP] How to stop site flipping?

2002-05-13 Thread Jason Morehouse
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 > > > -- .--- .- ... -

Re: [PHP] MySQL and RH 7.2

2002-05-12 Thread Jason Morehouse
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

[PHP] Re: preg_grep Help (Regular expresion)

2002-05-12 Thread Jason Morehouse
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

Re: [PHP] Apache rewrite engine and $REQUEST_URI

2002-05-12 Thread Jason Morehouse
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.

Re: [PHP] How can i sent an html e-mail using mail()?

2001-04-03 Thread Jason Morehouse
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