RE: [PHP] A good search tutorial

2004-04-21 Thread Brian Paulson
There is a good search engine tutorial at devshed - http://www.devshed.com/c/a/PHP/Quick-and-Dirty-Search-Engine-with-PHP-and-My SQL/ I use it for a few searches on our site and it works well. Thank You Brian Paulson Sr. Web Developer [EMAIL PROTECTED] www.chieftain.com 1-800-279-6397 x 207

RE: [PHP] apache lookdown

2004-03-11 Thread Brian Paulson
I had the same problem when we just moved and were able to solve it with this Directory /path/to/httpdocs Options Indexes MultiViews AcceptPathInfo On /Directory Hth Thank You Brian Paulson Sr. Web Developer [EMAIL PROTECTED] www.chieftain.com 1-800-279-6397 x 207 -Original Message

RE: [PHP] Extract of a Paragraph

2004-02-04 Thread Brian Paulson
$string = substr($stringname,0,50); echo $string; http://www.php.net/substr Thank You Brian Paulson Sr. Web Developer [EMAIL PROTECTED] www.chieftain.com 1-800-279-6397 x 207 -Original Message- From: Daniel Perez Clavero [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 7

RE: [PHP] getting page title using PHP

2003-06-11 Thread Brian Paulson
]; } } return $regs[1]; } } Hth Thank You Brian Paulson Sr. Web Developer Email: [EMAIL PROTECTED] Phone: 1-800-279-6397 Fax: 1-719-544-0264 URL: www.chieftain.com --- -Original

[PHP] CLI problems

2003-06-04 Thread Brian Paulson
) 1998-2003 Zend Technologies [EMAIL PROTECTED] user]# vi test.php #!/usr/bin/php ?php phpinfo(); ? [EMAIL PROTECTED] user]# ./test.php : bad interpreter: No such file or directory -rwxrwxrwx1 user user 39 Jun 3 15:43 test.php Thank You Brian Paulson Sr. Web Developer Email: [EMAIL

RE: [PHP] GEnerating PDF's

2003-06-03 Thread Brian Paulson
Petre, We use the ROS PDF Class its very easy to set up and has a ton of options, best part is that you don't need PDFLIB. http://www.ros.co.nz/pdf Hth Thank You Brian Paulson Sr. Web Developer Email: [EMAIL PROTECTED] Phone: 1-800-279-6397 Fax: 1-719-544-0264 URL

[PHP] Errors with 4.2.2

2002-07-23 Thread Brian Paulson
this on some pages, but not all pages Thank You Brian Paulson Sr. Web Developer [EMAIL PROTECTED] http://www.chieftain.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Emalloc Fatal Error

2002-07-02 Thread Brian Paulson
, but not all pages that access the database cause the error. This problem is the only think keeping me from moving to 4.2.1 Any help would be appreciated. Thank You Brian Paulson Sr. Web Developer [EMAIL PROTECTED] http://www.chieftain.com -- PHP General Mailing List (http://www.php.net

RE: [PHP] Replacing non exact strings

2002-05-03 Thread Brian Paulson
. Thank You Brian Paulson Sr. Web Developer [EMAIL PROTECTED] http://www.chieftain.com -Original Message- From: Julio Nobrega Trabalhando [mailto:[EMAIL PROTECTED]] Sent: Friday, May 03, 2002 8:36 AM To: [EMAIL PROTECTED] Subject: [PHP] Replacing non exact strings Hi List, Imagine

RE: [PHP] Weather Scripts

2002-02-21 Thread Brian Paulson
will have the source if you want to use it, but at the moment it is in no condition to be used on a live site. Thank You Brian Paulson Sr. Web Developer [EMAIL PROTECTED] http://www.chieftain.com -Original Message- From: Simos Varelakis (OLD) [mailto:[EMAIL PROTECTED]] Sent: Thursday

[PHP] Removing every thing between ( )

2002-02-20 Thread Brian Paulson
Hello, What would the regular expression be to remove all the text between ( ) $string = This is a (001 Test) and (002 Test); The numbers always change but the word stays the same Any help would be appreciated. Thank You Brian Paulson Sr. Web Developer [EMAIL PROTECTED] http

RE: [PHP] Re: Removing every thing between ( )

2002-02-20 Thread Brian Paulson
@bpaulson, [EMAIL PROTECTED] (Brian Paulson) wrote: What would the regular expression be to remove all the text between ( ) $string = This is a (001 Test) and (002 Test); $string=preg_replace(/\(.+\)/U,'',$string); Note that leading/trailing spaces are left in, and the parens

RE: [PHP] Removing every thing between ( )

2002-02-20 Thread Brian Paulson
Ok help me out here, isn't the point of this list to get help? How long is too long to work on a solution before ask for help? Brian -Original Message- From: bvr [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 2:33 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Removing

[PHP] 4.1.0 and is_file

2001-12-12 Thread Brian Paulson
this problem? Thank You Brian Paulson Sr. Web Developer [EMAIL PROTECTED] http://www.chieftain.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail

[PHP] WXFEED Weather Script

2001-11-20 Thread Brian Paulson
I am trying to locate a script called WXFEED by John Sanders. The only place this script seems to be located is on hotscripts but the link no longer works. So if any one has downloaded it and still has it around I would appreciate it if I could get a copy. Thank You Brian Paulson Sr. Web

RE: [PHP] quick friday query

2001-11-16 Thread Brian Paulson
Casper, My guess would be that the folder that you are trying to write the file to doesn't have the correct permissions to allow the webserver to write to it. Try that and let me know if it works! Thank You Brian Paulson Sr. Web Developer [EMAIL PROTECTED] http://www.chieftain.com

