Hi all,
We all know that PHP IDE is one of the most popular themes...
Maybe you are already a PHP professional, then could you
please spend a little time to cast your vote to tell the newbies what
you are using?
Maybe you are just starting using PHP, then it's highly recommended
that you look
at
Mick wrote:
Operating System: CentOS 4.6
PHP Version: 4.3.9-3.22.9
Zend Optimizer (free) version: 3.2.6
Hello.
I've got somewhat of a strange problem here involving Squirrelmail.
Basically, what is happening is that one of our customers is logged out
of his Squirrelmail session at random int
Ravi Menon wrote:
Hi,
We have two versions of client code, one using curl, and other one
using raw sockets via fsockopen(), and
we use the following code to set the i/o timeouts:
1) curl:
.
.
curl_setopt( $handle, CURLOPT_TIMEOUT, 1 );
From the manual
CURLOPT_TIMEOUT
The maximum number of se
Hi,
We have two versions of client code, one using curl, and other one
using raw sockets via fsockopen(), and
we use the following code to set the i/o timeouts:
1) curl:
.
.
curl_setopt( $handle, CURLOPT_TIMEOUT, 1 );
.
.
$resp = curl_exec($handle)
2) sockets:
stream_set_timeout( $sock, 1);
Michael Fischer wrote:
On Mon, 2008-01-28 at 15:34 -0500, Mr Webber wrote:
On Mon, 2008-01-28 at 12:17 -0600, Richard Lynch wrote:
On Sat, January 26, 2008 5:57 pm, Michael Fischer wrote:
hi there,
is there a way to determine the tmp-filename of a file upload while
the upload is still in prog
The name of the upload tmp file MUST be known. If the $_FILES[] is not
available until the upload completes; perhaps a kludge is to set a unique
upload_tmp_dir, for the session, that will only contain the upload for this
user in this session. There will only be one file to monitor with
filesize()
Richard Lynch wrote:
> On Sat, January 26, 2008 3:32 am, Per Jessen wrote:
>> In a threaded environment you often have e.g. semaphores and mutexes
>> to coordinate access to shared data. When you've forked a process,
>> you share data over IPC or similar. When you create a new thread, it
>> has a
On Mon, 2008-01-28 at 15:34 -0500, Mr Webber wrote:
> On Mon, 2008-01-28 at 12:17 -0600, Richard Lynch wrote:
> > On Sat, January 26, 2008 5:57 pm, Michael Fischer wrote:
> > > hi there,
> > >
> > > is there a way to determine the tmp-filename of a file upload while
> > > the upload is still in pr
Richard Lynch wrote:
> On Sat, January 26, 2008 3:22 am, Per Jessen wrote:
>> Yeah, but that's just like running off-line reports and having them
>> sent by email. It kind of ruins the idea of having the information
>> available on-line in real-time.
>
> All depends how you define "real" :-)
>
This is the info available to upload scripts
I have not done this, but am inspired to do it now. My design is to develop
my own meter by compare $FILES;'size'] to the actual size on disk as the
file uploads; I would use some sort of JavaScript / Ajax service connection
so that the upload meter i
On Mon, 2008-01-28 at 15:26 -0500, Nathan Nobbe wrote:
> On Jan 28, 2008 2:50 PM, Michael Fischer <[EMAIL PROTECTED]>
> wrote:
> well, i agree with you - the browser should provide some sort
> of
> functionality to find out the amount of data already sent. but
> i d
On Jan 28, 2008 2:50 PM, Michael Fischer <[EMAIL PROTECTED]> wrote:
> well, i agree with you - the browser should provide some sort of
> functionality to find out the amount of data already sent. but i don't
> know any browser that does.
>
> all the php upload meters that i found on google either
On Mon, 2008-01-28 at 12:17 -0600, Richard Lynch wrote:
>
> On Sat, January 26, 2008 5:57 pm, Michael Fischer wrote:
> > hi there,
> >
> > is there a way to determine the tmp-filename of a file upload while
> > the upload is still in progress?
> >
> > the tmp-file is stored in /tmp and it's name i
On Mon, 2008-01-28 at 12:29 -0600, Richard Lynch wrote:
> >>Back on the mysql side of things, try using geometry columns rather
> >>than numerical primary keys, with spatial indexes.. it's a MASSIVE
> >>performance upgrade (I've cut 5 second queries down to 0.005 by using
> >>geo columns)
> >
> >
On Sat, January 26, 2008 3:32 am, Per Jessen wrote:
> Richard Lynch wrote:
>
>> Process forking has EVERYTHING to do with thread safety.
>> Whatever is going to go wrong in a threaded environment is going to
>> also go wrong when you fork the process, almost for sure.
>
> Forking a process and crea
Richard Lynch wrote:
> On Sat, January 26, 2008 3:45 am, Per Jessen wrote:
>> Nathan Rixham wrote:
>>
>>>Back on the mysql side of things, try using geometry columns rather
>>>than numerical primary keys, with spatial indexes.. it's a MASSIVE
>>>performance upgrade (I've cut 5 second queries down
On Sat, January 26, 2008 3:22 am, Per Jessen wrote:
> Yeah, but that's just like running off-line reports and having them
> sent
> by email. It kind of ruins the idea of having the information
> available on-line in real-time.
All depends how you define "real" :-)
A lot of times, in a web app, t
Whoops :-x
The odd thing is, the characters came out fine during the tests,
and because some changes were made to the script during the week, some
people will show up two or more times (read: people with non-English
characters in their names). I've been pretty sick all week, so I
hav
Richard Lynch wrote:
> When you create a cursor, it's like a handle to a running query in the
> background process, and returns immediately.
> Create three cursors, and you SHOULD have them running in parallel.
Ah, I see. Hmm, interesting idea. Although it won't be much good as
I'm not actually
On Sat, January 26, 2008 3:45 am, Per Jessen wrote:
> Nathan Rixham wrote:
>
>> I posted you a short script on this thread at 04:07 GMT today
>> that'll
>> get you multithreading (via cli) - but even then you can shell exec
>> that cli script from apache..
>
> Yeah, I noticed, thanks. The thing
On Sat, January 26, 2008 3:17 am, Per Jessen wrote:
> Richard Lynch wrote:
>
>> On Fri, January 25, 2008 3:35 am, Per Jessen wrote:
>>> I have a website where some of the pages require several mysql
>>> queries -
>>> they're independent, so in principle they could easily be run in
>>> parallel. Ha
On Sat, January 26, 2008 2:43 am, Nathan Rixham wrote:
> way offf topic-ish here..
>
> class destructors, surely they differ from the
> register_shutdown_function in execution style? seeing as one can echo
> /
> do a bit of jiggery pokery before the buffers close.
>
> what exactly is the differ
On Sat, January 26, 2008 5:57 pm, Michael Fischer wrote:
> hi there,
>
> is there a way to determine the tmp-filename of a file upload while
> the upload is still in progress?
>
> the tmp-file is stored in /tmp and it's name is something like
> PHP.
>
> what i would like to do is:
> i wan
Perhaps you don't have iconv and/or iconv-devel installed on the
second box?
On Sun, January 27, 2008 2:54 am, Umar wrote:
>
> Dear Members!
>
> I have installed php-5.2.5 on slackware 12.0 with these option
> successfully
>
> ./configure --prefix=/usr/local/php
> --with-apxs=/usr/local/apache/bin
On Sun, January 27, 2008 7:57 am, Mick wrote:
> Operating System: CentOS 4.6
> PHP Version: 4.3.9-3.22.9
> Zend Optimizer (free) version: 3.2.6
>
> Hello.
>
> I've got somewhat of a strange problem here involving Squirrelmail.
> Basically, what is happening is that one of our customers is logged
>
On Sun, January 27, 2008 12:27 pm, jekillen wrote:
> Hello:
> I have a form that has a textarea and I do not want to
> disallow the use of single quote as apostrophe, or
> for any other normal stylization. So I am using html
> entities to change these characters into html entities.
> But the functi
On Sun, January 27, 2008 6:38 pm, Chuck wrote:
> I have a php file that produces an image and is only referred to from
> an img tag like so:
>
>
>
> I want to prevent anyone from directly accessing the getRandImage.php
> file. The file has to be world readable or the image will not display.
> I pl
On Mon, January 28, 2008 10:37 am, Mike Yrabedra wrote:
> I have a problem that maybe someone can shed some light on.
>
> I have a page, lets say it is located here...
>
> www.domain1.com
>
> On this page is a iframe with a src like so...
>
> www.domain2.com/mypage.php
>
> This php page has a ses
T'he behavior I'm experiencing from
using this option (CURLOPT_CONNECTTIMEOUT_MS, also) is strange. Here is a code
snippet:
--
$c = curl_init("www.google.com");
curl_setopt($c, CURLOPT_RETURNTRANSFER, true);
curl_setopt($c, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($c, CURLOP
Jay Blanchard schreef:
[snip]
where is the stats for last week? the experiment is over or what? ;)
[/snip]
There are no stats for last week because I participated.
any way you cut it Richard wins ;-)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.n
On Mon, 2008-01-28 at 11:49 -0500, Nathan Nobbe wrote:
> ive always thought about trying moodle for this purpose.
Not to rag Moodle or anything, but trying to customize that thing is a
nightmare. Besides, if you are willing to try out Chisimba, you can
always ask me :)
There is a test install at
[snip]
where is the stats for last week? the experiment is over or what? ;)
[/snip]
There are no stats for last week because I participated.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, 2008-01-28 at 08:35 -0800, Jim Lucas wrote:
> Well, since this quiz app doesn't work. Does anybody have suggestions
> on a good tool to use for in-house/office training? Sort of like an
> employee initial training or evaluation quiz application. Guess it
> doesn't have to be just for
On Mon, 2008-01-28 at 16:43 +0100, Zoltán Németh wrote:
> where is the stats for last week? the experiment is over or what? ;)
>
Jochem already did it for this week, so I think Dan is taking the week
off.
--Paul
All Email originating from UWC is covered by disclaimer
http://www.uwc.ac.za/port
On Jan 28, 2008 11:35 AM, Jim Lucas <[EMAIL PROTECTED]> wrote:
> Well, since this quiz app doesn't work. Does anybody have suggestions
> on a good tool to use for in-house/office training? Sort of like an
> employee initial training or evaluation quiz application. Guess it
> doesn't have to be
I have a problem that maybe someone can shed some light on.
I have a page, lets say it is located here...
www.domain1.com
On this page is a iframe with a src like so...
www.domain2.com/mypage.php
This php page has a session _start call in it.
The problem is, the session cookie is not set wh
Don Don wrote:
http://nuedream.com/nuequizpro/
I cant get the above product to work in php5. The product works in php4 but
has problems with a $this variable in the database class with php5. Has anyone
used the above product in php5 and found a way arround it ?
Cheers
Don
--
On Jan 28, 2008, at 11:26 AM, Jochem Maas wrote:
Zoltán Németh schreef:
hey Dan,
where is the stats for last week? the experiment is over or what? ;)
ha, so I'm not the only one wanting to know how close to the truth
my predictions
for this weeks stat are ;-)
Oh, I'm interested... :) J
Zoltán Németh schreef:
hey Dan,
where is the stats for last week? the experiment is over or what? ;)
ha, so I'm not the only one wanting to know how close to the truth my
predictions
for this weeks stat are ;-)
greets
Zoltán Németh
--
PHP General Mailing List (http://www.php.net/)
To un
Teck wrote:
Hi,
I'm trying to find a way to get part of a string where the part is
matched with regular expressions.
So, for example, if I have a string:
a2b3cd5ef6ghi7232jklmn
I need to grab "12b3cd5" using regular expressions and store the part in
a variable.
how do you decide what th
Nathan Nobbe wrote:
On Jan 27, 2008 10:01 PM, little btx <[EMAIL PROTECTED]> wrote:
public function init()
try{
$this->subject = new subject($subject_id);
}catch (Zend_Exception $e)
{
$this->_forward('index','error',null,array('error'=>$e->getMessage());
You are m
Chuck wrote:
I have a php file that produces an image and is only referred to from
an img tag like so:
I want to prevent anyone from directly accessing the getRandImage.php
file. The file has to be world readable or the image will not display.
I played around with testing $_SERVER['HTTP_REFERE
hey Dan,
where is the stats for last week? the experiment is over or what? ;)
greets
Zoltán Németh
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Teck wrote:
> I'm trying to find a way to get part of a string where the part is
> matched with regular expressions.
>
> So, for example, if I have a string:
>
> a2b3cd5ef6ghi7232jklmn
>
> I need to grab "12b3cd5" using regular expressions and store the part
> in a variable.
Assuming you meant
thanks to everyone for there info/feedback/help/etc - I have
a somewhat better understanding of this pack/unpack/binary stuff now :-)
Jochem Maas schreef:
someone asked about checksum values in another thread, I believe
he got his answer no thanks to me. but whilst I was trying to help
I got stu
Nathan Nobbe schreef:
all,
previously, on this list and elsewhere, i have raised the topic of
interface inheritance, lamenting that php is void of the feature.
to my utter amazement i discovered that php does in fact support
interface inheritance, reading through some of Marcus Boergers'
code in
http://nuedream.com/nuequizpro/
I cant get the above product to work in php5. The product works in php4 but
has problems with a $this variable in the database class with php5. Has anyone
used the above product in php5 and found a way arround it ?
Cheers
Don
---
Teck wrote:
Hi,
I'm trying to find a way to get part of a string where the part is
matched with regular expressions.
So, for example, if I have a string:
a2b3cd5ef6ghi7232jklmn
I need to grab "12b3cd5" using regular expressions and store the part in
a variable.
$var = do_something("",""
Teck schreef:
Hi,
I'm trying to find a way to get part of a string where the part is
matched with regular expressions.
So, for example, if I have a string:
a2b3cd5ef6ghi7232jklmn
I need to grab "12b3cd5" using regular expressions and store the part in
a variable.
what are the rules for
49 matches
Mail list logo