On Saturday 23 June 2007 04:29, Tijnema wrote:
> > 3) This is basically the same as point 1, but I think it's still
> > worth making. I don't know about anyone else, but this is 1 of 14
> > lists I subscribe to. Keeping track of what's happening in all
> > current threads in all those lists is not
Hi Jochem,
in your post I see:
Last-Modified: Fri, 22 Jun 2007 19:20:30 GMT
and:
-rw-r--r-- 1 apache apache 11924 Jun 22 21:20 foo.jpg
Those two look like they're 2 hours off from eachother! Perhaps Apache
does some magic on the unix timestamp first?
Just a thought there.
- Tul
Jochem Maas
Jochem Maas wrote:
but ... I need more speed ...
Don't we all? Try these:
1. stat() is slow, try not to use it
2. Don't pass images through PHP if at all possible
3. Get Fiddler (www.fiddlertool.com) - It will let you see the HTTP
response headers. It will show what's actually being reques
Andres Rojas wrote:
> Hi all,
>
> I'm new in PHP programming and I have a problem with this script. I need
> to read a large file around 2Mb and several lines (28000). All start Ok,
> but suddenly the script stop without message error.
1. check your error log (apache error log probably)
2. check
Richard Heyes wrote:
> Jochem Maas wrote:
>
>> but ... I need more speed ...
>
> Don't we all? Try these:
>
> 1. stat() is slow, try not to use it
ack.
> 2. Don't pass images through PHP if at all possible
for dynamically, resampled images:
I only do this on the initial request - php generate
Hi all,
When I test my photo album in my IIS testing server relative path in the
following code works fine :
echo " ";
but when I upload it to the web server I dont see my photos, my /home
directory on the web server contains
public_ftp and public_html where my web site is store
On 6/23/07, elk dolk <[EMAIL PROTECTED]> wrote:
Hi all,
When I test my photo album in my IIS testing server relative path in the
following code works fine :
echo " ";
but when I upload it to the web server I don't see my photos, my /home
directory on the web server contains
public_f
On 6/23/07, elk dolk <[EMAIL PROTECTED]> wrote:
> Hi all,
> When I test my photo album in my IIS testing server relative path in the
> following
> code works fine :
>echo " height='160'
border='0' /> ";
>but when I upload it to the web server I don't see my photos, my /home
On 6/23/07, elk dolk <[EMAIL PROTECTED]> wrote:
On 6/23/07, elk dolk <[EMAIL PROTECTED]> wrote:
> Hi all,
> When I test my photo album in my IIS testing server relative path in the
following
> code works fine :
>echo " ";
>but when I upload it to the web server I don't see my pho
On 6/23/07, elk dolk <[EMAIL PROTECTED]> wrote:
>
> On 6/23/07, elk dolk <[EMAIL PROTECTED]> wrote:
> > Hi all,
> > When I test my photo album in my IIS testing server relative path in the
> > following
> > code works fine :
>
> >echo " > height='160'
> border='0' /> ";
>
> >but
On 6/23/07, elk dolk <[EMAIL PROTECTED]> wrote:
> Sorry I have to correct it the above path works :
> img
> > src='http://www.mydomain.com/something/img/{$photoFileName}'
> but I can see some of my photos! and when I right click on them
> I see the properties : url://mydomain/img/26.jpg
> size 2
On 6/23/07, elk dolk <[EMAIL PROTECTED]> wrote:
> > On 6/23/07, elk dolk <[EMAIL PROTECTED]> wrote:
> > > Hi all,
> > > When I test my photo album in my IIS testing server relative path in the
following
> > > code works fine :
> >
> > >echo " > border='0' /> ";
> >
> > >but whe
On 6/23/07, elk dolk <[EMAIL PROTECTED]> wrote:
On 6/23/07, elk dolk <[EMAIL PROTECTED]> wrote:
>
> On 6/23/07, elk dolk <[EMAIL PROTECTED]> wrote:
> > Hi all,
> > When I test my photo album in my IIS testing server relative path in the
following
> > code works fine :
>
> >echo " b
M. Sokolewicz wrote:
> Hi Jochem,
>
> in your post I see:
> Last-Modified: Fri, 22 Jun 2007 19:20:30 GMT
>
> and:
>
> -rw-r--r-- 1 apache apache 11924 Jun 22 21:20 foo.jpg
>
> Those two look like they're 2 hours off from eachother! Perhaps Apache
> does some magic on the unix timestamp first?
> > On 6/23/07, elk dolk <[EMAIL PROTECTED]> wrote:
> > > Hi all,
> > > When I test my photo album in my IIS testing server relative path in the
following
> > > code works fine :
> >
> > >echo " > border='0' /> ";
> >
> > >but when I upload it to the web server I don't see my pho
> Sorry I have to correct it the above path works :
> img
> > src='http://www.mydomain.com/something/img/{$photoFileName}'
> but I can see some of my photos! and when I right click on them
> I see the properties : url://mydomain/img/26.jpg
> size 2976 bytes
> dim 120x160
>
> when I right click on
Julien,
i reproduced your experiment and got a different result on the first one. i
found that the internal pointer does not seem to be affected if there is a
check on the index of the internal pointer during iteration, but if there is
no check on the index during iteration the
pointer seems to
On Sat, 2007-06-23 at 19:15 +0200, Julien Pauli wrote:
> Please consider this code :
>
> $a = array("One","Two","Three");
>
> foreach ($a AS $k=>$v) {
> }
>
> var_dump(current($a));
> // outputs boll(false);
>
> that's expected as foreach moves the internal array pointer, it's
> documented.
>
On Sat, 2007-06-23 at 15:15 -0400, Nathan Nobbe wrote:
>
> in summary, COW or not; i think the documentation could be revised a bit to
> clarify these subtleties.
Regardless of additional documentation or not, I think it's rather poor
choice of programming style to mix the foreach construct with t
Please consider this code :
$v) {
}
var_dump(current($a));
// outputs boll(false);
that's expected as foreach moves the internal array pointer, it's
documented.
now consider this :
$v) {
current($a);
}
var_dump(current($a));
// outputs string("One");
When using the internal pointer just by
On 6/23/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
Regardless of additional documentation or not, I think it's rather poor
choice of programming style to mix the foreach construct with the older,
lower level, internal array manipulation and probing functions. I think
that is what should be doc
Good Day,
I'm chech if 24hrs has passed between these 2 datetimes:
$dTime1 = 2007-06-21 11:08:09;
$dTime2 = 2007-06-22 07:08:09;
I'd really like to convert the datetimes above into a format I can do
regular math them.
Browsing around I've found the following code. But both weren't clear on
On Sat, 2007-06-23 at 21:29 -0500, kvigor wrote:
> Good Day,
>
> I'm chech if 24hrs has passed between these 2 datetimes:
>
> $dTime1 = 2007-06-21 11:08:09;
>
> $dTime2 = 2007-06-22 07:08:09;
>
> I'd really like to convert the datetimes above into a format I can do
> regular math them.
$foo
Cool,
Like Ambien, It worked like a dream.
"Robert Cummings" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Sat, 2007-06-23 at 21:29 -0500, kvigor wrote:
>> Good Day,
>>
>> I'm chech if 24hrs has passed between these 2 datetimes:
>>
>> $dTime1 = 2007-06-21 11:08:09;
>>
>> $dTi
Hi. I came across your contact info at php.zend.com and was hoping you could
help me out with this question.
I recently installed Rubberwall10, a free software that protects from
hotlinking and although I managed to installed the software correctly at my
site, I came across the fact that when
Hi All,
I want to set different temp directory to every users of my
application. Is it possible. TEMP_DIR is only configurable at system
level, so I can do it only in PHP.INI or in apache as PHP_VALUE.
Any Idea how this can be achieved using combination of things?
Thanks in Advance.
Zare
26 matches
Mail list logo