Hi all,
How could I convert a hex msg to ascii msg?
Is there a php function or sth?
Thanks.
Regards,
Shelley
On Dec 6, 2007 10:25 PM, Casey <[EMAIL PROTECTED]> wrote:
>
> On Dec 6, 2007 10:12 PM, Rob Gould <[EMAIL PROTECTED]> wrote:
> > Let's say I have a PHP script which lists a series of objects for sale at a
> > yard sale, each with a checkbox to the left of the name of the item.
> >
> > If I wanted t
You will be passing the checkboxes as arrays ...
So you will need to access them that way on the next page
Your post field would look something like (off the top of my head, so don't
quote me):
Array
(
[selected_fid] =>
[0] => apples
On Dec 6, 2007 10:12 PM, Rob Gould <[EMAIL PROTECTED]> wrote:
> Let's say I have a PHP script which lists a series of objects for sale at a
> yard sale, each with a checkbox to the left of the name of the item.
>
> If I wanted to have a submit button, and run through the list of items that
> were
Let's say I have a PHP script which lists a series of objects for sale at a
yard sale, each with a checkbox to the left of the name of the item.
If I wanted to have a submit button, and run through the list of items that
were checked and act on them, how would I do that?
To gain some knowledge,
On Dec 6, 2007 10:31 PM, Robert Cummings <[EMAIL PROTECTED]> wrote:
> On Thu, 2007-12-06 at 21:52 -0500, Daniel Brown wrote:
> > > Duh!
> > >
> > > That's like telling everyone to use the shower-head to water-pic your
> > > teeth as Vana White did -- like obvious!
>
> Am I getting old if I remember
On Thu, 2007-12-06 at 21:52 -0500, Daniel Brown wrote:
> On Dec 6, 2007 9:49 PM, tedd <[EMAIL PROTECTED]> wrote:
> > >On Dec 6, 2007 9:10 PM, tedd <[EMAIL PROTECTED]> wrote:
> > >
> > >> Also, I recently noticed that FF will add text to a Submit button
> > >>if you don't.
> > >
> > > Actually,
On Dec 6, 2007 9:49 PM, tedd <[EMAIL PROTECTED]> wrote:
> >On Dec 6, 2007 9:10 PM, tedd <[EMAIL PROTECTED]> wrote:
> >
> >> Also, I recently noticed that FF will add text to a Submit button
> >>if you don't.
> >
> > Actually, Tedd, even second-generation browsers (e.g. - Internet
> >Exploder 2
On Dec 6, 2007 9:10 PM, tedd <[EMAIL PROTECTED]> wrote:
> Also, I recently noticed that FF will add text to a Submit button if you
> don't.
Actually, Tedd, even second-generation browsers (e.g. - Internet
Exploder 2.x, Netscape Navigator 2.x, et cetera) would add the text
"Submit Query" to a
At 6:07 PM -0500 12/6/07, Nathan Nobbe wrote:
On Dec 6, 2007 4:59 PM, tedd <[EMAIL PROTECTED]> wrote:
> The problem is, could you guarantee to a "preferred" service provider
> that they would receive top-listing 25 percent of the time? Keep in
> mind that preferred service providers will overl
At 9:02 PM -0500 12/6/07, Robert Cummings wrote:
On Thu, 2007-12-06 at 13:02 -0500, tedd wrote:
>
>
Not to critique your form logic itself, but IMHE it is much better to
name the submit button "continue" and not "submit". Some browsers, maybe
all (I can't remember), screw things up when y
On Thu, 2007-12-06 at 13:02 -0500, tedd wrote:
> At 10:36 PM -0700 12/5/07, Mike Smith wrote:
> >I am trying to recursively send data to the same form.
> >
> >-snip-
> >
> >What is the best practice for doing this?
> >
>
> I don't know what the "best" practice is, but this is the way I do it.
>
On Dec 6, 2007, at 3:15 PM, Sascha Braun <[EMAIL PROTECTED]>
wrote:
Hi Everybody,
I have a couple of foreach loops which are ending in a for loop,
which causes the apache to consume the complete memory of the
server system the php engine is running on.
The nesting level is at round abou
Sascha Braun wrote:
Hi Everybody,
I have a couple of foreach loops which are ending in a for loop,
which causes the apache to consume the complete memory of the
server system the php engine is running on.
The nesting level is at round about three and looking like that:
$num_new = 4;
if (is_arr
On Dec 6, 2007 4:59 PM, tedd <[EMAIL PROTECTED]> wrote:
> Hi gang:
>
> This post is related to the zip lat/long request I recently made and
> received such an overwhelming response -- many thanks to all.
>
> In any event, let's say we have a end-user who is looking for
> services within his zip-co
Hi Everybody,
I have a couple of foreach loops which are ending in a for loop,
which causes the apache to consume the complete memory of the
server system the php engine is running on.
The nesting level is at round about three and looking like that:
$num_new = 4;
if (is_array($array)) {
Hi gang:
This post is related to the zip lat/long request I recently made and
received such an overwhelming response -- many thanks to all.
In any event, let's say we have a end-user who is looking for
services within his zip-code AND we have a dB of service providers
who are willing to rend
sounds like a solution!
:)
thanks andrew.
-afan
Andrew Ballard wrote:
On Dec 6, 2007 1:38 PM, Afan Pasalic <[EMAIL PROTECTED]> wrote:
hi,
I use the code from
http://www.php.net/manual/en/function.mysql-fetch-field
(example #1)
I'm getting everything I need but can't recognize if the column
On Dec 6, 2007 1:38 PM, Afan Pasalic <[EMAIL PROTECTED]> wrote:
> hi,
> I use the code from
> http://www.php.net/manual/en/function.mysql-fetch-field
> (example #1)
> I'm getting everything I need but can't recognize if the column is
> ENUM() type?
>
> e.g. column "status" is ENUM('0','1') or ENUM(
On Thursday 06 December 2007 20:16:51 Stephen wrote:
> Hi
>
> I am considering taking on a project, part of which is setting up PHP BB.
>
> I have not done this before but have done Linux/PHP/MySQL web sites.
>
> What would be a realistic time estimate for me to get this running,
> including going
On Dec 6, 2007 2:16 PM, Stephen <[EMAIL PROTECTED]> wrote:
> Hi
>
> I am considering taking on a project, part of which is setting up PHP BB.
>
> I have not done this before but have done Linux/PHP/MySQL web sites.
>
> What would be a realistic time estimate for me to get this running,
> including
Hi
I am considering taking on a project, part of which is setting up PHP BB.
I have not done this before but have done Linux/PHP/MySQL web sites.
What would be a realistic time estimate for me to get this running,
including going through the documentation and learning basic administration?
T
hi,
I use the code from
http://www.php.net/manual/en/function.mysql-fetch-field
(example #1)
I'm getting everything I need but can't recognize if the column is
ENUM() type?
e.g. column "status" is ENUM('0','1') or ENUM('live','hidden','archive')
or something like that. I want to recognize this
At 10:36 PM -0700 12/5/07, Mike Smith wrote:
I am trying to recursively send data to the same form.
-snip-
What is the best practice for doing this?
I don't know what the "best" practice is, but this is the way I do it.
In the form I have a hidden field called step that controls flow via PO
At 10:30 PM -0700 12/5/07, Mike Smith wrote:
I'm trying to
Me too -- just as my friends.
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
I won't say you CAN'T do it (you can with eval) but you'd be WAY
better off to use some kind of exchange rate field that you can change
frequently instead of cramming formulas into the field.
"If eval is the answer, you are probably doing something wrong."
You may also want to store everything as
On Mon, December 3, 2007 9:05 pm, Shelley Shyan wrote:
> It may not be a php question, but I want to get the filename lists
> that a .tar.gz file contains and give it to an array.
> How can I manage that?
I thought there was a 'tar' PHP extension, but don't see it now...
There is a 'gzip' you can
On Tue, December 4, 2007 2:58 pm, Cesar D. Rodas wrote:
> I know that PHP doesn't support pointers to a variable, instead of
> that
> there is references to a variable which are similar to pointers,
> right?
>
> BTW, what I want to do is to save a references to a variable and read
> the
> content w
Welcome back Richard :)
Cheers,
Rob.
On Thu, 2007-12-06 at 10:43 -0600, Richard Lynch wrote:
> On Thu, December 6, 2007 9:49 am, Jason Pruim wrote:
> >
> > On Dec 6, 2007, at 10:29 AM, Daniel Brown wrote:
> >
> >> On Dec 5, 2007 8:58 PM, tedd <[EMAIL PROTECTED]> wrote:
> >>> Hi gang:
> >>>
> >>>
EVERY HTTP request is completely independent of the previous/following
ones, unless you specifically tie them together with YOUR code.
If you want to accumulate data from $_POST, start a session
http://php.net/session_start and cram the data you need to keep into
$_SESSION as you go.
On Wed, Dece
On Thu, December 6, 2007 2:44 am, Rolf_ wrote:
> I have a problem working with shmop_open() in a Solaris environment.
> The
> following cli-script works fine, except shmod_open returns a warning
> 'unable
> to attach or create shared memory segment':
>
> $sem = "/tmp/" . rand() . ".sem";
> touch (
On Tue, December 4, 2007 7:41 pm, Kevin Schmeichel wrote:
> Here's some unexpected behavior:
>
> // ?> what?
> ?>
>
> This will output "what?" - I expected no output, as is the case if the
> inline comment was a /* */ comment. Is this a bug?
The are parsed first, and the // only applies to
ever
On Dec 6, 2007 11:43 AM, Richard Lynch <[EMAIL PROTECTED]> wrote:
> The free one is from an OLD US census, paid for by taxpayers, and
> therefore Public Domain.
>
> $1,000 ones (should) include new zips (lots) and up-to-date population
> info etc.
Yeah, mine actually does. It's from 2006 and
On 12/6/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
>
> Yes, you can do that, and look at Yahoo! maps as an alternative.
>
> Same smell. :-)
>
> On Wed, December 5, 2007 12:27 pm, Robert Fitzpatrick wrote:
> > Well, I have two clients that both want mapping for their sales
> > people.
> > I have b
Yes, you can do that, and look at Yahoo! maps as an alternative.
Same smell. :-)
On Wed, December 5, 2007 12:27 pm, Robert Fitzpatrick wrote:
> Well, I have two clients that both want mapping for their sales
> people.
> I have been looking at the Google API and Phoogle
> (www.systemsevendesigns.c
On Thu, December 6, 2007 9:49 am, Jason Pruim wrote:
>
> On Dec 6, 2007, at 10:29 AM, Daniel Brown wrote:
>
>> On Dec 5, 2007 8:58 PM, tedd <[EMAIL PROTECTED]> wrote:
>>> Hi gang:
>>>
>>> I'm entertaining how to determine what zip codes fall within a 50
>>> mile radius of another zip code.
>>>
>>>
On Dec 6, 2007 11:12 AM, mike <[EMAIL PROTECTED]> wrote:
> You can use the formula to figure out how many zip codes are within the radius
Or you can stop shooting me in the ass by showing me things that
make me wonder why I wasted all that time! ;-P
--
Daniel P. Brown
[Phone Numbers Go Here
You can use the formula to figure out how many zip codes are within the radius
Here's a snippet of old code that did that:
$radius = 50; // in miles
$uchk = db_query("SELECT uz.zip FROM user_zip WHERE uid=$visitor[uid]");
if(db_numrows($uchk) == 1) {
list($vz) = d
[snip]
I'm entertaining how to determine what zip codes fall within a 50
mile radius of another zip code.
Anyone done this before?
Also, does anyone have any sources for zip codes and lat/long databases?
TIA for any help/suggestions.
[/snip]
Here is a code snip that I use to determine things w
On Dec 6, 2007 11:02 AM, mike <[EMAIL PROTECTED]> wrote:
[snip!]
> 1) download ZCTA (the text version) from
> http://www.census.gov/geo/www/gazetteer/places2k.html
[snip!]
How you say? Son of the bitch.
Well, my database still has more information, including nearby ZIP
codes, et cetera.
On Dec 6, 2007 11:00 AM, Steve Finkelstein <[EMAIL PROTECTED]> wrote:
> Wow, I fire off an e-mail before I hit the sack and wake up with
> several great feedback!
>
> No worries on the quality of humbleness, Daniel. ;-)
>
> Overall, I do enjoy design. Heck, I wish I had more of a creative mind
> an
On Dec 6, 2007 3:44 AM, Rolf_ <[EMAIL PROTECTED]> wrote:
>
> Dear List,
>
> I have a problem working with shmop_open() in a Solaris environment. The
> following cli-script works fine, except shmod_open returns a warning 'unable
> to attach or create shared memory segment':
[snip!]
Rolf,
I
On Dec 6, 2007 3:23 AM, Jochem Maas <[EMAIL PROTECTED]> wrote:
> Steve Finkelstein wrote:
> > Thanks for your humble opinions. Appreciate the feedback!
>
> humble?
People on this list are anything BUT humble, Steve.
Now, as for my own petty opinion
I always tell new clients that
After reading this I decided to figure out what the issue was.
It was the MySQL result set. Somehow the columns changed and messed up
the float values. So I just whipped this up quick to reload the data
(and possibly update it too)
Here's the quick-and-dirty:
1) download ZCTA (the text version)
Wow, I fire off an e-mail before I hit the sack and wake up with
several great feedback!
No worries on the quality of humbleness, Daniel. ;-)
Overall, I do enjoy design. Heck, I wish I had more of a creative mind
and the logical programming mind at times. I just want to make sure
I'm not cutting
On Dec 6, 2007 10:49 AM, Jason Pruim <[EMAIL PROTECTED]> wrote:
>
> On Dec 6, 2007, at 10:29 AM, Daniel Brown wrote:
>
> > On Dec 5, 2007 8:58 PM, tedd <[EMAIL PROTECTED]> wrote:
> >> Hi gang:
> >>
> >> I'm entertaining how to determine what zip codes fall within a 50
> >> mile radius of another zi
On Dec 6, 2007, at 10:29 AM, Daniel Brown wrote:
On Dec 5, 2007 8:58 PM, tedd <[EMAIL PROTECTED]> wrote:
Hi gang:
I'm entertaining how to determine what zip codes fall within a 50
mile radius of another zip code.
Anyone done this before?
Also, does anyone have any sources for zip codes and
On Dec 5, 2007 8:58 PM, tedd <[EMAIL PROTECTED]> wrote:
> Hi gang:
>
> I'm entertaining how to determine what zip codes fall within a 50
> mile radius of another zip code.
>
> Anyone done this before?
>
> Also, does anyone have any sources for zip codes and lat/long databases?
Tedd,
I hav
On Dec 5, 2007 6:09 AM, Richard Heyes <[EMAIL PROTECTED]> wrote:
There is not much "simple" about a calendar, especially when you start
dealing with recurring events. How far into the future your calendar
allow events to recur will depend at least in part on how you intend
to store them. For inst
Steve Finkelstein wrote:
> Hi all,
...
>
> Basically what I'm asking is, am I going to be end up being a jack of
> all trades, master of none, if I continue pursuing design AND
> development?
leonardo da vinci - i.e. there is nothing to say you can't be a master of
all trades. but realisticall
Dear List,
I have a problem working with shmop_open() in a Solaris environment. The
following cli-script works fine, except shmod_open returns a warning 'unable
to attach or create shared memory segment':
I checked the $sem_key with the Solaris ipcs command. The file exists and
the read/write
51 matches
Mail list logo