/zend.php
Regards,
Matthew Fonda
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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:
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
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
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
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
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
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
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
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
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
.
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
){
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
?
-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
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
, etc.
--
Regards,
Matthew Fonda
http://mfonda.info
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
'];
--
Regards,
Matthew Fonda
http://mfonda.info
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
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
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
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
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
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
] = 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
/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
://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
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
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
?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
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
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
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:
49 matches
Mail list logo