php-general Digest 8 Feb 2009 14:35:26 - Issue 5947
Topics (messages 287915 through 287920):
Re: Sending XML requests as raw post data
287915 by: Nathan Rixham
287916 by: Nathan Rixham
Re: Reg-ex help
287917 by: Craige Leeder
Seeking PHP Work in Chicago or
php-general Digest 9 Feb 2009 04:04:25 - Issue 5948
Topics (messages 287921 through 287945):
Re: Adding Records Capture The New Record ID
287921 by: tedd
287942 by: Chris
Re: PHP usage stats
287922 by: tedd
287923 by: Stuart
287924 by: Richard Heyes
Nathan Rixham napsal(a):
Ashley Sheridan wrote:
On Thu, 2009-02-05 at 09:44 +1100, Chris wrote:
PHP wrote:
Hi all,
I am seeking some knowledge, hopefully I explain this right.
I am wondering what you think is faster.
Say you have 1000 records from 2 different tables that you need to
get
Hi,
Can anyone point out some general statistics on PHP usage compared to
other server languages? I've tried Netcraft, but they only appear (or
I've only found) to have statistics on the httpd server used.
Thanks.
--
Richard Heyes
HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari:
At 1:36 AM + 2/8/09, Ashley Sheridan wrote:
On Sat, 2009-02-07 at 15:26 -0500, tedd wrote:
That's one way, to use mysql_insert_id (probably the best).
But another is simply to read back in the record you just created and
check the $row['id']. That's the way I do it sometimes.
Cheers,
At 2:35 PM + 2/8/09, Richard Heyes wrote:
Hi,
Can anyone point out some general statistics on PHP usage compared to
other server languages? I've tried Netcraft, but they only appear (or
I've only found) to have statistics on the httpd server used.
Thanks.
--
Richard Heyes
Richard:
I
2009/2/8 tedd tedd.sperl...@gmail.com:
At 2:35 PM + 2/8/09, Richard Heyes wrote:
Hi,
Can anyone point out some general statistics on PHP usage compared to
other server languages? I've tried Netcraft, but they only appear (or
I've only found) to have statistics on the httpd server used.
Hi,
Why anyone would see value in such a number is beyond me.
Just trying to get an (over)view of the market.
--
Richard Heyes
HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari:
http://www.rgraph.org (Updated January 31st)
--
PHP General Mailing List (http://www.php.net/)
To
Hi,
I am trying to write a programme to read a rss xml file.
...
media:content url=*exampe.jpg* ...
...
scan anyone tell me how to get the url attribute? I wrote some codes
similar:
$doc = new DOMDocument;
$doc-load($myFlickrRss);
$r = $doc-getElementsByTagName('media:content');
On Fri, 6 Feb 2009 10:11:49 +0100, cr.vege...@gmail.com wrote:
I saved both scripts with ANSI in stead of UTF-8 and the problem is gone.
So the utf-8 BOM character (Byte Order Mark) caused it.
Unfortunately my editor has no option to store BOM-free scripts.
Is it standard that PHP scripts
Hey,
Is it possible to append a result query from one call to
mysql_query() to the end of another if the specified fields
are identical?
Something like that would accomplish ths?
$r1 = mysql_query('some sql');
$r2 = mysql_query('some sql');
$r3 = $r1.$r2;
I suppose they could be read into
Morris wrote:
Hi,
I am trying to write a programme to read a rss xml file.
...
media:content url=*exampe.jpg* ...
...
scan anyone tell me how to get the url attribute? I wrote some codes
similar:
$doc = new DOMDocument;
$doc-load($myFlickrRss);
$r =
On Sun, 2009-02-08 at 12:22 -0600, Skip Evans wrote:
Hey,
Is it possible to append a result query from one call to
mysql_query() to the end of another if the specified fields
are identical?
Something like that would accomplish ths?
$r1 = mysql_query('some sql');
$r2 =
Ashley Sheridan wrote:
Can you not take this to the SQL itself, like maybe using some form of
join on the query.
I've been trying that, and frankly gave up, being whipped into
submission and having to admin I'm not an expert DBA, but I
hesitated to post the queries lest I be flamed for
On Sun, 2009-02-08 at 12:37 -0600, Skip Evans wrote:
Ashley Sheridan wrote:
Can you not take this to the SQL itself, like maybe using some form of
join on the query.
I've been trying that, and frankly gave up, being whipped into
submission and having to admin I'm not an expert DBA,
Oh, yeah, that's fine. I knew I could od it with arrays, but
also looked to see if there was any way to just do an append,
and I also need to sort them as well, so maybe I better get
back to figuring out a join.
Skip
Ashley Sheridan wrote:
On Sun, 2009-02-08 at 12:37 -0600, Skip Evans
2009/2/8 Skip Evans s...@bigskypenguin.com:
Is it possible to append a result query from one call to mysql_query() to
the end of another if the specified fields are identical?
Something like that would accomplish ths?
$r1 = mysql_query('some sql');
$r2 = mysql_query('some sql');
$r3 =
At 3:54 PM + 2/8/09, Stuart wrote:
2009/2/8 tedd tedd.sperl...@gmail.com:
I wasn't able to find a lot of information, but here's a useful link:
http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html
Tedd, that's a list of programming languages, not web development
On Sun, Feb 08, 2009 at 03:20:48PM -0500, tedd wrote:
At 3:54 PM + 2/8/09, Stuart wrote:
2009/2/8 tedd tedd.sperl...@gmail.com:
I wasn't able to find a lot of information, but here's a useful link:
http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html
Tedd, that's a
2009/2/8 tedd tedd.sperl...@gmail.com:
At 3:54 PM + 2/8/09, Stuart wrote:
2009/2/8 tedd tedd.sperl...@gmail.com:
I wasn't able to find a lot of information, but here's a useful link:
http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html
Tedd, that's a list of
On Sun, 2009-02-08 at 15:37 -0500, Paul M Foster wrote:
On Sun, Feb 08, 2009 at 03:20:48PM -0500, tedd wrote:
At 3:54 PM + 2/8/09, Stuart wrote:
2009/2/8 tedd tedd.sperl...@gmail.com:
I wasn't able to find a lot of information, but here's a useful link:
At 12:37 PM -0600 2/8/09, Skip Evans wrote:
Ashley Sheridan wrote:
Can you not take this to the SQL itself, like maybe using some form of
join on the query.
I've been trying that, and frankly gave up, being whipped into
submission and having to admin I'm not an expert DBA, but I
Skip Evans wrote:
Oh, yeah, that's fine. I knew I could od it with arrays, but
also looked to see if there was any way to just do an append,
and I also need to sort them as well, so maybe I better get
back to figuring out a join.
Just add asort() to what Ashley suggested.
The thing to keep
At 8:44 PM + 2/8/09, Stuart wrote:
2009/2/8 tedd tedd.sperl...@gmail.com:
just trying to get a handle on the number of people who program in php --
what's wrong with wanting to know that figure?
There's nothing wrong with wanting to know it, there's just no
reliable way to measure it
At 3:37 PM -0500 2/8/09, Paul M Foster wrote:
Perhaps a better question then might be how many IIS servers are there
out there compared to Apache. Apache servers uniformly support PHP, but
I think only IIS servers support ASP (I could be wrong). There's also
the FOSS argument. I'm continually
tedd wrote:
At 1:36 AM + 2/8/09, Ashley Sheridan wrote:
On Sat, 2009-02-07 at 15:26 -0500, tedd wrote:
That's one way, to use mysql_insert_id (probably the best).
But another is simply to read back in the record you just created and
check the $row['id']. That's the way I do it
2009/2/8 tedd tedd.sperl...@gmail.com:
At 8:44 PM + 2/8/09, Stuart wrote:
2009/2/8 tedd tedd.sperl...@gmail.com:
just trying to get a handle on the number of people who program in php
--
what's wrong with wanting to know that figure?
There's nothing wrong with wanting to know it,
I know rss_php, but it doesn't fit my solution.
Is anyone able to help me with my question?
thx
2009/2/8 Nathan Rixham nrix...@gmail.com
Morris wrote:
Hi,
I am trying to write a programme to read a rss xml file.
...
media:content url=*exampe.jpg* ...
...
scan anyone tell me how
I've read the docs about class constants and found some inconsistency (at
least according to my knowledge), namely in the following statement:
The value must be a constant expression, not (for example) a variable, a
class member, result of a mathematical operation or a function call.
Questions:
On Sun, Feb 08, 2009 at 08:04:19PM -0800, leledumbo wrote:
I've read the docs about class constants and found some inconsistency (at
least according to my knowledge), namely in the following statement:
The value must be a constant expression, not (for example) a variable, a
class member,
30 matches
Mail list logo