Re: [PHP] extension development

2005-05-15 Thread Matthew Fonda
/zend.php Regards, Matthew Fonda -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Matching Number of Times a Word Occurs...

2005-04-19 Thread Matthew Fonda
Hello, http://us4.php.net/substr_count Regards, Matthew Fonda Russell P Jones wrote: Im trying to count the number of times a word occurs in a string - is the only way to do this preg_match_all? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Amazon/eBay API

2005-04-15 Thread Matthew Fonda
Brian Dunning wrote: Does anyone know of any PHP classes for processing the Amazon or eBay XML feeds? There are two PEAR classes which handle both of these things, Services_Ebay and Services_Amazon. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] IRC from PHP - help

2005-04-01 Thread Matthew Fonda
You might want to check out PEAR::Net_SmartIRC http://pear.php.net/package/Net_SmartIRC hello i'm a newcomer to this list, fairly experienced PHP programmer but coding mostly for personal web sites or hobbies. I also run an irc chat network and am curious as to if I can integrate php into it

Re: [PHP] php user groups - searching for php developers for a project...

2005-04-01 Thread Matthew Fonda
Im not sure if you have checked it, but there is a calender on www.php.net with a list of a lot of user group events, perhaps you could find one there. hi... we're trying to find php developers/partners for a project, and we're wondering if there are php user groups in the cali/bay area (san

Re: [PHP] PHP 5 Status

2005-04-01 Thread Matthew Fonda
Yes, PHP5 is ready for production environments. It is stable, and has been stable for almost an entire year. Is PHP 5 ready for production environments? Is it concidered stable, or is it just a matter of going a while with no new bugs discovered to get to stable.. Colin -- PHP General Mailing

[PHP] Re: Help!

2005-03-26 Thread Matthew Fonda
Chances are you are not connected to the database, or you have a MySQL error somewhere along the lines. Try using mysql_error() to help find whats going on. [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I get this error: Warning: mysql_fetch_row(): supplied argument is not a valid

[PHP] Re: modules

2005-03-26 Thread Matthew Fonda
I would say the best way to go about doing this would be to look at examples of the code in sites you find that do this. Observe how they do it, and base your code off of it. Cima [EMAIL PROTECTED] wrote: hi, im building a web site and i have seen some sites built using modules to facilitate

Re: [PHP] mysql_fetch_row() --Still not working

2005-03-26 Thread Matthew Fonda
Any idea how I could fix it? Yes, use mysql_error() to see what the error is, once you know what MySQL error you are getting, it will be easy to fix. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Netobjects Fusion problem

2005-03-26 Thread Matthew Fonda
version. This is a note on the ibase_fetch_assoc() manual page saying: If your php is older than version 4.3.0, you can use the following: $arr_record = get_object_vars(ibase_fetch_object($sql_result)); which is the same as: $arr_record = ibase_fetch_assoc($sql_result); -- Regards, Matthew

Re: [PHP] reg expressions

2005-03-25 Thread Matthew Fonda
would be GREATLY appreciated. It would also be fine to just do a loop that checks each line. Since I guess that would be quicker. If the line starts with a #, then ignore it, otherwise, do some other stuff. Thanks Steve -- Regards, Matthew Fonda http://mfonda.info -- PHP General

Re: [PHP] following php development

2005-03-25 Thread Matthew Fonda
but it seems that it has not been updated in a while. Besides the php-devel is there any other source of information about php's development ? -- Regards, Matthew Fonda http://mfonda.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: html image

2005-03-25 Thread Matthew Fonda
. can such a thing be done by php? if not, maybe by some other language? -- Regards, Matthew Fonda http://www.mfonda.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Ending PHP

2005-03-25 Thread Matthew Fonda
){ This } Do not continue to the next piece of code, if false, continue to the next piece of code. Thanks for any help. -- Steve Marquez [EMAIL PROTECTED] -- Regards, Matthew Fonda http://mfonda.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] shell script - disable log output

2005-03-09 Thread Matthew Fonda
? -thanks, Eli -- Regards, Matthew Fonda http://mfonda.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Comments and performance

2005-03-05 Thread Matthew Fonda
Smith Ninja Labs http://www.ninjalabs.co.uk/ -- Regards, Matthew Fonda http://mfonda.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] pulling content from a URL

2005-03-04 Thread Matthew Fonda
, etc. -- Regards, Matthew Fonda http://mfonda.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Data Encryption

2005-03-02 Thread Matthew Fonda
do I decipher it to be used later on? Also, not to sound helpless, but I'm pretty new to PHP and I don't quite have a handle on the jargon, so if it could be explained as simply as possible that would be helpful. Thanks so much! Cat -- Regards, Matthew Fonda http://mfonda.info -- PHP

Re: [PHP] xml-rpc with php5

2005-03-01 Thread Matthew Fonda
simplicity and less overhead. Alex You could try the new xmlrpci PHP extension http://pecl.php.net/package/xmlrpci If not, you can use PEAR::XML_RPC http://pear.php.net/package/XML_RPC -- Regards, Matthew Fonda http://mfonda.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Wierd PHP Problem

2005-02-23 Thread Matthew Fonda
']; -- Regards, Matthew Fonda http://mfonda.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Foreach problem.

2005-02-09 Thread Matthew Fonda
an idea why? Thank you very much Mirco Blitz -- Regards, Matthew Fonda -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Development IDE's/Editors

2005-02-09 Thread Matthew Fonda
PHP development. (On Windows) I know that you can use good ol Visual Notepad, but i was wondering if there was anything better out there. Thanks. -- Regards, Matthew Fonda -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Parsing whois lookup information

2005-02-09 Thread Matthew Fonda
all copies and attachments.Any disclosure, copying, distribution, or reliance upon the contents of this e-mail, by any other than the intended recipients, is strictly prohibited. -- Regards, Matthew Fonda -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] question on getting URL

