RE: [PHP] GEnerating PDF's

2003-06-03 Thread Brian Paulson
Petre, We use the R&OS 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

[PHP] CLI problems

2003-06-04 Thread Brian Paulson
) 1998-2003 Zend Technologies [EMAIL PROTECTED] user]# vi test.php #!/usr/bin/php [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 PROTECTED] Phone: 1

RE: [PHP] getting page title using PHP

2003-06-11 Thread Brian Paulson
$string = $regs[2]; } } 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 --

[PHP] Errors with 4.2.2

2002-07-23 Thread Brian Paulson
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
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/) To

RE: [PHP] php'ed mysql query

2001-01-16 Thread Brian Paulson
Try printing the $query1 to the browser and see what it looks like that solves 99% of my Query problems. Thank you Brian Paulson Sr. Web Developer [EMAIL PROTECTED] http://www.chieftain.com 1-800-269-6397 -Original Message- From: Christopher Allen [mailto:[EMAIL PROTECTED]] Sent

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] 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] 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] 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

[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

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

2001-05-18 Thread Brian Paulson
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] 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 PROTE

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

2002-02-20 Thread Brian Paulson
a0a@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 t

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 ever

RE: [PHP] Replacing non exact strings

2002-05-03 Thread Brian Paulson
Julio, Try this $search = "Joe Doe"; $original = "Joe Cougar Doe"; $final = "Joe Cougar Doe"; $terms = explode(" ",$search); for($i=0; $i".$terms[$i]."", $original); } echo $original; Should get you started. Thank You

RE: [PHP] Weather Scripts

2002-02-21 Thread Brian Paulson
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

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: This is a bad Title 2. If there are any other < > tags in the title it will fail. ([^<]*)(.*)', $string, $regs ) )

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.chieftai

[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

[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

RE: [PHP] Parsing HTML tags

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

[PHP] APXS -S option in 4.0.6

2001-06-28 Thread Brian Paulson
/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-mail: [EMAIL PROTECTED] F

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

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 Thank You Brian Paulson Sr. Web Developer The Pueblo Chieftain Online [EMAIL PROTECTED] http://www.chieftain.com > -Original Message- > From: nayco [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 11, 2001 9:48 AM > To

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

2001-10-03 Thread Brian Paulson
bSuccess = true; else bSuccess = false; } return bSuccess; } Put form stuff in here Hope this helps Thank You Brian Paulson Sr. Web Developer The Pueblo Chieftain Online [EMAIL PROTECTED] http://www.chieftain.com > -Ori

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:

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] 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] 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 Options Indexes MultiViews AcceptPathInfo On Hth Thank You Brian Paulson Sr. Web Developer [EMAIL PROTECTED] www.chieftain.com 1-800-279-6397 x 207 -Original Message- From: Marc Greenstock [mailto

RE: [PHP] Suggest for List

2001-02-01 Thread Brian Paulson
p://marc.theaimsgroup.com/?l=php-windows&r=1&w=2 PHP4 Beta http://marc.theaimsgroup.com/?l=php4beta&r=1&w=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.ch

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