Re: [PHP] extension development

2005-05-15 Thread Matthew Fonda
ual is also useful: http://www.php.net/manual/en/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: http://www.php.net/unsu

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 Li

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 fra

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 some

Re: [PHP] PHP Netobjects Fusion problem

2005-03-26 Thread Matthew Fonda
sql_result); " -- 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] 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

[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

[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 > val

Re: [PHP] Ending PHP

2005-03-25 Thread Matthew Fonda
is true > > If ($a = $b){ > > 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.in

[PHP] Re: html image

2005-03-25 Thread Matthew Fonda
i enter an URL and php makes the > picture. > > 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] following php development

2005-03-25 Thread Matthew Fonda
y summary 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,

Re: [PHP] reg expressions

2005-03-25 Thread Matthew Fonda
eed to > loop through the lines in $aliases and do stuff with each line. Any help > 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

Re: [PHP] shell script - disable log output

2005-03-09 Thread Matthew Fonda
t; My error message > $ > > How can I prevent the error messages from being echoed to the client? > > -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
3 on Apache on Windows. > > Many Thanks, > > Chris 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
7;t need a lot of error checking to insure correct > URL format, 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
aving it in the database and then how 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. > >

Re: [PHP] xml-rpc with php5

2005-03-01 Thread Matthew Fonda
ap because of it's 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

Re: [PHP] Wierd PHP Problem

2005-02-23 Thread Matthew Fonda
ame']; $password = $_POST['password']; -- 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] Parsing whois lookup information

2005-02-09 Thread Matthew Fonda
so that arrangements can be made for proper > delivery, and then please delete 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 --

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

2005-02-09 Thread Matthew Fonda
s are using for your 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] Foreach problem.

2005-02-09 Thread Matthew Fonda
rr as $key=>$tmp); > { > echo "$key=>$tmp"; > } > > Now the result of that is: > > 35=>bund > > Ist not the first time i work with foreach. But it is the first time it just > returns the last value. > > Do you have 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] question on getting URL

2005-01-30 Thread Matthew Fonda
index.php. but it doesn't > 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 L

Re: [PHP] Class declaration, constants and array

2005-01-28 Thread Matthew Fonda
ything fails > similar 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 ? > > Than

Re: [PHP] Get a PAGE

2005-01-28 Thread Matthew Fonda
ining 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 un

Re: [PHP] Classes and parents.

2005-01-21 Thread Matthew Fonda
t;A"; } > function run() { $this->say(); } > } > class b extends a { > function say() { echo "B"; } > function run() { parent::run(); } > } > > $obj = new b; > $obj->run(); > ------- > > I will get "B",

Re: [PHP] delete part of array

2005-01-13 Thread Matthew Fonda
[name] => Array > ( > [0] => grape > [1] => apple > [2] => > [3] => orange > [4] => > [5] => cherry > ) > > to: > > [name] => Array > ( > [0] => grape > [1] => apple >

Re: [PHP] Re: Align pic

2004-12-29 Thread Matthew Fonda
> > > > > > > > > > > > > > > > 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
Donald > Zend Certified Engineer > http://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
(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 General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2004-10-23 Thread Matthew Fonda
e is in csv format (not tht 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] Question about handling credit cards

2004-10-04 Thread Matthew Fonda
cts ship, rather than when the order 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 -- P

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 ge

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. echoes 800 -- Regards, Matthew Fonda On Sun, 2004-10-03 at 23:26, Louie Miranda wrote: > the percent of 20% is = .20 right? > how can i compute the correct value for this? > > my $totalCo

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

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

2004-10-03 Thread Matthew Fonda
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? > > T

Re: [PHP] A problem of installation

2004-10-03 Thread Matthew Fonda
d php 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

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

2004-10-03 Thread Matthew Fonda
d php 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 > > ...".

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, Ma

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

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 pag

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: h

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 th

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: http://www.php.net/manual/en/r

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 databas

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 varchar(30),

Re: [PHP] classes in php5

2004-09-28 Thread Matthew Fonda
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 at 19:42, Curt Zirzow wrote: > * Thus wrote Daniel Watrous: > > Hello