Something I've always been meaning to ask.
If going thro a large amount of data, does it matter whether I compare the
value to the array item, or visa-versa?
$colr = array('red', 'blue', 'green', etc);
example 1
foreach($colr as $item) {
if ($item == 'blue')
// Do something
}
example 2
foreac
On Sat, Apr 5, 2008 at 11:34 AM, Faro Maro <[EMAIL PROTECTED]> wrote:
>
>
> HI
> I WANT TO LEARN PHP FROM BEGIN
>
> I HOPE YOU HELP ME
>
With respect please do not shout at the board. If you look down the
listings on the group page you should find many posts with suggestions
for getting started
--- Bob <[EMAIL PROTECTED]> wrote:
> Something I've always been meaning to ask.
> If going thro a large amount of data, does it matter whether I compare the
> value to the array item, or visa-versa?
>
> $colr = array('red', 'blue', 'green', etc);
> example 1
> foreach($colr as $item) {
> if ($
- Original Message -
From: "James Keeline"
>
> --- Bob <[EMAIL PROTECTED]> wrote:
>
>> Something I've always been meaning to ask.
>> If going thro a large amount of data, does it matter whether I compare the
>> value to the array item, or visa-versa?
>>
>> $colr = array('red', 'blue', '
Hi all,
Just a quick note to let you everyone know that my PHP Function Reference
widget for Mac OS
X's Dashboard just went to version 1.0! I'm excited to share this news as this
widget has been
in beta for over 2 years (no joke!). More information is available here:
http://andrew.hedges.name
as per the title.
I've got a form where the user inputs there own name, e-mail address,
subject and then from 2 drop-down selection menus select the type of
email being sent and who to send it to.
I've googled a few scripts but from my understanding they will only
send files currently on the web
- Original Message -
From: "Ian"
as per the title.
I've got a form where the user inputs there own name, e-mail address,
subject and then from 2 drop-down selection menus select the type of
email being sent and who to send it to.
I've googled a few scripts but from my understanding they
--- In php-list@yahoogroups.com, <[EMAIL PROTECTED]> wrote:
>
> Q: Is there any way to allow someone to attach a file without uploading
> to the web server?
>
> A: No.
>
> You have to upload the file to the tmp directory first, send it via
email
> and then delete it.
>
> Rob.
>
Ok, now other
- Original Message -
From: "Ian"
--- In php-list@yahoogroups.com, <[EMAIL PROTECTED]> wrote:
>
> Q: Is there any way to allow someone to attach a file without uploading
> to the web server?
>
> A: No.
>
> You have to upload the file to the tmp directory first, send it via
email
> and then
--- In php-list@yahoogroups.com, <[EMAIL PROTECTED]> wrote:
>
>
> Hi Ian,
>
> This depends on if you trust what the browser sends as a MIME type?
>
> If the browser sends a MIME type then it will be in -
> $_FILES['userfile']['type'] however any hacker can s
10 matches
Mail list logo