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
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: http://www.php.net/unsu
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
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
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
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
> 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
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
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
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
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
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,
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
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
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
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
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.
>
>
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
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
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
--
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
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
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
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
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
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",
[name] => Array
> (
> [0] => grape
> [1] => apple
> [2] =>
> [3] => orange
> [4] =>
> [5] => cherry
> )
>
> to:
>
> [name] => Array
> (
> [0] => grape
> [1] => apple
>
> >
> >
> >
> >
> >
> >
> >
> > 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
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
(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
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
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
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
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
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
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.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
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
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
> > ...".
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
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
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
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
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
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
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
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),
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
49 matches
Mail list logo