php-general Digest 6 Aug 2009 12:21:00 - Issue 6270
Topics (messages 296360 through 296376):
Re: Time keeping in DB
296360 by: Ralph Deffke
296363 by: Shawn McKenzie
296364 by: Shawn McKenzie
Re: PHP programming strategy
296361 by: Clancy
296373 by:
On Wed, 5 Aug 2009 16:17:26 -0600, Govinda wrote:
I want to do this:
(I am just assuming it won't work; I haven't even tried it yet)
$var1='apple';
$Fruit_$var1=organic;
echo $Fruit_apple; // I want this to return organic
Or how are you guys dynamically naming PHP vars on the fly?
On Thu, 2009-08-06 at 02:55 +0200, Ralph Deffke wrote:
why do u stick to php 6?
i would recommend www.scribd.com and have a search on PHP. there are books
on beginners for php5 and articles of the difference to php 6.
a very usefull site by the way, made me stopping buying books. loads of
On Thu, 2009-08-06 at 09:24 +1000, Clancy wrote:
On Wed, 5 Aug 2009 09:25:20 -0400, phps...@gmail.com (Bastien Koert) wrote:
On Wed, Aug 5, 2009 at 8:02 AM, Ashley Sheridana...@ashleysheridan.co.uk
wrote:
On Wed, 2009-08-05 at 21:49 +1000, Clancy wrote:
Thank you to all of you who have
From: sono...@fannullone.us
Has anyone read this book by Larry Ullman yet? If so, what do
you
think about it? I'm looking for a well-rounded book that covers PHP
for e-commerce websites and from what little I've been able to find
online, it looks pretty good. Or would you
On Thu, Aug 6, 2009 at 8:20 AM, abdulazeez alugodefati...@hotmail.com wrote:
Well, I try not to give out my details to too many people each month,
and this month they were beat to it by a nice fellow in Nigeria who I'm
helping out by letting him put some money into my account.
Hello
hi there,
u want help? break down ur question to the point, none is going to downlod
unknown zips searching for the spot.
its fun to help, but its for free, so make it easier for us to help u
u r lucky that i'm sick at the moment and a bit bored, but anyway i'm not
downloading a zip.
however,
http://php.net/header
take a look at the comments sections, there are a lot of examples of
how to send an image to a browser, only think that instead of a file
your are using a blob database field
On Thu, Aug 6, 2009 at 10:45 AM, Ralph Deffkeralph_def...@yahoo.de wrote:
hi there,
u want help?
At 5:34 PM -0700 8/5/09, sono...@fannullone.us wrote:
Has anyone read this book by Larry Ullman yet? If so, what
do you think about it? I'm looking for a well-rounded book that
covers PHP for e-commerce websites and from what little I've been
able to find online, it looks pretty good. Or
At 10:00 AM -0700 8/5/09, Allen McCabe wrote:
-snip-
If this sounds like something you are familiar with (former issues and
whatnot) please let me know what I'm doing wrong.
Try this:
http://sperling.com/examples/include-demo/
If you follow what's given there, you'll be further along on
On Thu, Aug 6, 2009 at 11:32 AM, teddtedd.sperl...@gmail.com wrote:
At 5:34 PM -0700 8/5/09, sono...@fannullone.us wrote:
Has anyone read this book by Larry Ullman yet? If so, what do you
think about it? I'm looking for a well-rounded book that covers PHP for
e-commerce websites and
At 7:44 PM -0700 8/5/09, Michael A. Peters wrote:
Miller, Terion wrote:
Shawn you know repeatedly have been nothing but an asshole to me on
this list, I have said before I'm not a php programmer, I was a
front end designer, need graphics , need a css layout...see
meneed backend
At 11:41 AM -0400 8/6/09, Eddie Drapkin wrote:
Does no one see the inherent issues in buying a book about a
not-feature-complete version of the language?
They are cheaper. Plus, if you're trying to learn the basics, old
books have some value. They are not totally worthless. I often
reference
because this is to start with the baby figuring out about a family
:-)
ralph_def...@yahoo.de
Eddie Drapkin oorza...@gmail.com wrote in message
news:68de37340908060841x129a9096w6c0907f85614c...@mail.gmail.com...
On Thu, Aug 6, 2009 at 11:32 AM, teddtedd.sperl...@gmail.com wrote:
At 5:34 PM -0700
Eddie Drapkin oorza...@gmail.com wrote in message
news:68de37340908060841x129a9096w6c0907f85614c...@mail.gmail.com...
snip
Does no one see the inherent issues in buying a book about a
not-feature-complete version of the language?
PHP 6 does not exist yet, and no hosting companies provide it
On Thu, Aug 6, 2009 at 12:24 PM, Tony
Marstont...@marston-home.demon.co.uk wrote:
Eddie Drapkin oorza...@gmail.com wrote in message
news:68de37340908060841x129a9096w6c0907f85614c...@mail.gmail.com...
snip
Does no one see the inherent issues in buying a book about a
not-feature-complete
On Thu, Aug 6, 2009 at 1:59 PM, Eddie Drapkin oorza...@gmail.com wrote:
On Thu, Aug 6, 2009 at 12:24 PM, Tony
Marstont...@marston-home.demon.co.uk wrote:
Eddie Drapkin oorza...@gmail.com wrote in message
news:68de37340908060841x129a9096w6c0907f85614c...@mail.gmail.com...
snip
Does
Hey guys,
Did some digging... looks like the host for http://outsourcingroom.com is
http://hosting.ua/. Also, outsourcingroom looks to be owned by
http://www.cbsystematics.com. The host for this company website is
http://parking.ru. Hopefully this information can be of use to someone a
little
Hi,
I use the following code to call third party web service:
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_TIMEOUT, 120);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 1);
curl_setopt($ch, CURLOPT_SSLVERSION, 3);
curl_setopt($ch,
Others have mentioned variable variables. While I have
used those, I tend to prefer arrays:
$var1 = 'apple';
$fruits[$var1] = 'organic';
echo $fruits[$var1];
/Nisse
ah, yes, I see that too, now. Thanks for reminding me about arrays.
(You must be quite adept at arrays. )
(And to give you
On Thu, 2009-08-06 at 17:24 +0100, Tony Marston wrote:
PHP 6 does not exist yet,
Funny, that's not what the PHP site says:
http://snaps.php.net/
Thanks,
Ash
http://www.ashleysheridan.co.uk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Can you tell us anything about the cert on the host? Is it self signed, is
it expired, etc? A hip-shot: try turning off VERIFYPEER and VERIFYHOST.
Jerry Wilborn
jerrywilb...@gmail.com
On Thu, Aug 6, 2009 at 1:33 PM, Ted Yu ted...@yahoo.com wrote:
Hi,
I use the following code to call third
Forgot to mention that there're other APIs on their server which I can call
successfully.
I did try turning off the two options below but result was the same.
--- On Thu, 8/6/09, Jerry Wilborn jerrywilb...@gmail.com wrote:
From: Jerry Wilborn jerrywilb...@gmail.com
Subject: Re: [PHP]
Don't be so pedantic. PHP 6 does not exist in a live, production-ready
version. It is still under development and has not even reached the beta
stage. Anyone who writes a book which documents the features of PHP 6 is
being very premature as those features may change at any moment. The
features
I was trying some new things with php today, and was commenting above each
little bit to better see what was working and/or displaying versus what was
not. My comment delineator consisted of the following:
[code]
echo 'brbrfont color=#bbi this is a comment displayed in html
/i/fontbrbr';
On Thu, 2009-08-06 at 20:16 +0100, Tony Marston wrote:
Don't be so pedantic. PHP 6 does not exist in a live, production-ready
version. It is still under development and has not even reached the beta
stage. Anyone who writes a book which documents the features of PHP 6 is
being very
Allen,
Local variables are indeed cleared at the end of a function, see
http://www.php.net/manual/en/language.variables.scope.php for more
information.
Furthermore, there are numerous ways to use variables within a string, the
simplest method is the one that you described by enclosing your
On Thu, Aug 6, 2009 at 3:22 PM, Ashley Sheridana...@ashleysheridan.co.uk
wrote:
On Thu, 2009-08-06 at 20:16 +0100, Tony Marston wrote:
Don't be so pedantic. PHP 6 does not exist in a live, production-ready
version. It is still under development and has not even reached the beta
stage. Anyone
You all are speaking about the same...
But there is a good point you all are missing...
It has non sense to read a book about php6... but what about to sell a php6
book?
Hey! we are up to today! All the php5 book's are outdated. That's probably
what editors thought when they decide to edit that
[code]
comment(test of $newComment);
[/code]
This rendered a comment that said test of .
So I added a \ before the $ to make it display properly, but I was wondering
if there was a way that the function could work so that it will display
anything you type within the quotes in comment(
Ralph Deffke wrote:
and a blob field in mysql is
the right thing, however u have to have a little php scrip, however with a
.png extention to get the browser displaying the picture.
What is the advantage to storing an image in the database opposed to as
a flat file?
It seems to me it would
Eddie Drapkin wrote:
Does no one see the inherent issues in buying a book about a
not-feature-complete version of the language?
Technically no version of php is feature complete until the next major
release.
php 5.2.10 has stuff 5.2.5 didn't, 5.3.0 has stuff 5.2.x didn't, etc.
But
Asher and Jonathan,
Thank you for your input. Having single quotes around what I wanted to
comment worked to display a variable name.
And Asher, I am constantly scanning the php.net manual, and only after I
could not find what I was looking for did I resort to php-general list. I am
a novice at
I did mean, if u want to store a image in the database it would be a blob
field, a blob field is a indifidual file in the database anyway,
I mean if i would do that type of design i would store the path to the image
file in the database and give the browser the path to it for download.
however
On Thu, Aug 6, 2009 at 5:02 PM, Michael A. Petersmpet...@mac.com wrote:
Ralph Deffke wrote:
and a blob field in mysql is
the right thing, however u have to have a little php scrip, however with a
.png extention to get the browser displaying the picture.
What is the advantage to storing an
I need some assistance in pattern matching. I want allow the admin
user to enter a pattern to be matched in my order form editor. When
someone then places an order I want to do a match based on that
pattern. Some of the examples I thought for the patterns are:
- must be numeric
I don't have any data blobs in my database - which makes incremental
backups easier - I use rsync for files and do a nightly mysql dump.
Except for the first of the month, the diff of that nights backup
compared to first of month is saved to flat file for rsync. Binary blobs
in the database
Ben Dunlap wrote:
I don't have any data blobs in my database - which makes incremental
backups easier - I use rsync for files and do a nightly mysql dump.
Except for the first of the month, the diff of that nights backup
compared to first of month is saved to flat file for rsync. Binary blobs
in
On Thu, 06 Aug 2009 08:28:32 +0100, a...@ashleysheridan.co.uk (Ashley Sheridan)
wrote:
...
Nested tables are the devils playthings!
I must be the devil, then. I enjoy playing with them. And if they're done
right they
seem to work on every system I have tried them on. Granted
Hi all. I monitor this list and occasionally contribute as an amateur so
please forgive a question that might seem terribly obvious to those in the
know.
I'm confused about all this PHP 6 talk. Until now I thought I was right up
there, because I worked with PHP 5.29 and was ready to upgrade to
Angus Mann wrote:
Hi all. I monitor this list and occasionally contribute as an amateur so
please forgive a question that might seem terribly obvious to those in the
know.
I'm confused about all this PHP 6 talk. Until now I thought I was right up
there, because I worked with PHP 5.29 and was
Thanks to the OP for the interest in the book and to everyone else for
their input. So here's what happened, from the writer/horse's mouth:
It was time to write an update to the book because the second edition
had been out for 3+ years or so, I think. It wasn't a money-making
effort (i.e.,
This should work:
input type='radio' name='sex[1]' value='1'
input type='radio' name='sex[1]' value='2'
input type='radio' name='sex[2]' value='1'
input type='radio' name='sex[2]' value='2'
Yes, that works. But should I manually maintain the number in the bracket?
Is there anyway so that
(20090806) __
The message was checked by ESET Smart Security.
http://www.eset.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, 2009-08-07 at 11:06 +1000, Clancy wrote:
On Thu, 06 Aug 2009 08:28:32 +0100, a...@ashleysheridan.co.uk (Ashley
Sheridan) wrote:
...
Nested tables are the devils playthings!
I must be the devil, then. I enjoy playing with them. And if they're
done right they
seem to
you will have to manually maintain the number in the bracket. but you
can try using a template engine like smarty, and use a for loop to
take care of the numbers in the brackets
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
46 matches
Mail list logo