At 7:50 PM -0500 4/10/07, Richard Lynch wrote:
On Sun, April 8, 2007 11:12 am, tedd wrote:
chose from. Unless, there is something here that I don't understand
(which very well could be), I can't see how anyone, without massive
computer resources, could break that.
Am I wrong?
At 8:11 PM -0500 4/10/07, Richard Lynch wrote:
On Tue, April 10, 2007 7:47 am, tedd wrote:
Your use of metaphor is quite colorful, but if you if change a single
pixel in an image, then you change the MD5 signature -- that is what
I was talking about -- and that is not wrong.
Unless I look
At 7:52 PM -0500 4/10/07, Richard Lynch wrote:
On Sun, April 8, 2007 11:26 am, tedd wrote:
The way I figure it, in an image I have 72 dot per square inch -- so,
in one square inch that's 5,184 places for me to store a 24 bit key.
To me, that's a lot of places to hid my Easter egg
eir website -- assuming
they have categorized their Petfinder images by species/genus?
Good point.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
one
I wouldn't recommend using $_REQUEST -- it can be problematic in a
couple of ways. 1) You don't know where the data came from; 2) One
(GET or POST) takes precedence over the other -- I don't remember
which at the moment.
Cheers,
tedd
--
---
http://spe
}
}
?>
Does this satisfy you?
Actually, it's $result and not $results. Other than that, it works
fine as far as I can tell.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s business and his clients a
disservice.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
when you consider the entire web site. There's more to a web
site than a Photoshop image.
Sorry for the rant -- but sometimes things are so obvious it's
frustrating to hear people supporting poor practice.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com h
At 7:41 PM +0100 4/12/07, Stut wrote:
Yes you'll need to put in a bit more work, but the result will be
that much better.
-Stut
Sorry Stut -- I know you know this, but it's more work to NOT use css.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones
How many times have you had to use javascript
to accomplish a task instead of using just php? One could call that a
gnarly disgusting hack, but it's just a solution. As this list
proves, no language is without problems.
Cheers,
tedd
--
---
http://sperling.com http://ancientston
one of us in the trenches tell them what they
need to hear?
I'm just giving them good advice how to support their "leading edge" claim.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 3:17 AM -0400 4/13/07, Robert Cummings wrote:
Dear Tedd,
Please put me down for one pint of asshole, because while you sit on
that glass pedestal of CSS superiority I can't help but notice how
http://ancientstones.com/ looks completely fucked up in Opera. Opera I
might add is ACID2 comp
do/use but rather
what they claim to be. If people are claiming to be the "leading
edge" of web development and are still stuck in using tables for
layout, then I find fault with that because using tables that way is
certainly not leading edge.
Cheers,
tedd
--
---
http:
n for this list -- just
because someone tells you to shove it, doesn't mean you have to. :-)
Besides, it fun.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
own the line, we all arrive at the same place. The
question is, does it work for what you want?
Cheers,
tedd
PS: Side note -- if you knew all that could be, you would still want
what you want?
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General
system("ping -n $count $host");
}
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 12:37 PM -0700 4/13/07, Paul Novitski wrote:
At 11:16 PM -0600 4/12/07, [EMAIL PROTECTED] wrote:
I am trying to find a simple way to test to see if a web site
is up or not.
At 4/13/2007 08:56 AM, tedd wrote:
Try:
if ($unix)
{
system ("ping -c$count -w$count $host");
you see where/how
everything fits together, it's simple to fix it.
Look, you're a competent programmer and php is far more complex than
css will ever be. You're doing yourself a disservice by letting
simple stumbling blocks deter you from using css because you have a
misconc
all the emails will be sent.
Is there a way to trigger a script to run on the server (in the background)?
Google cron and php.
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
then nothing is safe,
but barring that -- how safe would that be?
Thanks,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
re
of using borders to reveal where things are.
Again, my apologies I'm not trying to treat you like an idiot --
there are other people reading this list and I don't want them to get
the misconception you promote that css is flawed and tables are the
only solution.
In any event, we
ce to the css-discuss list, I would estimate that there
are more people coming on board the css boat than choosing tables.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 12:37 PM -0400 4/14/07, Robert Cummings wrote:
but truth be told, the web is still
evolving into what visionaries see for its potential.
Agreed, but some are reluctant to listen to visionaries. :-)
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http
ability figures are significantly
higher.
Maybe Google isn't accessible enough for you (it uses tables after
all ;)
Nope, Google doesn't have it right either -- they still use graphic
captcha's as well. And, they (like others) are not going to change
until they un
ation is disabled and then to support your claim you
provide a link that says something different. Instead, the link
quotes a figure twenty times your estimation, so what is your claim?
Is the percent of disabled one or twenty?
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com
in
an php configuration script. I think that method is secure.
In [2] the password is emailed to you AND your user id and password
are stored in a MySQL.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.ph
P Security (not a cookbook). As you see, I'm big into Cookbooks.
However, that's a minor fraction of the php, mysql, javascript, and
other books I've purchased to do what you're wanting to do. It might
be cheaper and quicker to hire one of us.
Cheers,
tedd
--
Hi gang:
What ever happened to the NEWBIE guide we were talking about
providing last year? Did anyone do anything about it?
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
{
// Do stuff
}
Clean to read, easy defaults, (reasonably) type-safe, and E_NOTICE friendly.
Larry:
Slick.
Thanks,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
function json_encode($data) {
$json = new JSON; // or whatever the class is called.
return $json->encode($data);
}
}
omg that was hard.
Can't you just feel the love in the room? That's the kind of support
I like to see! =P
~PT
Yep,
""
and isset thinks "" is set
I use this combination a lot:
if ( isset($_GET['something']) && !empty($_GET['something']) ) {
// do something here with $_GET['something']
}
The isset is a pointless waste of cycles.
-Stut
http://sperling.com/a/pw/girl.jpg
Now you got me going, how did you get that? Even my php scripts can't read it.
Or are you putting me on? Send me a copy of it back-channel. :-)
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e to dwell on the lunacy
of the statement -- take it to a css-discuss list.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
and appreciation of issues where our actions
may have far reaching influence on important matters of which we may
not be aware. Knowledge carries with it responsibility.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List
wser window" three column with only a header -- it's there too! In
fact, I may be going out on a limb here, but I challenge anyone to
describe a layout that isn't covered.
I'm hoping "some day" (soon) this will all be worked out all nicey-nice.
Similar to most
fails under that, adn it
had known issues so we dumped it...
TIA
Noel:
I think you'll run into exploitation problems regardless.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
At 7:18 AM +1000 8/28/09, Noel Butler wrote:
On Thu, 2009-08-27 at 10:55 -0400, tedd wrote:
I think you'll run into exploitation problems regardless.
I'm getting that impression from the hours and hours I wasted
yesterday prior to my post trying to find a good one :(
There'
current
date, then the entry is past.
Understand?
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lean/scrub it for storage in
MySQL, or use it to determine a course of processing, or any number
of other things.
The point is to check IF a $_POST has occurred, without triggering an
error if it hasn't, and to deal with the outcome either way.
Cheers,
tedd
--
---
http://sperling.c
from the form action attribute, and
gets them a bit confused. It's similar to the IE name/id bug.
Thanks,
Ash
Good catch.
I actually never use the word $action -- that's just a placeholder.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.c
lways work! Sometimes I have to do this --
$my_session_name = $_SESSION['session_name'];
-- to get around the problem.
I have experienced this error more than once -- it's strange.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthst
At 5:33 PM +0100 8/28/09, Ashley Sheridan wrote:
On Fri, 2009-08-28 at 12:28 -0400, tedd wrote:
> Ash:
What catches me every once in a while is using variable names that
are the same as $_SESSION indexes, such as:
$session_name = $_SESSION['session_name'];
Believe it
knowing where my data originated ($_GET, $_POST, or $_COOKIE) and
having the possibility of what I was expecting overridden in a
$_REQUEST is what I would call a drawback.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing
."] [".$val."]";
Checkboxes and radio buttons only send their value if the control is
"checked".
That's correct, here's the way I solve both types:
http://php1.net/b/form-radio
http://php1.net/b/form-radio1
http://php1.net/b/form-checkbox/
d take the time to
understand what you read -- it would cut down on post that
demonstrate just how ignorant and thankless you are at this.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
ink as long as you have a
font for it, it should work.
Good luck.
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 10:23 PM -0600 8/31/09, George Langley wrote:
On 31-Aug-09, at 6:37 AM, tedd wrote:
I used the PDFB library to create this:
http://webbytedd.com/bb/pdf/
Here's a link for more information:
http://chir.ag/projects/pdfb/
While I've never used Japanese text, I think as long as
for us to look at as well.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e English speakers. It's often accompanied by English so broken I
don't even bother trying to decypher it, and sometimes an *attitude*
(after which, I blacklist the poster).
Am I the only one? It's okay if I am. Just wondering.
Paul
Paul:
u r not the only 1. I h8 that 2!
l8er :
d your problem, then don't make our work
harder by requiring us to first figure out the syntax of your
question.
I ignore anyone using shortened words, such as "u" instead of "you".
I figure that they don't want to take the time to ask correctly, then
I
ike so:
$the_date = date('m/d/Y', $next_date);
Here's the example:
http://www.webbytedd.com//future-date/
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 11:16 AM -0300 9/1/09, Martin Scotta wrote:
As a non-english speaker I feel very uncomfortable with this thread.
You shouldn't feel uncomfortable because no one is talking about you.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
-
onds (taken from other dates) and evaluate. Dead simple.
Also note that the strtotime() and date() combination provides some
very nice features like keeping track of the resultant date. You
don't have to worry about leap years, or months having 28-31 days, or
anything like that -- it's a
At 2:47 PM -0400 9/1/09, Andrew Ballard wrote:
On Tue, Sep 1, 2009 at 1:27 PM, tedd wrote:
First get the date to seconds, like so:
$today_date = '8/26/2009';
$next_date = strtotime($today_date) + (86400 * 30);
No. Due to Daylight Saving Time, many time zones have two days each
began with a mention of the "attitude"
that non-native English speakers have, as if non-native English
speakers are a unified group that are are more likely to have a bad
attitude than native English speakers. Of course such a
generalization could make people uncomfortable.
-jessi
the writing of the Bible, but I find it interesting speculation.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 4:06 PM +0100 9/2/09, Ford, Mike wrote:
> -Original Message-
From: tedd [mailto:tedd.sperl...@gmail.com]
Sent: 01 September 2009 21:52
At 2:47 PM -0400 9/1/09, Andrew Ballard wrote:
>On Tue, Sep 1, 2009 at 1:27 PM, tedd
wrote:
>> First get the date to seco
ulted.
Well that's your prerogative to do as you want. But it's a bit
arrogant of you to tell others how to conduct themselves on this
list, don't you think? Who made you list monitor?
And Tedd your condescending
response caused me to lose respect for you.
No offense, but let
g the
subject line.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
et a working example,
you can also learn and improve it on your own.
Check out:
http://www.php-calendar.com/
Here's an example of it working:
http://php1.net/my-php-calendar/
I've had good luck with it and have been able to change things as I wanted.
Cheers,
tedd
--
---
yone else see every line above ending with a square?
If so, what causes that. I only see them from Tommy post.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
round that.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 1:15 PM +0100 9/11/09, Ashley Sheridan wrote:
On Fri, 2009-09-11 at 08:04 -0400, tedd wrote:
At 5:06 PM -0700 9/10/09, Tommy Pham wrote:
> > So did anything change in PHP5.3.0 that would preclude the > code
>below > from working? Am I going crazy? Or did Apple > f..
re answered, then we can help with more informed advice.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
stuff and you read stuff. You don't need to
rewrite the US Postal Service every time you send/receive a letter.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ncrypted passwords
in the file system. Instead, I want to move the user ids and
passwords into the database and out of the file system. I can do this
with an authorization script, but I don't want to alter 100 scripts
to do it.
Opinions and suggestions welcomed.
Thanks,
tedd
--
it's simply just another way to handle GET's. Why make it more
complicated than need be?
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
HP_INI_PERDIR* Entry can be set in php.ini, .htaccess or httpd.conf
Bingo!
I figured there had to be something like that.
Thanks guys.
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
des, what does the user have to know anyway that makes it so
important that they see a progress bar?
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
before I replied. YOU asked a question and
I replied (read the thread) -- I'm sorry that I did. I'll refrain
from doing it again.
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubs
mysql_query($query) or die('Error, query failed');
That way you should not have any duplications and you have
application-numbers (as you want )that are tied to the auto-numbering
of the table's index.
HTH's
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Now, maybe Hurricane Electric has changed its ways, but they can't
change their past.
In my opinion, there are more than enough hosting companies who care
about the damage they might cause and take steps to reduce the about
spam and porn on the net. My advice, seek hosts other than H
At 12:32 AM -0400 9/13/09, Paul M Foster wrote:
On Sat, Sep 12, 2009 at 10:22:10AM -0400, tedd wrote:
At 6:02 PM -0400 9/11/09, Paul M Foster wrote:
I typically use us2.php.net, which is hosted by Hurricane Electric.
Paul
Paul:
I wouldn't use Hurricane Electric if their acc
f and bragging about your credentials (as if
the rest of us can't do better) -- I'm not sure who you think you
are, but you sure act like an noob.
If nothing else, you have a lot to learn about making a point.
tedd
--
---
http://sperling.com http://ancientstones.com http://
At 7:28 AM +0200 9/14/09, J DeBord wrote:
In all fairness Tedd, your example is a bit of a joke. Send some JSON back
and forth, do some database queries, and use a webservice all at the same
time. Your AJAX calls won't be so simple then.
Okay, so my work is a joke. Been there, done
munication mechanism between the two. Your
choices are the standard GET/POST or ajax.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
me concept yet using HTML check boxes
I aM complety stumped. It seems easy but I've been staring at the
same problem for hours.
Any hints are greatly appreciated.
Thanks
Haig
Sent from my iPhone
Haig:
This might help:
http://php1.net/b/form-checkbox
http://php1.net/b/form-checkbox1
imply is an internal thing that the
database needs to keep track of unique records.
My advice, allow the database to use the index as it needs and you
use the data as you need.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Ma
&=+$,]+|(?:%[a-fA-F0-9][a-fA-F0-9]))*))*))*))(?:[?](?:(?:(?:[;/?:@&=+$,a-zA-Z0-9\\-_.!~*\'()]+|(?:%[a-fA-F0-9][a-fA-F0-9]))*)))?))?)>';
$output = preg_replace($url_regexp, '$0', $textString);
print $output;
?>
Cheers,
tedd
--
---
http://sperling.com http://
following are some
functions I use, namely right(), left() and mid(). These were
built-in functions in different language I used many years ago. They
just seemed natural to me so I wrote them for php.
Cheers,
tedd
-
// == returns the middle number of characters from a string
starting
At 11:27 AM -0400 9/26/09, Daniel Brown wrote:
On Sat, Sep 26, 2009 at 11:22, tedd wrote:
I am using PHP Version 5.2.10
whereas the `is_xhtml` parameter was added in 5.3.0. And
5.3.0 > 5.2.10. ;-P
--
Ahhh, I didn't look far enough down the page.
Thanks -- I figur
Hi gang:
The manual says:
http://www.php.net/nl2br
That I could use the function like so (Example #2):
$new = nl2br($string, false);
But when I do, I get:
Warning: Wrong parameter count for nl2br() in /home...
What's up with that?
I am using PHP Version 5.2.10
Cheers,
in the first form so that IF you
send the user back to the first form, the user doesn't have to
reenter everything.
HTH,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ot dealing with a confirmation page, or a multi-step form, the
hidden field isn't necessary.
It's this correct assumptions?
Please advice,
Regards,
Márcio
You can set it up any number of ways. There is no
absolute need for a redirect. Everything can be
done in one form, or not -- your
At 4:29 PM -0400 10/1/09, Robert Cummings wrote:
I'm a superstar... send me a check for $500,000 and I'll fly on over.
Or did you completely misuse the word "superstar"?
Cheers,
Rob.
Rob:
Well, in my book you are a superstar.
Cheers,
tedd
--
---
http:
At 3:35 PM +0100 10/2/09, MEM wrote:
> You can set it up any number of ways. There is no
absolute need for a redirect. Everything can be
done in one form, or not -- your choice.
Cheers,
tedd
Yes. But since I don't want to display a success information + form fields,
but
rking example:
http://www.webbytedd.com/aa/step-form/
This only one of many ways to solve your problem, but it does solve it.
Cheers,
tedd
PS: Please reply to the list and not me
privately, unless you are hiring me (learned that
from Stut)
--
---
http://sperling.com http://ancientstones.com ht
At 9:42 AM -0400 10/3/09, Tom Worster wrote:
On 10/2/09 10:24 AM, "tedd" wrote:
At 1:55 PM +0530 10/2/09, kranthi wrote:
and yes i forgot to mention... i avoid hidden form elements because
they can be modified very easily and hence pose a security threat.
That depends upon
m++;
It's usually easier to understand if one doesn't compound statements
with ++ operator.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
statement like that.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
do the same thing myself.
The problem I see here is with the original statement of:
$num = $$num++;
That's just bad form -- it doesn't do anything except inject confusion.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
That statement is just bad form. The increment is never realized.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
a++;
will do what is intended?
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
variable, it's modified before being
processed. If it's after, then it's evaluated immediately after the
variable is processed.
That's absolutely true.
The problem here is in the statement of:
$num = $num++;
Cheers,
tedd
--
---
http://sperling.com ht
At 1:37 PM -0400 10/3/09, Robert Cummings wrote:
tedd wrote:
At 9:21 PM +1000 10/3/09, clanc...@cybec.com.au wrote:
Daevid Vincent is surprised that:
$num = 123;
$num = $num++;
print $num; //this prints 123 and not 124 ?!!
I can understand why someone might think this is not correct, but
illing to write a simple example and get that to
work. Instead, you complicate things beyond your
ability to understand.
My advice, step back -- write a simple example
that does what you want and then expand it.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://e
ost A
accessible by host B via a POST, or does it write to a writable file,
or what?
Any help would be appreciated.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 7:25 PM +0100 10/4/09, MEM wrote:
Unfortunately, I'm really REALLY on a rush.
I saw a bumper sticker the other day which read:
Humpty Dumpty was rushed
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List
At 12:27 PM -0600 10/4/09, kirk.john...@zootweb.com wrote:
tedd wrote on 10/04/2009 08:51:13 AM:
[PHP] a trivial little function (PostToHost)
tedd
to:
php-general
10/04/2009 09:05 AM
Hi gang:
The following 'trivial little' function I'm trying to get my head
701 - 800 of 3640 matches
Mail list logo