[EMAIL PROTECTED] wrote:
� I am working with videos and I need to Know how I can obtain the duration
of the videos
�I had a formula that did not need any�function
of�php, but i lost de page,� please i need any help with this.
Sorry for my english, i am from Cuba.
Lester..Univ de
27 jun 2008 kl. 09.05 skrev [EMAIL PROTECTED]:
SORRY, IN THE LAST EMAIL I DONT SAY WHAT TYPE OF VIDEO I WAS WORKING,
I AM WORKING WITH VIDEO .MOV
THANKS.
I am working with videos and I need to Know how I can obtain the
duration of the videos
I had a formula that did not need any function
Dan Shirah wrote:
if ($user_name == Dan S) {
echo Quit while you're ahead;
}
exit;
As I very humorously hinted at in a earlier mail on this thread, it is a
very, very good idea to get into the habit of putting constants *first*
in if/while/etc statements.
if (Dan S = $user_name)
On Fri, 2008-06-27 at 03:05 -0400, [EMAIL PROTECTED] wrote:
SORRY, IN THE LAST EMAIL I DONT SAY WHAT TYPE OF VIDEO I WAS WORKING,
I AM WORKING WITH VIDEO .MOV
THANKS.
I am working with videos and I need to Know how I can obtain the
duration of the videos
I had a formula that did not
410
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I wonder if anyone on the list could tell me how to append the files as I am
writing in them. I have a file that has no more than five characters per line,
and I would like to keep its spacing between the lines. Right now I have the
set up so that it could write in the first line, but
Please post the code, I'm not clear on the problem.
-Original Message-
From: Wei, Alice J. [mailto:[EMAIL PROTECTED]
Sent: Friday, June 27, 2008 12:02 PM
To: php-general@lists.php.net
Subject: [PHP] fwrite() Append Files
Hi,
I wonder if anyone on the list could tell me how to append
On Thu, Jun 26, 2008 at 4:31 PM, tedd [EMAIL PROTECTED] wrote:
Hi gang:
For a break in our normal serious thinking, I suggested tombstone wit of:
Always on the edge of greatness
Dan offered:
/cruelWorld or /Dan or
?php
function dan($dateOfDeath) {
return Daniel P. Brown:
2008/6/27 Colin Guthrie [EMAIL PROTECTED]:
As I very humorously hinted at in a earlier mail on this thread, it is a
very, very good idea to get into the habit of putting constants *first* in
if/while/etc statements.
if (Dan S = $user_name)
PHP/C/C++ etc. Bombs with a syntax error.
That is
Hey Alice,
Are you sure you can do this with vanilla flavor PHP ?
Your professor could be mistaking on this particular assignment.
Maybe some kind of webservice could do the trick. ASP.net is really good
at handling file I/O.
Kind regards,
Stijn
Chris Scott wrote:
Please post the code,
Wei, Alice J. wrote:
Hi,
I wonder if anyone on the list could tell me how to append the files as I am
writing in them. I have a file that has no more than five characters per line,
and I would like to keep its spacing between the lines. Right now I have the
set up so that it could write in
2008/6/27 Brice [EMAIL PROTECTED]:
On Thu, Jun 26, 2008 at 4:31 PM, tedd [EMAIL PROTECTED] wrote:
Hi gang:
For a break in our normal serious thinking, I suggested tombstone wit of:
Always on the edge of greatness
Dan offered:
/cruelWorld or /Dan or
?php
function dan($dateOfDeath)
Robin Vickery wrote:
2008/6/27 Brice [EMAIL PROTECTED]:
A classical :
?php
echo So long and thanks for all the PHP;
die();
?
echo PHP_EOL;
If even your kids don't know your name, since you're always busy hacking
away:
Rest in peace
posix_getppid();
Johnny jr.
Susie
Hey, I think this should be working but it doesn't seem to be.
?php
/* Admin Login Page
TS Achilles Website
Created by Byron Glover */
require(config.php);
require(functions.php);
// Check for previous authentication
if (isset($_COOKIE[auth]) isset($_GET[page]))
{
Wei, Alice J. wrote:
Hi,
I wonder if anyone on the list could tell me how to append the files
as I am writing in them. I have a file that has no more than five
characters per line, and I would like to keep its spacing between
the lines. Right now I have the set up so that it could
Hey, I think this should be working but it doesn't seem to be.
$_GET[page]
$_SERVER['PHP_SELF']
What is the error message you are getting?
And, why are you using different quotes throughout all of your script?
I believe you should use single quotes for all of your server generated
At 11:01 AM +0100 6/27/08, Colin Guthrie wrote:
if ($user_name = Dan S)
Works silently and looks right at first glance.
I forced myself to write things that way round a good number of
years ago and it has served me well and caught a few potential
mishaps.
Col.
Really?
I do it this way:
Hi,
I'm using php 5.2.1 on an Ubuntu machine.
I have the following class diagram (observer pattern):
+-+ +-+ +-+
| class A |#-| class B | -| interface C |
| | +-+ | |
|
Hi,
This is my current code:
$lines = file(http://www.mysite.com/hello.txt;);
$file=http://www.mysite.com/hello.txt;;
$ourFileName = hello.txt;
$ourFileHandle = fopen($ourFileName, 'wb') or die(can't open file);
fclose($ourFileHandle);
At 9:43 AM +0200 6/27/08, Frank Arensmeier wrote:
Sometimes I feel that some members of this list tend to think that
it is funny when somebody is not able to express him-/herself to
100% when English is not the native language. I think it is wrong to
make fun of something like that. Not
[snip]
Really?
I do it this way:
if ($user_name == Dan S)
That not only looks right at first glance, but it actually works. :-)
[/snip]
This works better though;
if(Dan S == $user_name) ... if you drop one of the comparison
operators in your haste to type then an error gets thrown and you
At 8:37 AM -0400 6/27/08, Dan Shirah wrote:
Hey, I think this should be working but it doesn't seem to be.
$_GET[page]
$_SERVER['PHP_SELF']
What is the error message you are getting?
And, why are you using different quotes throughout all of your script?
I believe you should use
Wei, Alice J. wrote:
Do you mean to edit $ourFileHandle to fopen($ourFileName, 'wba')?
I think fopen($ourFileName, 'a') will do what you want.
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, Jun 27, 2008 at 7:01 AM, Wei, Alice J. [EMAIL PROTECTED] wrote:
Hi,
I wonder if anyone on the list could tell me how to append the files as I am
writing in them. I have a file that has no more than five characters per
line, and I would like to keep its spacing between the lines.
At 8:30 AM -0500 6/27/08, Jay Blanchard wrote:
[snip]
Really?
I do it this way:
if ($user_name == Dan S)
That not only looks right at first glance, but it actually works. :-)
[/snip]
This works better though;
if(Dan S == $user_name) ... if you drop one of the comparison
operators in your
I don't think you can open files for writing over http, you get an error:
failed to open stream: HTTP wrapper does not support writeable connections.
-Original Message-
From: Per Jessen [mailto:[EMAIL PROTECTED]
Sent: Friday, June 27, 2008 2:39 PM
To: php-general@lists.php.net
Subject:
[snip]
And being dyslexic, I knew the 'Dan S' should have come first, but
didn't immediately recognize it as I was rushing to point out a
double equal-sign boo-boo made by Col.
[/snip]
Had Col used the method we're speaking of here the error would have been
thrown and he would have found the
Quoting Abu Warez [EMAIL PROTECTED]:
Hi,
I'm using php 5.2.1 on an Ubuntu machine.
I have the following class diagram (observer pattern):
+-+ +-+ +-+
| class A |#-| class B | -| interface C |
| |
On Fri, Jun 27, 2008 at 6:01 AM, Colin Guthrie [EMAIL PROTECTED] wrote:
As I very humorously hinted at in a earlier mail on this thread, it is a
very, very good idea to get into the habit of putting constants *first* in
if/while/etc statements.
if (Dan S = $user_name)
PHP/C/C++ etc. Bombs
Hi list,
I'm getting a segfault when I run (what I assume) is a very simple
script. I'm not sure if it's a php bug or a bug in the library I'm
using (MDB2) with PHP 5.2.5 via the cli. Everything seems to go fine
until it's time for the script to end. That's when it receives the seg
fault.
I have
-Original Message-
From: Wei, Alice J. [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 26, 2008 7:50 AM
To: Boyd, Todd M.; php-general@lists.php.net
Subject: RE: Re: [PHP] exec() Error
Hi, Todd:
It looks like I have some other errors in my Perl code, and I got
it
fixed,
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]
Sent: Friday, June 27, 2008 8:50 AM
To: tedd; php-general@lists.php.net
Subject: RE: [PHP] Re: Inspiration for a Tombstone.
[snip]
And being dyslexic, I knew the 'Dan S' should have come first, but
didn't
-Original Message-
From: Chris Scott [mailto:[EMAIL PROTECTED]
Sent: Friday, June 27, 2008 8:48 AM
To: php-general@lists.php.net
Subject: [PHP] FW: [SPAM] RE: [PHP] fwrite() Append Files
Importance: Low
I don't think you can open files for writing over http, you get an
error:
-Original Message-
From: Chris Scott [mailto:[EMAIL PROTECTED]
Sent: Friday, June 27, 2008 8:48 AM
To: php-general@lists.php.net
Subject: [PHP] FW: [SPAM] RE: [PHP] fwrite() Append Files
Importance: Low
I don't think you can open files for writing over http, you get an
error:
On Fri, Jun 27, 2008 at 10:30 AM, Tim Rupp [EMAIL PROTECTED] wrote:
Hi list,
I'm getting a segfault when I run (what I assume) is a very simple
script. I'm not sure if it's a php bug or a bug in the library I'm
using (MDB2) with PHP 5.2.5 via the cli. Everything seems to go fine
until it's
--- On Fri, 6/27/08, Thijs Lensselink [EMAIL PROTECTED] wrote:
From: Thijs Lensselink [EMAIL PROTECTED]
Subject: Re: [PHP] unset and circular references
To: php-general@lists.php.net
Date: Friday, June 27, 2008, 5:21 PM
Quoting Abu Warez [EMAIL PROTECTED]:
Hi,
I'm using php 5.2.1
On Fri, Jun 27, 2008 at 10:14 AM, Daniel Brown [EMAIL PROTECTED] wrote:
On Fri, Jun 27, 2008 at 10:30 AM, Tim Rupp [EMAIL PROTECTED] wrote:
Hi list,
I'm getting a segfault when I run (what I assume) is a very simple
script. I'm not sure if it's a php bug or a bug in the library I'm
using
--- On Fri, 6/27/08, Thijs Lensselink [EMAIL PROTECTED] wrote:
From: Thijs Lensselink [EMAIL PROTECTED]
Subject: Re: [PHP] unset and circular references
To: php-general@lists.php.net
Date: Friday, June 27, 2008, 5:21 PM
Quoting Abu Warez [EMAIL PROTECTED]:
I think this happens because
On Fri, Jun 27, 2008 at 11:57 AM, Tim Rupp [EMAIL PROTECTED] wrote:
./configure --enable-force-cgi-redirect --enable-debug
--disable-rpath --enable-inline-optimization --with-bz2
--with-db4=/usr --with-curl --with-gd --enable-gd-native-ttf
--without-gdbm --with-gettext --with-ncurses
Wei, Alice J. wrote:
Hi,
This is my current code:
$lines = file(http://www.mysite.com/hello.txt;);
$file=http://www.mysite.com/hello.txt;;
You are referring to the file from the website point of view.
You must access it from the filesystem point of view
$file =
Jim Lucas wrote:
Wei, Alice J. wrote:
Hi,
This is my current code:
$lines = file(http://www.mysite.com/hello.txt;);
$file=http://www.mysite.com/hello.txt;;
You are referring to the file from the website point of view.
You must access it from the filesystem point of view
$file =
I need an array filled with an XML file made from the CSV example below.
bactisample row has 14 columns
bactiresult row has 11 columns
CSV is taken and run through an XML creator (we have no control over this
piece).
bactisample,20802016AA,OR4195079,DIST-A,A,STATE,OR100033,Kitchen
Boyd, Todd M. wrote:
-Original Message-
From: Chris Scott [mailto:[EMAIL PROTECTED]
Sent: Friday, June 27, 2008 8:48 AM
To: php-general@lists.php.net
Subject: [PHP] FW: [SPAM] RE: [PHP] fwrite() Append Files
Importance: Low
I don't think you can open files for writing over http, you get
On Fri, Jun 27, 2008 at 12:34 PM, John A DAVIS [EMAIL PROTECTED]
wrote:
I need an array filled with an XML file made from the CSV example below.
bactisample row has 14 columns
bactiresult row has 11 columns
CSV is taken and run through an XML creator (we have no control over this
piece).
On Fri, Jun 27, 2008 at 11:03 AM, Daniel Brown [EMAIL PROTECTED] wrote:
On Fri, Jun 27, 2008 at 11:57 AM, Tim Rupp [EMAIL PROTECTED] wrote:
./configure --enable-force-cgi-redirect --enable-debug
--disable-rpath --enable-inline-optimization --with-bz2
--with-db4=/usr --with-curl --with-gd
Abu Warez wrote:
--- On Fri, 6/27/08, Thijs Lensselink [EMAIL PROTECTED] wrote:
From: Thijs Lensselink [EMAIL PROTECTED]
Subject: Re: [PHP] unset and circular references
To: php-general@lists.php.net
Date: Friday, June 27, 2008, 5:21 PM
Quoting Abu Warez [EMAIL PROTECTED]:
I
On Fri, Jun 27, 2008 at 1:00 PM, Tim Rupp [EMAIL PROTECTED] wrote:
--enable-soap --enable-sigchild --enable-pcntl
Drop out '--enable-sigchild', too, unless you're using Oracle.
--
/Daniel P. Brown
Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just
$59.99/mo. with no
At 9:52 AM -0500 6/27/08, Boyd, Todd M. wrote:
I think you guys are missing something: he wrote it with single equals
signs on purpose. He was demonstrating how the one with the constant to
the right of the assignment operator is a valid statement... and that
putting the constant first will aid
if (isset($_COOKIE[auth]) !isset($_GET[page]))
{
include($GLOBALS['admin_index']);
die();
}
Your script is awfully insecure. $_COOKIE is user supplied, so in if I
hand craft a request, I could just send an auth cookie which is set to
1. Relying on people not knowing is not
Am 2008-06-24 15:10:49, schrieb Per Jessen:
Dotan Cohen wrote:
What is the English/French name of the French non-Frenchmen reserve
army? They are very well respected.
The French Foreign Legion?? I wouldn't call that a reserve army.
:-)
We are always the first ones... Worldwide!
We can
Hi Tedd,
Am 2008-06-23 12:29:17, schrieb tedd:
Interesting concept.
In other words, have a domain/subscription where people can register
and then record all the places where they would like notified in case
of their death. It could hold a bunch of different things that you
would want
Am 2008-06-23 21:17:13, schrieb Dotan Cohen:
2008/6/22 Michelle Konzack [EMAIL PROTECTED]:
I know at least on Jew, which was 1 1/2 years in the french
army for his service national and then 5 years in Israel.
That was very likely not compulsory service. Especially if he served years.
Hi Nitsan,
Am 2008-06-22 22:09:38, schrieb Nitsan Bin-Nun:
Oops
:-)
-- Forwarded message --
From: Nitsan Bin-Nun [EMAIL PROTECTED]
Date: 21 Jun 2008 19:23
Subject: Re: [PHP] How to make a Auto View and a Download Link for PDF?
To: Michelle Konzack [EMAIL PROTECTED]
I am
On Fri, Jun 27, 2008 at 1:36 PM, Richard Heyes [EMAIL PROTECTED] wrote:
if (isset($_COOKIE[auth]) !isset($_GET[page]))
{
include($GLOBALS['admin_index']);
die();
}
Your script is awfully insecure. $_COOKIE is user supplied, so in if I hand
craft a request, I could just send an
Hi,
Right now I enforced the file to read in through HTTP-Request and output it
to a local file.
Looks like this functioned perfectly after I used append functions after I
attempted to write to the file!
Thanks to everyone who contributed to this.
Alice
On Fri, 2008-06-27 at 09:52 -0500, Boyd, Todd M. wrote:
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]
Sent: Friday, June 27, 2008 8:50 AM
To: tedd; php-general@lists.php.net
Subject: RE: [PHP] Re: Inspiration for a Tombstone.
[snip]
And being dyslexic, I
Wei, Alice J. wrote:
Hi,
Right now I enforced the file to read in through HTTP-Request and output it
to a local file.
Looks like this functioned perfectly after I used append functions after I
attempted to write to the file!
Thanks to everyone who contributed to this.
Alice
Are you
From: Wolf [EMAIL PROTECTED]
Sent: Friday, June 27, 2008 2:18 PM
To: Wei, Alice J.
Cc: php-general@lists.php.net
Subject: Re: [PHP] fwrite() Append Files
Wei, Alice J. wrote:
Hi,
Right now I enforced the file to read in through HTTP-Request and output
Hopefully this will be clear.
I've got a unix command-line app which I will be exec'ing (or some
other similar command) from a php script.
The special property of this unix app is that while it executes and
terminates quickly, only a single instance can be running at any one
time.
On Fri, Jun 27, 2008 at 3:12 PM, Eric Gorr [EMAIL PROTECTED] wrote:
Now, one possible solution to this problem is that the php script adds it's
request to run the unix app to a queue and their is some other code which
pulls a request off the queue, performs the operation and returns the data
On Jun 27, 2008, at 3:18 PM, Daniel Brown wrote:
On Fri, Jun 27, 2008 at 3:12 PM, Eric Gorr [EMAIL PROTECTED]
wrote:
Now, one possible solution to this problem is that the php script
adds it's
request to run the unix app to a queue and their is some other code
which
pulls a request off
Great.
Cheers,
Nitsan
On 25/06/2008, Michelle Konzack [EMAIL PROTECTED] wrote:
Hi Nitsan,
Am 2008-06-22 22:09:38, schrieb Nitsan Bin-Nun:
Oops
:-)
-- Forwarded message --
From: Nitsan Bin-Nun [EMAIL PROTECTED]
Date: 21 Jun 2008 19:23
Subject: Re: [PHP] How to
2008/6/25 Michelle Konzack [EMAIL PROTECTED]:
Am 2008-06-23 21:17:13, schrieb Dotan Cohen:
2008/6/22 Michelle Konzack [EMAIL PROTECTED]:
I know at least on Jew, which was 1 1/2 years in the french
army for his service national and then 5 years in Israel.
That was very likely not
Looking through the PHP 5 docs regarding the information returned by
localconv(), I am not sure what the 'grouping' and 'mon_grouping' elements
refer to.
Can someone explain to me why in the example shown ('[EMAIL PROTECTED]'), the
grouping array is empty and the mon_grouping array has two
64 matches
Mail list logo