RE: [PHP] I suck at regular expressions!

2001-11-15 Thread Brian Paulson
Been Using this Function for some time and works real well with two exceptions 1. if the title line has a CR in it it will no get the title Example: titleThis is a bad Title/title 2. If there are any other tags in the title it will fail. ? function title($file) {

RE: [PHP] Database editor

2001-10-05 Thread Brian Paulson
You might also want to try http://sourceforge.net/projects/phpmyadmin That is where you will find the newest version of the program. Thank You Brian Paulson Sr. Web Developer The Pueblo Chieftain Online [EMAIL PROTECTED] http://www.chieftain.com -Original Message- From: Girish Nath

RE: [PHP] Re: something like alert (javascript)

2001-10-03 Thread Brian Paulson
value=Click here Hope this helps Thank You Brian Paulson Sr. Web Developer The Pueblo Chieftain Online [EMAIL PROTECTED] http://www.chieftain.com -Original Message- From: John Lim [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 03, 2001 11:50 AM To: [EMAIL PROTECTED] Subject: [PHP

RE: [PHP] Is it possible to detect the Browser type/version in PHP?

2001-09-11 Thread Brian Paulson
Here is something that I use and works good ? $Browser_Type = strtok($HTTP_USER_AGENT, /); if(ereg( MSIE, $HTTP_USER_AGENT)) { } elseif(ereg( Mozilla, $HTTP_USER_AGENT)) { } else // I use this to catch Search Robots { } ? Thank You Brian Paulson Sr. Web Developer The Pueblo

RE: [PHP] building a search engine ??

2001-07-12 Thread Brian Paulson
http://www.htdig.org -Original Message- From: Navid A. Yar [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 12, 2001 10:50 AM To: 'scott [gts]'; 'php' Subject: RE: [PHP] building a search engine ?? This sounds interesting. Where can I find htdig? -Original Message- From: scott

[PHP] APXS -S option in 4.0.6

2001-06-28 Thread Brian Paulson
1 make[1]: Leaving directory `/home/sites/home/users/admin/php-4.0.6' make: *** [install-recursive] Error 1 Thank You Brian Paulson Sr. Web Developer [EMAIL PROTECTED] The Pueblo Chieftain www.chieftain.com 1-800-279-6397 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e

[PHP] Apache not starting after installing php --with-gd

2001-05-18 Thread Brian Paulson
of this happening with Mysql and we have been using mysql with out any troubles. we re using a Cobalt Raq3i Any Ideas? Thank You Brian Paulson Sr. Web Developer The Pueblo Chieftain www.chieftain.com 1-800-279-6397 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

[PHP] accessing Javascript Cookies with php

2001-05-08 Thread Brian Paulson
this same Problem? Thank you Brian Paulson Sr. Web Developer [EMAIL PROTECTED] http://www.chieftain.com 1-800-269-6397 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

RE: [PHP] PHP Java ?

2001-05-04 Thread Brian Paulson
Is there any way that we can see the page? That might help in sorting out the problem Thank you Brian Paulson Sr. Web Developer [EMAIL PROTECTED] http://www.chieftain.com 1-800-269-6397 -Original Message- From: Jack Sasportas [mailto:[EMAIL PROTECTED]] Sent: Friday, May 04, 2001 11:22

RE: [PHP] search results return by relevancy

2001-04-19 Thread Brian Paulson
You might try this article on devshed on how to create a search engine using MySql and php. http://www.devshed.com/Server_Side/PHP/Search_Engine/ I currently use this same Technique to run our classifieds at http://www.chieftainclassifieds.com Thank you Brian Paulson Sr. Web Developer [EMAIL

RE: [PHP] Parsing HTML tags

2001-04-13 Thread Brian Paulson
} return $regs[1]; } } call it like so print(title("home.htm","web/articles")); The only drawback is if there is any tags in between the title/title tags it will not get the title, also if the title is on two lines like this titleThis is the title of my page

RE: [PHP] Not isset

2001-03-09 Thread Brian Paulson
try if(!(isset($order))) { $order=$Table."ID"; } hth Thank you Brian Paulson Sr. Web Developer [EMAIL PROTECTED] http://www.chieftain.com 1-800-269-6397 -Original Message- From: Mike [mailto:[EMAIL PROTECTED]] Sent: Friday, March 09, 2001 1:34 PM

RE: [PHP] Tutorial?

2001-03-02 Thread Brian Paulson
You might also go to http://www.devshed.com they have a very good php section. For code to look at go to http://www.weberdev.com/ or http://www.zend.com Thank you Brian Paulson Sr. Web Developer [EMAIL PROTECTED] http://www.chieftain.com 1-800-269-6397 -Original Message- From: Jeff

RE: [PHP] how to specify the sender email address in the mail() function?

2001-02-02 Thread Brian Paulson
Try this mail($recipient,"subject"," $content ","From: $sender\nReply-To: $sender\nX-Mailer: PHP/" . phpversion()); Hope this helps Thank you Brian Paulson Sr. Web Developer [EMAIL PROTECTED] http://www.chieftain.com 1-800-269-6397 -Original Message- Fr

RE: [PHP] Suggest for List

2001-02-01 Thread Brian Paulson
://marc.theaimsgroup.com/?l=php4betar=1w=2 And there is more here http://marc.theaimsgroup.com/?w=2 just scroll down to the www section. Thank you Brian Paulson Sr. Web Developer [EMAIL PROTECTED] http://www.chieftain.com 1-800-269-6397 -Original Message- From: April [mailto:[EMAIL PROTECTED]] Sent