2005-01-30 Thread Matthew Fonda
show it in the address bar. All it shows is; http://mysite.com What I would like to do is to get the information from the address bar to know when I am on the main page. -- -- Regards, Matthew Fonda -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Get a PAGE

2005-01-28 Thread Matthew Fonda
the details on it. Im going to try PEAR HTTP_Download Is there another application or syntax on php that can do this? -- Louie Miranda http://www.axishift.com -- Regards, Matthew Fonda -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Class declaration, constants and array

2005-01-28 Thread Matthew Fonda
to this. var $test=$test2;// also fails So since I can not use dynamic var assignment within the class declaration, what are some of the easy solutions to this ? without making anything global to the script ? Thanks -- Regards, Matthew Fonda -- PHP General Mailing List (http

Re: [PHP] Classes and parents.

2005-01-21 Thread Matthew Fonda
extends a { function say() { echo B; } function run() { parent::run(); } } $obj = new b; $obj-run(); --- I will get B, but how i may get A? -- Regards, Matthew Fonda -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] delete part of array

2005-01-13 Thread Matthew Fonda
] = grape [1] = apple [2] = [3] = orange [4] = [5] = cherry ) to: [name] = Array ( [0] = grape [1] = apple [2] = orange [3] = cherry ) -- Regards, Matthew Fonda -- PHP General Mailing List (http://www.php.net

Re: [PHP] Re: Align pic

2004-12-29 Thread Matthew Fonda
/tr /table this should work, but it's not. now the image is centered horizontally, but I need it vertically, too. what to do? Thank you, Lab. -- Regards, Matthew Fonda -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Wiki recomendations

2004-12-25 Thread Matthew Fonda
://gdconsultants.com/ http://destiney.com/ -- Regards, Matthew Fonda -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Converting a string into ASCII and a bit more - newbie

2004-11-15 Thread Matthew Fonda
an expert here could show me some light and point me in the right direction. I have 2 sets installed on my PC as PHPDEV423 and XAMPP 1.4.9 (set to use php4) and it fails in both. Thanks in advance, Alp P.S.: I hope I have posted this in the correct NG -- Regards, Matthew Fonda -- PHP

Re: [PHP] Best Functions for Checking Remote File last modified?

2004-10-23 Thread Matthew Fonda
i think that matters?) and is http password protected. Which functions should I look at for acheiving this please? Thanks very much! -- Nick W -- Regards, Matthew Fonda -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] simple math computation..

2004-10-04 Thread Matthew Fonda
Howdy. It seems to work fine for me, perhaps you have a typo along the lines some where. ?php $totalCost = 4000; $shippingestimate = $totalCost * .20; echo $shippingestimate; ? echoes 800 -- Regards, Matthew Fonda On Sun, 2004-10-03 at 23:26, Louie Miranda wrote: the percent of 20% is = .20

Re: [PHP] Function declaration failing on return value

