'Twas brillig, and Daniel Brown at 03/08/09 17:29 did gyre and gimble:
my basement office flooded
I think everyone on this list has been inconsiderate to the clearly
massive tragedy of your flooded basement. May I be the first to pass on
my condolences for all the dead computers that are now
Paul Halliday wrote:
> Whats the cleanest (I have a really ugly) way to break this:
>
> [21/Jul/2009:00:00:47 -0300]
>
> into:
>
> date=21/jul/2009
> time=00:00:47
>
> Caveats:
>
> 1) if the day is < 10 the beginning of the string will look like
> "[1/...
> 2) the "-0300" will differ dependin
Congratulations Dan!
On a side note, next time you go down the glorious path to having a
munchkin, go and get a puppy. Between the labor pains and the morning
sickness, the wife can break you in on getting up at night with the
puppy. :)
Glad to hear that the family is doing well. Always a goo
Is there an equivalent to socket_last_error() when using a socket opened
with stream_socket_client()? If it's not written yet, is there a suitable
work around?
I am looking to get the last status of the system connect() call. I see
there is a bug opened for it (http://bugs.php.net/bug.php?id=343
Am I missing something? Can't this be done quickly/easily with preg_match()?
if (preg_match('/\[(.*):(.*)\s/U', '[21/Jul/2009:00:00:47 -0300]',
$matches)) {
print "date: {$matches[1]}, time: {$matches[2]}";
}
Jerry Wilborn
jerrywilb...@gmail.com
On Tue, Aug 4, 2009 at 5:36 AM, Wolf wro
At 10:34 PM -0400 8/3/09, Sam Stelfox wrote:
tedd wrote:
Everything is backed up at least three fold. I am considering
online backup and waiting for the cost to go down.
You should add paper backups to that list!
http://ollydbg.de/Paperbak/
Sam Stelfox
Sam:
That's interesting. I wasn't
At 6:13 PM -0400 8/3/09, Paul M Foster wrote:
On Mon, Aug 03, 2009 at 01:54:05PM -0400, tedd wrote:
Everything is backed up at least three fold. I am considering online
backup and waiting for the cost to go down.
Tried Carbonite.com? I think they're like US$55 / year. Work on Mac and
PC,
tedd wrote:
Sam:
That's interesting. I wasn't aware that paper could be used in such a
fashion but I can't help but think that the cost of the paper would
exceed the cost of optical disk storage for the same data. And paper
is more sensitive to environmental exposure than DVD's.
Cheers,
t
Ok I have 45 minutes left to make this script default to show "a" listings on
the browse.php page and then show no listings on other pages by default for
some reason the _Server function stopped working what have I done wrong...
'); } else {
if($letter == 'nums') {
On Tue, 2009-08-04 at 07:16 -0700, Miller, Terion wrote:
> for($i = 0; $i <= 9; $iﯯ)
I'm noticing an odd character just here (heaven knows what line number!)
I'd presume this was meant to be something like a ++ or +=n, but seems
to be interpreted as a multibyte character here. I'll let you know if
THANKFULLY THE BOSS DECIDED TO YELL AT ME AND TOLD ME WHAT THE PROBLEM WASI
HAVE NEVER BEEN SO STRESSED IN MY LIFE
SHOULD WORK BE THIS AWFUL? IT’S HARD ENOUGH WORKING IN A MALE DOMINATED FIELD,
BUT WHEN THEY START USING THEIR LARGE FRAMES AND BOOMING VOICES OMG GOD...I
JUST MAY HAVE TO C
On Tue, 2009-08-04 at 15:30 +0100, Ashley Sheridan wrote:
> On Tue, 2009-08-04 at 07:16 -0700, Miller, Terion wrote:
> > for($i = 0; $i <= 9; $iﯯ)
>
> I'm noticing an odd character just here (heaven knows what line number!)
> I'd presume this was meant to be something like a ++ or +=n, but seems
>
On Tue, 2009-08-04 at 07:40 -0700, Miller, Terion wrote:
> THANKFULLY THE BOSS DECIDED TO YELL AT ME AND TOLD ME WHAT THE PROBLEM
> WASI HAVE NEVER BEEN SO STRESSED IN MY LIFE
> SHOULD WORK BE THIS AWFUL? IT’S HARD ENOUGH WORKING IN A MALE DOMINATED
> FIELD, BUT WHEN THEY START USING THEI
On Tue, Aug 4, 2009 at 10:30 AM, Ashley
Sheridan wrote:
> On Tue, 2009-08-04 at 07:16 -0700, Miller, Terion wrote:
>> for($i = 0; $i <= 9; $iﯯ)
>
> I'm noticing an odd character just here (heaven knows what line number!)
> I'd presume this was meant to be something like a ++ or +=n, but seems
> to
On Tue, 2009-08-04 at 10:47 -0400, Andrew Ballard wrote:
> On Tue, Aug 4, 2009 at 10:30 AM, Ashley
> Sheridan wrote:
> > On Tue, 2009-08-04 at 07:16 -0700, Miller, Terion wrote:
> >> for($i = 0; $i <= 9; $iﯯ)
> >
> > I'm noticing an odd character just here (heaven knows what line number!)
> > I'd p
---snip
Was going to say the exact same thing. No one should have to put up with that
crap.
I suggest if this was a normal occurrence, a chat with him would be a start.
If you get nowhere with that, a trip to HR would be good.
Shouting at someone is counter-productive, and there more
On Tue, 2009-08-04 at 07:58 -0700, Miller, Terion wrote:
>
>
> ---snip
>
> Was going to say the exact same thing. No one should have to put up with
> that crap.
>
> I suggest if this was a normal occurrence, a chat with him would be a start.
> If you get nowhere with that, a trip to HR
On Tue, Aug 4, 2009 at 10:58 AM, Miller,
Terion wrote:
>
>
>
> ---snip
>
> Was going to say the exact same thing. No one should have to put up with
> that crap.
>
> I suggest if this was a normal occurrence, a chat with him would be a start.
> If you get nowhere with that, a trip to HR woul
On 8/4/09 10:03 AM, "Ashley Sheridan" wrote:
print_r($_SERVER);
I get:
Array ( [HTTP_HOST] => getpublished.news-leader.com [HTTP_USER_AGENT] =>
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.13)
Gecko/2009073021 Firefox/3.0.13 [HTTP_ACCEPT] =>
text/html,application/xhtml+
On 8/4/09 10:04 AM, "Bastien Koert" wrote:
On Tue, Aug 4, 2009 at 10:58 AM, Miller,
Terion wrote:
>
>
>
> ---snip
>
---snip-
>
> http://pastebin.ca/1517966
>
> I don't get why the $_SERVER['browse.php'] stopped working
>
> --
> PHP General Mailing List (http://www.php.net/)
> To un
On Tue, 2009-08-04 at 08:08 -0700, Miller, Terion wrote:
>
>
> On 8/4/09 10:03 AM, "Ashley Sheridan" wrote:
>
> print_r($_SERVER);
>
> I get:
>
> Array ( [HTTP_HOST] => getpublished.news-leader.com [HTTP_USER_AGENT] =>
> Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.13)
>
Miller, Terion wrote:
> THANKFULLY THE BOSS DECIDED TO YELL AT ME AND TOLD ME WHAT THE PROBLEM
> WASI HAVE NEVER BEEN SO STRESSED IN MY LIFE
> SHOULD WORK BE THIS AWFUL? IT’S HARD ENOUGH WORKING IN A MALE DOMINATED
> FIELD, BUT WHEN THEY START USING THEIR LARGE FRAMES AND BOOMING VOICES O
Miller, Terion wrote:
>
>
> On 8/4/09 10:04 AM, "Bastien Koert" wrote:
>
> On Tue, Aug 4, 2009 at 10:58 AM, Miller,
> Terion wrote:
>>
>>
>> ---snip
>>
> ---snip-
>> http://pastebin.ca/1517966
>>
>> I don't get why the $_SERVER['browse.php'] stopped working
>>
>> --
>> PHP General M
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 programming..I'm trying...
Stop being such a egomaniacal dickhead, a social life may d
Is what I'm looking to do not possible in PHP? I've come close with
a JavaScript version, but I'd rather not rely on everyone having JS
turned on. Or am I stuck having to use JS?
Thanks again,
Frank
I'd like to revisit this one last time. Below is the revised code
I'm using, but I do
I have recently been working a lot lately with arrays and printing them into
html tables for email (like a user survey for example). I have been seeing
odd things with the table lately, each unique to it's sending php file. I
will get a space in a random spot. In one, I used an array to rename the
On Tue, Aug 4, 2009 at 11:40 AM, wrote:
> Is what I'm looking to do not possible in PHP? I've come close with
> a JavaScript version, but I'd rather not rely on everyone having JS turned
> on. Or am I stuck having to use JS?
>
> Thanks again,
> Frank
>
>
>> I'd like to revisit this
From: Allen McCabe
> I have recently been working a lot lately with arrays and printing
them into
> html tables for email (like a user survey for example). I have been
seeing
> odd things with the table lately, each unique to it's sending php
file. I
> will get a space in a random spot. In one, I
Jerry Wilborn wrote:
> Am I missing something? Can't this be done quickly/easily with preg_match()?
>
> if (preg_match('/\[(.*):(.*)\s/U', '[21/Jul/2009:00:00:47 -0300]',
> $matches)) {
> print "date: {$matches[1]}, time: {$matches[2]}";
> }
>
> Jerry Wilborn
> jerrywilb...@gmail.com
>
>
Keep in mind that you can use name=var[] value=value1, name=var[]
value=value2 and php will create an array as $_REQUEST['var'] with each of
your values. The keys are numbered and don't count on what order they'll
come through.
Jerry Wilborn
jerrywilb...@gmail.com
On Tue, Aug 4, 2009 at 10:47 AM,
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 programming..I'm trying... Stop being such a egomaniacal
>
*Parse error*: syntax error, unexpected $end in *
/home/a9066165/public_html/admin/processccu.php* on line *231*
I did some major code rewriting about halfway through (lines 114-132), and
suddenly I'm getting the above ERROR. I have examined the code line by line,
but I'm still relatively new to t
On Tue, Aug 4, 2009 at 13:47, Allen McCabe wrote:
[snip="everything"]
Looks like you're missing a closing bracket here:
if(!empty($_POST['EMailAddress'])) {
$EMailAddress = $_POST['EMailAddress'];
} else {
$EMailAddress = " ";
// <--- Right here
--
daniel.br...@parasane.net || danbr...@
Allen McCabe wrote:
> *Parse error*: syntax error, unexpected $end in *
> /home/a9066165/public_html/admin/processccu.php* on line *231*
>
I have learned from a number of similar mistakes that this error message
/normally/ means that I have a miss-matched number of brackets on a
foreach, while, o
On Tue, 2009-08-04 at 10:56 -0700, Jim Lucas wrote:
> Allen McCabe wrote:
> > *Parse error*: syntax error, unexpected $end in *
> > /home/a9066165/public_html/admin/processccu.php* on line *231*
> >
>
> I have learned from a number of similar mistakes that this error message
> /normally/ means th
mail and this isn't the first time that mail
service has muffed up an email and/or the attachments. It consistently has
compromised jpg's, pdf's and the like. I sent an email to a prospective client
using my gmail service and the links were messed up when they got it. Made me
loo
Ashley - I am formatting this way, it just didn't translate into gmail : )
Daniel, Martin, and Jim - Thanks very much, my php runs now, however I don't
get the result page anymore. My inbox receives the form (missing cells, but
that's another issue), but the browser doesn't load processccu.php, it
=>
> /ResturantInspections/view.php [REQUEST_TIME] => 1249398440 )
>
> --
[HallMarc Websites]
Ugh! Try this from now on
echo "";
print_r($_SERVER);
echo "";
What gets sent to the window is at least legible by us lower human forms
[HallMarc Websites]
__ Information from ESET Smart Security, version of virus signature
database 4305 (20090804) __
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 Tue, Aug 4, 2009 at 2:05 PM, HallMarc
Websites wrote:
> I have noticed a few issues with Gmail and this isn't the first time that
> mail service has muffed up an email and/or the attachments. It consistently
> has compromised jpg's, pdf's and the like. I sent an email to a prospective
> clien
On Tue, 2009-08-04 at 14:16 -0400, Andrew Ballard wrote:
> On Tue, Aug 4, 2009 at 2:05 PM, HallMarc
> Websites wrote:
> > I have noticed a few issues with Gmail and this isn't the first time that
> > mail service has muffed up an email and/or the attachments. It consistently
> > has compromised j
> -Original Message-
> From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk]
> Sent: Tuesday, August 04, 2009 2:20 PM
> To: Andrew Ballard
> Cc: HallMarc Websites; Miller, Terion; PHP-General List
> Subject: Re: [PHP] Need quick got written up yesterday!! OUCH
>
> On Tue, 2009-08-04 at
Well, I got it to display a thank you page instead of what I had. I'm
rolling with the punches. Got to work on why my email table is not building
right. Stay tuned!
On Tue, Aug 4, 2009 at 11:09 AM, Allen McCabe wrote:
> Ashley - I am formatting this way, it just didn't translate into gmail : )
>
Allen McCabe wrote:
> Ashley - I am formatting this way, it just didn't translate into gmail : )
You might try using indentation with more then one space. Try tabs.
Any respectable editor will allow you to set the number of spaces it
uses to actually represent the tab.
That way I can have mine s
ePaging(+ACQ-selectedLetter
> +AD0-
> null) +AHs- +ACQ-letters +AD0- range('A','Z')+ADs-
> array+AF8-push(+ACQ-letters, \
> 'nums')+ADs- +ACQ-menu +AD0- ''+ADs- //if the page is browse default to A's
> if on \
> other pages just show p
On Aug 4, 2009, at 9:43 AM, Jerry Wilborn wrote:
Keep in mind that you can use name=var[] value=value1, name=var[]
value=value2 and php will create an array as $_REQUEST['var'] with
each of your values. The keys are numbered and don't count on what
order they'll come through.
Thanks for
I created a webpage with the code listed, and a screen shot of the email I
am currently receiving (with nonsense entered into my inputs)
URL:
http://lpacmarketing.hostzi.com/admin/help.html
Anyone that can provide help will be rewarded in their next life. That's a
promise.
Thanks!
On Tue, Aug 4
If the form method is "POST" then set the 'c' variable with a hidden value
within the form:
Jerry Wilborn
jerrywilb...@gmail.com
On Tue, Aug 4, 2009 at 1:50 PM, wrote:
>
> On Aug 4, 2009, at 9:43 AM, Jerry Wilborn wrote:
>
> Keep in mind that you can use name=var[] value=value1, name=var[]
>>
Sorry... I'm using GET. I have used the code you supplied below, but
as I mentioned, it gets sent for every itemid in the table. I needs
to be sent only once, and right after the action. That's where I'm
stumped.
Frank
On Aug 4, 2009, at 11:56 AM, Jerry Wilborn wrote:
If the form meth
Trying to install php at amazon and have a version with no 'dymanic
modules'. Does anyone have a list of those modules?
I specificially need
curl
mysql
mysqli
at this time
thanks
--
Bastien
Cat, the other other white meat
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
I re-read your original thread, and I think *now* I may know what you're
asking.
Bastien is right, you're not going to be able to selectively send data to
PHP with just HTML. Be careful though, as 'GET' has its
limits. POST has limits as well, but for adding items to a shopping
cart you're unlikel
On 8/3/09 7:44 PM, "Shawn McKenzie" wrote:
Miller, Terion wrote:
> All of a sudden this stopped working and keeps defaulting to A again
>
> if ($_SERVER['SCRIPT_FILENAME'] = "browse.php" ) {
>
> $default = "A";
>
> }
>
>
> else {
>
> $default = "";
>
> }
>
It stopped working or never
On Tue, Aug 4, 2009 at 15:19, Bastien Koert wrote:
> Trying to install php at amazon and have a version with no 'dymanic
> modules'. Does anyone have a list of those modules?
>
> I specificially need
>
> curl
> mysql
> mysqli
You have a shell with me, right? Use these instructions to copy
it,
> Sorry... I'm using GET. I have used the code you supplied below,
> but as I mentioned, it gets sent for every itemid in the table. I needs
> to be sent only once, and right after the action. That's where I'm
> stumped.
Hidden form inputs should work with GET or POST -- they're only "hidde
Allen McCabe wrote:
> I created a webpage with the code listed, and a screen shot of the email I
> am currently receiving (with nonsense entered into my inputs)
>
> URL:
> http://lpacmarketing.hostzi.com/admin/help.html
>
> Anyone that can provide help will be rewarded in their next life. That's
On Aug 4, 2009, at 12:33 PM, Ben Dunlap wrote:
I don't follow what you mean by "it gets sent for every itemid" --
can you post
an example of the query string that's being generated?
Well, do I feel stupid. I thought I had moved it to the correct spot
but I hadn't. When value="viewcart.
On Tue, Aug 04, 2009 at 12:42:11PM -0500, Shawn McKenzie 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 me
you, they simply stop helping you.
>
> My point here is not to insult you or denigrate your abilities. You may
> be a very nice person, and quite talented at doing the things you're
> trained to do. But programming in PHP is apparently not one of them.
> And
> if you'r
On Tue, Aug 04, 2009 at 06:10:30PM -0400, HallMarc Websites wrote:
> [HallMarc Websites]
>
> God I love this planet. I agree with Paul.
>
Yeah, great planet, this. A little touristy, but still a good travel
value.
;-}
Paul
--
Paul M. Foster
--
PHP General Mailing List (http://www.php.net
Terion,
I've done a lot of backend programming, but I'm even more newbie than
you in PHP... so take this from an equal, & FWIW:
I think we in this work can all get dry/impersonal and grouchy at
times, but to rephrase the others, in perhaps more encouraging terms:
I think the guys just want t
On Tue, Aug 4, 2009 at 7:19 PM, Govinda wrote:
> Terion,
>
> I've done a lot of backend programming, but I'm even more newbie than you in
> PHP... so take this from an equal, & FWIW:
> I think we in this work can all get dry/impersonal and grouchy at times, but
> to rephrase the others, in perhaps
Eric Butera wrote:
> On Tue, Aug 4, 2009 at 7:19 PM, Govinda wrote:
>> Terion,
>>
>> I've done a lot of backend programming, but I'm even more newbie than you in
>> PHP... so take this from an equal, & FWIW:
>> I think we in this work can all get dry/impersonal and grouchy at times, but
>> to reph
I've run up against something else here that I can't find an answer
for. This line of the script:
$cats = array('01100-01200-01300-06403' => 'Starter Units',
'01100-02201-01300-06403' => 'Add-On Units', '01100-99222-11341-18451'
=> 'Extra Shelves');
is supposed to pull all items from ea
Just as a heads-up, in case you guys weren't yet aware (cross-posting):
Elance.com was the victim of an SQL injection attack earlier this
summer (they apparently missed our billions of threads on sanity).
According to their folks, only names, company names, phone numbers,
and email address
Daniel Brown wrote:
Just as a heads-up, in case you guys weren't yet aware (cross-posting):
Elance.com was the victim of an SQL injection attack earlier this
summer (they apparently missed our billions of threads on sanity).
According to their folks, only names, company names, phone numb
Bob, Ben, David, Robert,
Thank you all for responding.
Just to recap, I'm trying to find out why I can write text into a PNG
image on one server, but not on another.
After much playing around, I have a list of the different configuration
modules installed on the two servers. The lists below are
Well, it took me all evening to figure it out, but I did. The SQL
statement needed to be changed to
WHERE categories LIKE '%$cat%'
and now it works. I had found an old book on my shelf called "MySQL
and Perl for the Web" and found an example in there that pointed me in
the right direction
66 matches
Mail list logo