php-general Digest 12 Feb 2009 12:47:45 - Issue 5954
Topics (messages 288134 through 288154):
Re: Best way to post XML via curl?
288134 by: Brian Dunning
288135 by: Stuart
288136 by: Brian Dunning
288137 by: Stuart
288138 by: Brian Dunning
I need simple CMS sistem that I could use as a staring point (to save some
time in setting up the structure) in developing my own CMS. The code
should be simple to understand so that I can easily get on and start
building on it. It would be of great help if it already had features like
statistics,
I'm using php 5.2.5 with the php-xml module.
I need to split a string of html into elements.
IE -
this bis/b a string bthat/b has some bold bwords/b in it.
I need to be able to take that string and split it up into textNodes for
the parts that are not in bold text, and bold nodes containing
dzenan.cause...@wise-t.com wrote:
I need simple CMS sistem that I could use as a staring point (to save some
time in setting up the structure) in developing my own CMS. The code
should be simple to understand so that I can easily get on and start
building on it. It would be of great help if it
Wordpress
Att,
Jean Pimentel
Museu da Infância - www.museudainfancia.com
On Thu, Feb 12, 2009 at 7:01 AM, Lester Caine les...@lsces.co.uk wrote:
dzenan.cause...@wise-t.com wrote:
I need simple CMS sistem that I could use as a staring point (to save some
time in setting up the structure) in
While PHP has a lot of nice features, it also has some traps which I am forever
falling
into. One which I find particularly hard to understand is how mixed mode
comparisons work.
For instance
$string = 'elephant';
If($string == 0) returns true;
If($string != 0) returns false;
If($string ===
Clancy wrote:
While PHP has a lot of nice features, it also has some traps which I
am forever falling into. One which I find particularly hard to
understand is how mixed mode comparisons work. For instance
$string = 'elephant';
If($string == 0) returns true;
If($string != 0) returns
Clancy schreef:
While PHP has a lot of nice features, it also has some traps which I am
forever falling
into. One which I find particularly hard to understand is how mixed mode
comparisons work.
For instance
$string = 'elephant';
If($string == 0) returns true;
If($string != 0)
Can anyone explain clearly why comparing a string
with zero gives this apparently anomalous result?
?php
$string = 'oleyphoont';
var_dump((int)$string, $string == 0, $string == 1);
?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Have you tried with a mouse?
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
I am having a problem with spl_object_hash() creating non unique hashes.
I understand with MD5 it is possible to have the same hash for
different strings but this doesn't seem like that problem.
I have created a simple test below, should I report this as a bug or
am I doing something wrong.
PHP
Nick Cooper schreef:
I am having a problem with spl_object_hash() creating non unique hashes.
I understand with MD5 it is possible to have the same hash for
different strings but this doesn't seem like that problem.
I have created a simple test below, should I report this as a bug or
am I
Drupal is probably not the easiest at first, but has a good API and buckets
full of modules, themes and all that stuff. If a framework would be what you
are looking for, i would recommend Symfony. Also heard good things about eZ
Publish, Textpattern, Typo3, Website Baker and WordPress. You can
'Twas brillig, and Nick Cooper at 12/02/09 11:38 did gyre and gimble:
Outputs:
a1: 09d264fcececf51c822c9382b40e3edf
a2: 45701af64172cbc2a33069dfed73fd07
a3: 09d264fcececf51c822c9382b40e3edf
a4: 09d264fcececf51c822c9382b40e3edf
Thanks let me know how I should proceed with this.
Confirmed
Colin Guthrie schreef:
'Twas brillig, and Nick Cooper at 12/02/09 11:38 did gyre and gimble:
Outputs:
a1: 09d264fcececf51c822c9382b40e3edf
a2: 45701af64172cbc2a33069dfed73fd07
a3: 09d264fcececf51c822c9382b40e3edf
a4: 09d264fcececf51c822c9382b40e3edf
Thanks let me know how I should proceed
'Twas brillig, and Jochem Maas at 12/02/09 12:47 did gyre and gimble:
Colin Guthrie schreef:
'Twas brillig, and Nick Cooper at 12/02/09 11:38 did gyre and gimble:
Outputs:
a1: 09d264fcececf51c822c9382b40e3edf
a2: 45701af64172cbc2a33069dfed73fd07
a3: 09d264fcececf51c822c9382b40e3edf
a4:
dzenan.cause...@wise-t.com wrote:
I need simple CMS sistem that I could use as a staring point (to save some
time in setting up the structure) in developing my own CMS. The code
should be simple to understand so that I can easily get on and start
building on it. It would be of great help if it
Hi,
We are using PHP 5.0, Java Script and Apace HTTP Server.
For Mozilla security reason, we have created a signed jar of all the js
files being used in our application. We have put this jar in the js folder
itself.
We have successfully installed the certificate. Now from one of the php
page,
Colin Guthrie schreef:
'Twas brillig, and Jochem Maas at 12/02/09 12:47 did gyre and gimble:
Colin Guthrie schreef:
'Twas brillig, and Nick Cooper at 12/02/09 11:38 did gyre and gimble:
Outputs:
a1: 09d264fcececf51c822c9382b40e3edf
a2: 45701af64172cbc2a33069dfed73fd07
a3:
Thanks for your advice,
Dzenan
dzenan.cause...@wise-t.com wrote:
I need simple CMS sistem that I could use as a staring point (to save
some
time in setting up the structure) in developing my own CMS. The code
should be simple to understand so that I can easily get on and start
building on
I will take a look at the ones you mentioned below. Drupal is too complex,
just like Joomla, I have seen it. I am looking pretty much for something
very basic that I could build on
Dzenan
Drupal is probably not the easiest at first, but has a good API and
buckets
full of modules, themes and
Thank you, I am now understanding this much better.
Could you explain this though, if my understanding is correct the same
hash is used if the object no longer exists in memory.
In that case the following should all have the same hash, but they
don't see output.
class a1 {}
$obi = new a1();
2009/2/11 brian bri...@vt.edu:
hi nathan thanks for the response...
looks like the rx is where it should be.
That doesn't sound like you're cocksure - check it again:
ls -ld /apps /apps/local /apps/local/php5 /apps/local/php5/lib
/apps/local/php5/lib/php.ini
Everything readable (r-x) *for
Nick Cooper schreef:
Thank you, I am now understanding this much better.
Could you explain this though, if my understanding is correct the same
hash is used if the object no longer exists in memory.
In that case the following should all have the same hash, but they
don't see output.
not
Jochem Maas wrote:
Clancy schreef:
While PHP has a lot of nice features, it also has some traps which I am forever falling
into. One which I find particularly hard to understand is how mixed mode comparisons work.
For instance
$string = 'elephant';
If($string == 0) returns
On Mon, Feb 9, 2009 at 11:12 AM, Yannick Mortier
mvmort...@googlemail.comwrote:
2009/2/9 tedd t...@sperling.com:
snip
Yes C++ is not bad for this, but it has also got some flaws.
What language doesn't have flaws, dude? Out of all the OOP C++ and java are
probably the most solid. And I
惠新宸 wrote:
Jochem Maas wrote:
Clancy schreef:
While PHP has a lot of nice features, it also has some traps which I am
forever falling
into. One which I find particularly hard to understand is how mixed mode
comparisons work.
For instance
$string = 'elephant';
If($string == 0)
Michael A. Peters wrote:
Another thing the common CMS tools frequently do - they want a
configuration file that the web server has write permission to that is
parsed as php by almost every page the app displays. Big mistake - if
you want a web interface to change settings, store the settings
Manupriya wrote:
Hi,
We are using PHP 5.0, Java Script and Apace HTTP Server.
For Mozilla security reason, we have created a signed jar of all the js
files being used in our application. We have put this jar in the js folder
itself.
We have successfully installed the certificate. Now
Shawn McKenzie wrote:
Michael A. Peters wrote:
Another thing the common CMS tools frequently do - they want a
configuration file that the web server has write permission to that is
parsed as php by almost every page the app displays. Big mistake - if
you want a web interface to change settings,
On Thu, Feb 12, 2009 at 4:38 PM, dzenan.cause...@wise-t.com wrote:
I need simple CMS sistem that I could use as a staring point (to save some
time in setting up the structure) in developing my own CMS. The code
should be simple to understand so that I can easily get on and start
building on
?php
$string = 'this bis/b a string bthat/b has some bold
bwords/b';
$doc = new DOMDocument;
$doc-loadHTML($string);
$items = $doc-getElementsByTagName('b');
for( $i = 0; $i $items-length; $i++ ){
echo $items-item($i)-nodeValue . br /\n;
}
?
Michael A. Peters
Actually there is no PHP error as such. But we get an error that java script
method is not defined. So we think that we have either not correctly
specified the url or we are not putting the jar file at the correct
location.
Our question is how to call a js in jar from php file?
Thanks,
Manu
Manupriya wrote:
Actually there is no PHP error as such. But we get an error that java script
method is not defined. So we think that we have either not correctly
specified the url or we are not putting the jar file at the correct
location.
Our question is how to call a js in jar from php
On Wednesday 11 February 2009 21:42:24 Ashley Sheridan wrote:
On Wed, 2009-02-11 at 21:20 +0800, Virgilio Quilario wrote:
Last year I began to sepearte my module files to many files for their
purposes.
Last time use use lots of dirs for their types
someting like
I'm scripting a light-weight, low volume signup registry for a running club.
Folks sign up to volunteer for events and the like. There will generally be a
handful of signup registries at any one time. A typical registry will only
contain 50 to 100 names. Each registry is only in existence for
Hi all,
Example :
https://www.moneybookers.com/app/email_check.pl?email=t...@toto.comcust_id=123546password=123
The MB server response displayed is : Illegal operation.
We would like to put the result below in a php variable and process it .
An idea ?
PS: The server is secured. The php
On Thu, 2009-02-12 at 15:26 -0500, Al wrote:
I'm scripting a light-weight, low volume signup registry for a running club.
Folks sign up to volunteer for events and the like. There will generally be
a
handful of signup registries at any one time. A typical registry will only
contain 50 to
At 3:26 PM -0500 2/12/09, Al wrote:
I'm scripting a light-weight, low volume signup registry for a
running club. Folks sign up to volunteer for events and the like.
There will generally be a handful of signup registries at any one
time. A typical registry will only contain 50 to 100 names.
Robert Cummings wrote:
On Thu, 2009-02-12 at 15:26 -0500, Al wrote:
I'm scripting a light-weight, low volume signup registry for a running club.
Folks sign up to volunteer for events and the like. There will generally be a
handful of signup registries at any one time. A typical registry
On Thu, 2009-02-12 at 15:45 -0500, Al wrote:
Robert Cummings wrote:
On Thu, 2009-02-12 at 15:26 -0500, Al wrote:
I'm scripting a light-weight, low volume signup registry for a running
club.
Folks sign up to volunteer for events and the like. There will generally
be a
handful of
True, but, the website is on a shared host which means someone must setup
and maintain the DB and my code has to create and remove tables, as needed.
Plus, someone must keep the login parms in sync between the DB and my code.
Al
Sound more like a hosting problem than a database problem.
m a r k u s wrote:
Hi all,
Example :
https://www.moneybookers.com/app/email_check.pl?email=t...@toto.comcust_id=123546password=123
The MB server response displayed is : Illegal operation.
We would like to put the result below in a php variable and process it .
An idea ?
PS: The server
Shawn McKenzie wrote:
m a r k u s wrote:
Hi all,
Example :
https://www.moneybookers.com/app/email_check.pl?email=t...@toto.comcust_id=123546password=123
The MB server response displayed is : Illegal operation.
We would like to put the result below in a php variable and process it .
An
On Thu, 2009-02-12 at 13:12 +0200, Dotan Cohen wrote:
Have you tried with a mouse?
Non-strings equate to a boolean value of 1 when they are converted to a
boolean value automatically (in the case of comparison queries) when
they contain a value. Strings of 0 length are converted to a 0. In
I need probably no more than an hour of two of help from someone
better than me at PHP, but have money sitting here ready to pay you.
My project is way behind schedule and I'm burning too much time and
making no progress trying to solve two problems.
(1) Submitting some XML to a web
At 3:45 PM -0500 2/12/09, Al wrote:
Robert Cummings wrote:
By writing this email you've already spent about as much time as it
would take to set up an SQL database and just start coding.
Cheers,
Rob.
True, but, the website is on a shared host which means someone must
setup and maintain the
Michael A. Peters wrote:
Shawn McKenzie wrote:
Michael A. Peters wrote:
Another thing the common CMS tools frequently do - they want a
configuration file that the web server has write permission to that is
parsed as php by almost every page the app displays. Big mistake - if
you want a web
Anyone care to try this out? Feedback welcome.
http://dftpcs.com
Thanks
--
Richard Whitney
phpmy...@gmail.com
http://phpmydev.com
602-288-5340
310-943-6498
You come up with ideas, I come up with solutions.
Anyone care to try this out? Feedback welcome.
http://dftpcs.com
No. What is it?
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه-و-ي
It's what I use for tracking my time and payments.
Should've been more specific about it. Sorry!
On Thu, Feb 12, 2009 at 4:05 PM, Dotan Cohen dotanco...@gmail.com wrote:
Anyone care to try this out? Feedback welcome.
http://dftpcs.com
No. What is it?
--
Dotan Cohen
it's written in PHP and uses AJAX. Sorry for my fragmented thoughts!
On Thu, Feb 12, 2009 at 4:06 PM, Richard Whitney phpmy...@gmail.com wrote:
It's what I use for tracking my time and payments.
Should've been more specific about it. Sorry!
On Thu, Feb 12, 2009 at 4:05 PM, Dotan Cohen
Sorry for my fragmented thoughts!
In light of this [1] you are forgiven!
I think that you will find most list members a bit too jaded to go to
a new domain name, suggested by a new poster who's name does not turn
up anything php related on Google. I'm not doubting you, just letting
you know
On Thu, Feb 12, 2009 at 4:24 PM, Dotan Cohen dotanco...@gmail.com wrote:
Sorry for my fragmented thoughts!
In light of this [1] you are forgiven!
I think that you will find most list members a bit too jaded to go to
a new domain name, suggested by a new poster who's name does not turn
Robert Cummings wrote:
On Thu, 2009-02-12 at 15:45 -0500, Al wrote:
Robert Cummings wrote:
On Thu, 2009-02-12 at 15:26 -0500, Al wrote:
I'm scripting a light-weight, low volume signup registry for a running club.
Folks sign up to volunteer for events and the like. There will generally be a
On Thu, 2009-02-12 at 15:58 -0700, Richard Whitney wrote:
Anyone care to try this out? Feedback welcome.
http://dftpcs.com
Thanks
Also, given that this was formatted and sounded as vague as a spam
email, I simply dismissed it and moved on. Even the URL is very cryptic
(although I
Hi Nathan/Torok...
Hey guys... got a bit of a question.
I'm playing around with the php/for/pcntl_exec functions and I've got a process
that spawns off a bunch of child processes. Unfortunately, I'm getting to where
I have 100's of zombie child processes that I can see from the
tedd wrote:
At 3:26 PM -0500 2/12/09, Al wrote:
I'm scripting a light-weight, low volume signup registry for a running
club. Folks sign up to volunteer for events and the like. There will
generally be a handful of signup registries at any one time. A typical
registry will only contain 50 to
On Thu, Feb 12, 2009 at 5:05 PM, Daevid Vincent dae...@daevid.com wrote:
On Thu, 2009-02-12 at 15:58 -0700, Richard Whitney wrote:
Anyone care to try this out? Feedback welcome.
http://dftpcs.com
Thanks
Also, given that this was formatted and sounded as vague as a spam email, I
simply
On Thu, Feb 12, 2009 at 5:03 PM, Richard Whitney phpmy...@gmail.com wrote:
On Thu, Feb 12, 2009 at 5:05 PM, Daevid Vincent dae...@daevid.com wrote:
On Thu, 2009-02-12 at 15:58 -0700, Richard Whitney wrote:
Anyone care to try this out? Feedback welcome.
http://dftpcs.com
Thanks
On 12-Feb-09, at 8:55 PM, Kyle Terry wrote:
On Thu, 2009-02-12 at 15:58 -0700, Richard Whitney wrote:
Anyone care to try this out? Feedback welcome.
http://dftpcs.com
Thanks
--
Hi there! The right panel is not always refreshing correctly in my
Mac Safari 3.2.1 Sometimes is
Java is really awesome at OOP and it is great for teaching OOP or,
shall we say illustrating OOP.
OOP is a programming technique in general without any bias towards any
programming language.
Good background on OOP concepts is essential in learning language
specific OOP implementation.
So don't
On Thu, 12 Feb 2009 23:47:31 +0800, huixinc...@baidu.com (???) wrote:
Jochem Maas wrote:
Clancy schreef:
While PHP has a lot of nice features, it also has some traps which I am
forever falling
into. One which I find particularly hard to understand is how mixed mode
comparisons work.
63 matches
Mail list logo