2004-10-04 Thread Matthew Fonda
Howdy, It seems to work just fine for me, perhaps you have a syntax error somewhere else, such as a missing ; or $ or {. Check and make you you have no typo's, it seems to work perfectly for me. -- Regards, Matthew Fonda On Mon, 2004-10-04 at 13:59, Whil Hentzen wrote: Don't get too excited

Re: [PHP] Question about handling credit cards

2004-10-04 Thread Matthew Fonda
is received. Or, if the customer decides to have instock items ship now and back ordered items ship when they arrive - which results in two shipping charges. How do you guys handle this? -Ed -- Regards, Matthew Fonda -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Using PHP4 or PHP5

2004-10-03 Thread Matthew Fonda
I would say PHP5, for sure. PHP5 is much better in nearly every way, and more and more people are using it every day. Also, for the most part, PHP4 is backwards compatible with PHP5, so it shouldn't be too much of a problem. I would absolutely recommend upgrading to PHP5. -- Regards, Matthew

Re: [PHP] How to install php5 on Fedora Core2

2004-10-03 Thread Matthew Fonda
should be working perfectly -- Regards, Matthew Fonda On Sun, 2004-10-03 at 07:03, Robert Cummings wrote: On Sun, 2004-10-03 at 09:43, Teng Wang wrote: Surely apache is running. And I checked httpd.conf. There is no LoadModule php4.x.x Anyother settings should be removed

Re: [PHP] A problem of installation

2004-10-03 Thread Matthew Fonda
should be working perfectly -- Regards, Matthew Fonda On Sat, 2004-10-02 at 21:27, Robert Cummings wrote: On Sun, 2004-10-03 at 00:05, Teng Wang wrote: I met with a problem when installing php5.0.0 on my Federo Core 2.0 system. I use the default settings: ./configure make make

Re: [PHP] How to install php5 on Fedora Core2

2004-10-03 Thread Matthew Fonda
to php.ini -- Regards, Matthew Fonda On Sun, 2004-10-03 at 07:21, Teng Wang wrote: Thanks a lot. It works! But a new problem is: default setting loses all extensions. If I wanna install all extension in the package, how to configure the installation and reinstall? Thanks a lot! -- PHP General

RE: [PHP] Re: set multiple variables

2004-10-03 Thread Matthew Fonda
On Sun, 2004-10-03 at 04:39, Graham Cossey wrote: isn't the || same as ? Or I missed something? No, || is OR, and is AND Check out http://www.php.net/manual/en/language.operators.logical.php -- Regards, Matthew Fonda -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] HOWTO: Install PHP on Fedora Core / Redhat

2004-10-03 Thread Matthew Fonda
Howdy, I noticed that quite a few people were having a hard time installing PHP on Fedora Core or Redhat, so I put together a little tutorial explaining how to do it. Hope it helps :D http://mfonda.dotgeek.org/fcrh.php -- Regards, Matthew Fonda -- PHP General Mailing List (http://www.php.net

Re: [PHP] World time convertor

2004-09-30 Thread Matthew Fonda
Howdy, Check out the Date PEAR package, http://pear.php.net/package/Date -- Regards, Matthew Fonda On Thu, 2004-09-30 at 02:19, Phpu wrote: Howdy Is there a time convertor written in php? I mean to convert a specific hour/date in all world countries. -- PHP General Mailing List (http

Re: [PHP] PHP Data cache ideas/solutions

2004-09-29 Thread Matthew Fonda
You could do something like: $result = mysql_query(SELECT * FROM whatever, $link); while ($topic = mysql_fetch_assoc($result)) { $all[] = $topic; } The array $all will contain all of the things fetched. On Wed, 2004-09-29 at 02:04, Niklas Ojala wrote: Hello I am kind of new to this

Re: [PHP] Best way to allow a user to indicate formatting to be displayed but stored.

2004-09-29 Thread Matthew Fonda
Typically people use BBCode to do this. This mean the user will enter something like [b]this is bold[/b] or [i]italic[/u] and the BBCode will be parsed and transformed into HTML when the page is displayed. There are many parsers already written to do this, or you could make your own, or use PEAR:

Re: [PHP] How do I make an 'email this page' feature?

2004-09-29 Thread Matthew Fonda
Check out the PHP mail function: http://www.php.net/manual/en/ref.mail.php http://www.php.net/manual/en/function.mail.php On Wed, 2004-09-29 at 14:03, PHP Tech wrote: Hi. I am on a tight deadline here- I am trying to get a feature on a website I am creating where you click a link on a page

Re: [PHP] classes in php5

2004-09-28 Thread Matthew Fonda
?php class Foo { } $className = Foo; $fooInstance = new $className; ? Works fine for me. It still works if you add methods or properties to Foo as well, I'm not sure why it wouldn't work for you, possibly you have another error along the lines somewhere. I am on PHP 5.0.1 BTW On Tue, 2004-09-28

Re: [PHP] Multiple pages of data.

2004-09-28 Thread Matthew Fonda
Or if you wanted to do it all in PHP, without using LIMIT, you could do something like this. I'm not exactly sure how your database is set up, so I just used this made this dummy table as the one I will use in this example: create table topics(id int(8) not null auto_increment, topic

Re: [PHP] Multiple pages of data.

2004-09-28 Thread Matthew Fonda
oops, forgot to add this, put as first line in the for loop: if ($i == $num_rows) break; On Tue, 2004-09-28 at 22:45, Matthew Fonda wrote: Or if you wanted to do it all in PHP, without using LIMIT, you could do something like this. I'm not exactly sure how your database is set up, so I just

Re: [PHP] regular expression help

2004-09-28 Thread Matthew Fonda
Howdy, Regular expressions are a simple way of matching patters. You can learn more about regular expressions in general here: http://www.opengroup.org/onlinepubs/007908799/xbd/re.html If you are interested in using regular expressions in PHP, check out these sites: