Re: [PHP] de lester

2008-06-26 Thread Jim Lucas
[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 Cienfuegos

Re: [PHP] de lester

2008-06-26 Thread Jim Lucas
[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 Cienfuegos

[PHP] de lester

2008-06-26 Thread inf200528
� 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 Cienfuegos..Informatica 3 A�o (*_*)

Re: [PHP] lester

2008-06-26 Thread tedd
At 5:37 PM -0400 6/26/08, [EMAIL PROTECTED] wrote: I need to know the duration of a movie, I accept all kinds of suggestions Okay, it depends on how long the movie is. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (

Re: [PHP] lester

2008-06-26 Thread Dan Joseph
On Thu, Jun 26, 2008 at 5:37 PM, <[EMAIL PROTECTED]> wrote: > > > > I need to know the duration of a movie, > I found a formula that did not use any role php but I > lost. > I accept all kinds of suggestions > > > Lester..Univ de Cienfuegos..Informatica 3 Año > (*_*)>>>"Todos somos muy ignorantes.

Re: [PHP] prepared statement

2008-06-26 Thread Chris
ctx2002 wrote: > thanks for answering my question. > > I have checked PHP PDO doc. > PDO:: query() can send a query to server. > my question is, does PDO:: query() generates prepared statement > automatically? > or I have to explicitly call PDO:: prepare() to use prepared statement? You have to

Re: [PHP] lester

2008-06-26 Thread Daniel Brown
On Thu, Jun 26, 2008 at 5:37 PM, <[EMAIL PROTECTED]> wrote: > > > > I need to know the duration of a movie, > I found a formula that did not use any role php but I > lost. > I accept all kinds of suggestions Yes. -- Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just $59

[PHP] lester

2008-06-26 Thread inf200528
I need to know the duration of a movie, I found a formula that did not use any role php but I lost.� I accept all kinds of suggestions Lester..Univ de Cienfuegos..Informatica 3 A�o (*_*)>>>"Todos somos muy ignorantes. Lo que ocurre es que no todos ignoramos las mismas cosas"<<<(*_*) ---

Re: [PHP] prepared statement

2008-06-26 Thread ctx2002
thanks for answering my question. I have checked PHP PDO doc. PDO:: query() can send a query to server. my question is, does PDO:: query() generates prepared statement automatically? or I have to explicitly call PDO:: prepare() to use prepared statement? for example: PDO:: query("select name f

Re: [PHP] Inspiration for a Tombstone.

2008-06-26 Thread Daniel Brown
On Thu, Jun 26, 2008 at 3:12 PM, Jason Murray <[EMAIL PROTECTED]> wrote: > Body not found? Who do you think I am? Jesus? Oh, Jason Christ -- Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just $59.99/mo. with no contract! Dedicated servers, VPS, and hosting from $2.50

Re: [PHP] Inspiration for a Tombstone.

2008-06-26 Thread Jason Murray
Body not found? Who do you think I am? Jesus? On Thu, Jun 26, 2008 at 3:01 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: > On Thu, 2008-06-26 at 14:54 -0400, Jason Murray wrote: >> I'm thinking: >> >> > header("HTTP/1.1 410 Gone"); >> die(); >> ?> > > What about a 404? >:) > > >header( 'HTT

Re: [PHP] Inspiration for a Tombstone.

2008-06-26 Thread Robert Cummings
On Thu, 2008-06-26 at 14:54 -0400, Jason Murray wrote: > I'm thinking: > > header("HTTP/1.1 410 Gone"); > die(); > ?> What about a 404? >:) Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHP -- PHP General Mailing List (http://www.php.net/) To unsubscrib

Re: [PHP] Inspiration for a Tombstone.

2008-06-26 Thread Jason Murray
I'm thinking: Regards, Jason On Thu, Jun 26, 2008 at 1:54 PM, David Giragosian <[EMAIL PROTECTED]> wrote: > > My favorite vi command: > > e! Damn it. e! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: [PHP] exec() Error

2008-06-26 Thread Jason Murray
Alice, If you are already set 755 on the CGI, it looks like it might be a webserver configuration issue. If you are using Apache (I'm assuming you are) you might want to take a look at http://httpd.apache.org/docs/2.0/howto/cgi.html#configuringapachetopermitcgi for some hints on how to make sur

Re: [PHP] Inspiration for a Tombstone.

2008-06-26 Thread Dotan Cohen
2008/6/26 Robert Cummings <[EMAIL PROTECTED]>: > * What's wrong with a simple Heptadecagon? > > It'll look like a circle on your tombstone... why not use a star > instead? :B > I wasn't sure that anyone else would be familiar with the idea. Nice! Dotan Cohen http://what-is-what.com http://

Re: [PHP] Inspiration for a Tombstone.

2008-06-26 Thread David Giragosian
My favorite vi command: e! Damn it. e!

RE: [PHP] Inspiration for a Tombstone.

2008-06-26 Thread Robert Cummings
On Thu, 2008-06-26 at 11:33 -0500, Boyd, Todd M. wrote: > > -Original Message- > > From: tedd [mailto:[EMAIL PROTECTED] > > Sent: Thursday, June 26, 2008 10:45 AM > > To: php php > > Subject: Re: [PHP] Inspiration for a Tombstone. > > > > Or > > > > unlink('tedd'); > > I think that would

Re: [PHP] Inspiration for a Tombstone.

2008-06-26 Thread Robert Cummings
On Thu, 2008-06-26 at 20:06 +0300, Dotan Cohen wrote: > 2008/6/26 tedd <[EMAIL PROTECTED]>: > > Hi gang: > > > > For a break in our normal serious thinking, I suggested tombstone wit of: > > > > "Always on the edge of greatness" > > > > Dan offered: > > > > or or > > > > >function dan($dateO

Re: [PHP] Inspiration for a Tombstone.

2008-06-26 Thread Dotan Cohen
2008/6/26 tedd <[EMAIL PROTECTED]>: > Hi gang: > > For a break in our normal serious thinking, I suggested tombstone wit of: > > "Always on the edge of greatness" > > Dan offered: > > or or > > function dan($dateOfDeath) { >return "Daniel P. Brown: 01-01-1970 - ".$dateOfDeath"; >}

Re: [PHP] Inspiration for a Tombstone.

2008-06-26 Thread Robert Cummings
On Thu, 2008-06-26 at 11:01 -0400, Christoph Boget wrote: > > "Always on the edge of greatness" > > "Tripped on his way to the edge of greatness" "I'm leaching into the water supply." Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHP -- PHP General Mailing

RE: [PHP] Inspiration for a Tombstone.

2008-06-26 Thread Boyd, Todd M.
> -Original Message- > From: tedd [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 26, 2008 10:45 AM > To: php php > Subject: Re: [PHP] Inspiration for a Tombstone. > > Or > > unlink('tedd'); I think that would've already been done, eh? ;) Todd Boyd Web Programmer -- PHP General Maili

Re: [PHP] Inspiration for a Tombstone.

2008-06-26 Thread Thiago H. Pojda
trigger_error('B-bye'); On Thu, Jun 26, 2008 at 12:45 PM, tedd <[EMAIL PROTECTED]> wrote: > > Or > > unlink('tedd'); > > > Cheers, > > tedd > > -- > --- > http://sperling.com http://ancientstones.com http://earthstones.com > > -- > PHP General Mailing List (http://www.php.net/) > To unsubsc

Re: [PHP] Inspiration for a Tombstone.

2008-06-26 Thread tedd
Or unlink('tedd'); 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

Re: [PHP] Inspiration for a Tombstone.

2008-06-26 Thread Bastien Koert
On Thu, Jun 26, 2008 at 10:51 AM, Eric Butera <[EMAIL PROTECTED]> wrote: > [snip] > > echo "Fatal error: Maximum execution time of {$duration} seconds exceeded"; > [/snip] > That's awesome how about -- Bastien Cat, the other other white meat

RE: [PHP] Inspiration for a Tombstone.

2008-06-26 Thread tedd
At 9:49 AM -0500 6/26/08, Boyd, Todd M. wrote: I want something like "Download complete" I would prefer "Upload complete". :-) Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visi

Re: [PHP] Inspiration for a Tombstone.

2008-06-26 Thread Dan Shirah
if ($user_name == "Dan S") { echo "Quit while you're ahead"; } exit;

Re: [PHP] Inspiration for a Tombstone.

2008-06-26 Thread Daniel Brown
On Thu, Jun 26, 2008 at 11:29 AM, Christoph Boget <[EMAIL PROTECTED]> wrote: >> if ($user_name = "Dan Brown") { >> echo "GOING DOWN?!"; >> } else { >> echo "Welcome to Heaven"; >> } > > So I guess that means we're all on the express elevator down. Looks > like it'll get awfully full... :p Y

Re: [PHP] Inspiration for a Tombstone.

2008-06-26 Thread Christoph Boget
> if ($user_name = "Dan Brown") { > echo "GOING DOWN?!"; > } else { > echo "Welcome to Heaven"; > } So I guess that means we're all on the express elevator down. Looks like it'll get awfully full... :p thnx, Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:

[PHP] Re: iconv() problem

2008-06-26 Thread Stefano Noffke
Nevermind... I made a mistake. I was actually parsing the string two times; therefore, the source string was not encoded as ISO-8859 anymore the second time. It is working fine now... Stefano Stefano Noffke ha scritto: Greetings, I have a problem with iconv(), and I need help solving it.

Re: [PHP] Inspiration for a Tombstone.

2008-06-26 Thread Dan Shirah
if ($user_name = "Dan Brown") { echo "GOING DOWN?!"; } else { echo "Welcome to Heaven"; } On 6/26/08, Daniel Brown <[EMAIL PROTECTED]> wrote: > > 2008/6/26 Dan Shirah <[EMAIL PROTECTED]>: > > > include 'connection.php'; > > $inquire = "SELECT COUNT(*) FROM heartbeat WHERE user_name = 'Dan'"

Re: [PHP] Inspiration for a Tombstone.

2008-06-26 Thread Daniel Brown
2008/6/26 Dan Shirah <[EMAIL PROTECTED]>: > include 'connection.php'; > $inquire = "SELECT COUNT(*) FROM heartbeat WHERE user_name = 'Dan'"; > $count = ifx_query ($inquire, $connect_id); > $rowcount = ifx_fetch_row($count); > $pulse = $rowcount['total']; > > if ($heartbeat > 0) { > echo "_/\^___/

RE: [PHP] Inspiration for a Tombstone.

2008-06-26 Thread Edward Kay
> > What would you like on your Tombstone? (<-- that's actually a > trademarked saying) > I've always liked Spike Milligan's: "I told you I was ill" :) http://news.bbc.co.uk/1/hi/england/southern_counties/3742443.stm Edward -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Inspiration for a Tombstone.

2008-06-26 Thread Dan Shirah
0) { echo "_/\^___/\^/\^___"; } else { echo ""; } ?>

[PHP] Re: [PHP-DB] php upload questions --move_uploaded_file

2008-06-26 Thread Daniel Brown
Hai, I'm forwarding this email over to the PHP-General list, since it's not database-related. If you're not already subscribed there, please subscribe and I'm sure you'll get some responses. ORIGINAL MESSAGE FOLLOWS: On Thu, Jun 26, 2008 at 6:21 AM, Liu, Hai Tao (Taylor) <[EMAIL PROT

Re: [PHP] Inspiration for a Tombstone.

2008-06-26 Thread Christoph Boget
> "Always on the edge of greatness" "Tripped on his way to the edge of greatness" thnx, Christoph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] iconv() problem

2008-06-26 Thread Stefano Noffke
Greetings, I have a problem with iconv(), and I need help solving it. Here is the background: I have a Web page with a Form that saves data to a MySQL database. I need to retrieve the data from the database and create a PDF document with FPDF. The Web Page, the database, and the browser are

RE: [PHP] Inspiration for a Tombstone.

2008-06-26 Thread Jay Blanchard
[snip] [/snip] No tombstone required. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Inspiration for a Tombstone.

2008-06-26 Thread Eric Butera
On Thu, Jun 26, 2008 at 10:31 AM, 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: > > or or > > function dan($dateOfDeath) { >return "Daniel P. Brown: 01-01-

Re: [PHP] Inspiration for a Tombstone.

2008-06-26 Thread Daniel Brown
On Thu, Jun 26, 2008 at 10:37 AM, Dan Shirah <[EMAIL PROTECTED]> wrote: > if ($you_can_read_this = "Yes") { > echo "STOP STANDING ON ME!"; > } > ?> That will always evaluate to TRUE because you're setting the variable in your if() condition. -- Dedicated Servers - Intel 2.4GHz w/2TB bandw

RE: [PHP] Inspiration for a Tombstone.

2008-06-26 Thread Boyd, Todd M.
> -Original Message- > From: tedd [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 26, 2008 9:31 AM > To: php php > Subject: [PHP] Inspiration for a Tombstone. > > Hi gang: > > For a break in our normal serious thinking, I suggested tombstone wit > of: > > "Always on the edge of greatnes

Re: [PHP] Inspiration for a Tombstone.

2008-06-26 Thread Aschwin Wesselius
tedd wrote: Hi gang: For a break in our normal serious thinking, I suggested tombstone wit of: "Always on the edge of greatness" Dan offered: or or What would you like on your Tombstone? (<-- that's actually a trademarked saying) Hi, There are plenty of things that cross my mind abou

[PHP] Re: Inspiration for a Tombstone.

2008-06-26 Thread Colin Guthrie
Dan Shirah wrote: I would put: "He put his constants first in if() statements until the end of his days". Or "He always preferred syntax errors to annoying logical bugs.". :p Col. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Inspiration for a Tombstone.

2008-06-26 Thread Dan Shirah
On 6/26/08, 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: > > or or > > function dan($dateOfDeath) { >return "Daniel P. Brown: 01-01-1970 - ".$dateOfD

Re: [PHP] a download limitation script that defies logic!

2008-06-26 Thread szalinski
Daniel Brown-5 wrote: > > On Thu, Jun 26, 2008 at 8:38 AM, szalinski <[EMAIL PROTECTED]> > wrote: >> >> I thought I'd take the time to make a download limitation script, but >> even >> though the idea of this script is 'simple', it 'simply' refuses to work >> entirely properly. > [snip!] > > >

Re: [PHP] Inspiration for a Tombstone.

2008-06-26 Thread Daniel Brown
On Thu, Jun 26, 2008 at 10:31 AM, tedd <[EMAIL PROTECTED]> wrote: > > What would you like on your Tombstone? (<-- that's actually a trademarked > saying) "What do you want on your Tombstone?" "Pepperoni and sausage!" -- Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at j

[PHP] Inspiration for a Tombstone.

2008-06-26 Thread tedd
Hi gang: For a break in our normal serious thinking, I suggested tombstone wit of: "Always on the edge of greatness" Dan offered: or or What would you like on your Tombstone? (<-- that's actually a trademarked saying) Cheers, tedd -- --- http://sperling.com http://ancientstones.c

Re: [PHP] ImageTTFText leaves Black in letters

2008-06-26 Thread tedd
At 5:27 PM -0400 6/24/08, Stephen Pynenburg wrote: Hi all, I'm using imagettftext, and my script works perfectly, except that on these TTF fonts that I'm using, in any letter with a hole in the middle (letters like a, R, O) the hole is coloured black, not transparent. Is this a PHP thing, or do I

Re: [PHP] a download limitation script that defies logic!

2008-06-26 Thread Daniel Brown
On Thu, Jun 26, 2008 at 8:38 AM, szalinski <[EMAIL PROTECTED]> wrote: > > I thought I'd take the time to make a download limitation script, but even > though the idea of this script is 'simple', it 'simply' refuses to work > entirely properly. [snip!] You do realize that the code in this bloc

Re: [PHP] Monitor a WP website

2008-06-26 Thread Daniel Brown
On Thu, Jun 26, 2008 at 9:27 AM, tedd <[EMAIL PROTECTED]> wrote: > > You see, I'm assembling a list of my wit for posterity and hope to pick one > out for my tombstone. Whereas mine will say something like or or something of the like. Perhaps even: With the actual dates in place,

RE: RE: Re: [PHP] exec() Error

2008-06-26 Thread Per Jessen
Boyd, Todd M. wrote: >> >PHP or other programming languages? For example, C, Python, or Perl. >> >> And that works just fine using exec(). > > Well... if she was trying to execute *LOCAL* PHP code from within a > PHP script that was already running (which she was not), why would you > suggest th

RE: RE: Re: [PHP] exec() Error

2008-06-26 Thread Boyd, Todd M.
> -Original Message- > From: Per Jessen [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 26, 2008 1:11 AM > To: php-general@lists.php.net > Subject: RE: Re: [PHP] exec() Error > > Boyd, Todd M. wrote: > > >> > >> Well, "http://www.mysite.com/calculate.php"; is not an executable. > >> Try

RE: [PHP] Monitor a WP website

2008-06-26 Thread tedd
At 4:28 PM -0500 6/24/08, Boyd, Todd M. wrote: > -Original Message- From: tedd [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2008 4:22 PM To: php php Subject: Re: [PHP] Monitor a WP website ---8<--- big snip It's not rocket science -- but occasionally my solutions leave cr

RE: Re: [PHP] exec() Error

2008-06-26 Thread Wei, Alice J.
Hi, Todd: It looks like I have some other errors in my Perl code, and I got it fixed, switched the permission to 755, and made attempts to call it using cURL through my working PHP script. Here is the code: // create a new cURL resource $ch = curl_init(); // set URL and other appropriat

[PHP] a download limitation script that defies logic!

2008-06-26 Thread szalinski
I thought I'd take the time to make a download limitation script, but even though the idea of this script is 'simple', it 'simply' refuses to work entirely properly. Basically I setup a real quick timelimit, $time_limit should mean 'within the last 20 seconds'. What I am looking for is the follow

Re: [PHP] escape character in query string

2008-06-26 Thread Thiago Melo de Paula
Hello Joaquin, use the urlencode function to "escape" the special characters. After, use urldecode to get the string back to normal. Regards, Thiago Melo de Paula On Sun, Jun 22, 2008 at 11:34 PM, joaquinbordado <[EMAIL PROTECTED]> wrote: > > would someone happen to know the escape character f

Re: [PHP] PHP4 vs PHP5 Memcache compatibility issue

2008-06-26 Thread Richard Heyes
Bob Fisher wrote: I am running a hybrid environment. Box A: PHP 4.3.9 Box B: PHP 5.1.6 Box C: Memcached 1.2.2 When I set a key in memcache(Box C) from Box A, I am unable to read it from Box B and vice versa. I did not see any such issues mentioned in the PHP documentation. Has anyone seen s