RE: [PHP] Visibility of class constant

2009-02-03 Thread Chris Scott
> -Original Message- > From: leledumbo [mailto:leledumbo_c...@yahoo.co.id] > Sent: 03 February 2009 05:03 > To: php-general@lists.php.net > Subject: [PHP] Visibility of class constant > > > I got a weird behaviour of class constant. Suppose I have Index_Controller > and Another_Controller

RE: [PHP] Global Changes With Loop To Allow Nulls In A Table...

2009-01-27 Thread Chris Scott
>> Hi Folks, >> >> Newbie question >> >> I have a mysql table with 100 fields, currently all do not allow nulls. >> Rather than hand typing in phpMyAdmin, I would like a way to loop through >> all fields and update them to allow nulls >> >> My Beginning attempt needs help... >> >> >>

FW: FW: [PHP] getting info from video formats

2008-07-28 Thread Chris Scott
> -Original Message- > From: mike [mailto:[EMAIL PROTECTED] > Sent: Monday, July 28, 2008 2:17 PM > To: Chris Scott > Cc: php-general@lists.php.net > Subject: Re: FW: [PHP] getting info from video formats > > On 7/28/08, Chris Scott <[EMAIL PROTECTED]> wro

FW: [PHP] getting info from video formats

2008-07-28 Thread Chris Scott
I agree. I use MPlayer to process videos. One script gets the video length like this. //use mplayer to pull some info from the video $info = exec("\"$mplayer\" $videoPath/$videoName -identify -nosound -frames 0 > $tmpInfoFile"); //and open the file it stores the data in $infoFile = fopen("$tmpIn

[PHP] FW: [SPAM] [PHP] No Database Connection possible (mySQL)

2008-07-04 Thread Chris Scott
> -Original Message- > From: Aviation Coding [mailto:[EMAIL PROTECTED] > Sent: Friday, July 04, 2008 10:15 AM > To: php-general@lists.php.net > Subject: [SPAM] [PHP] No Database Connection possible (mySQL) > Importance: Low > > Hi all, > > I am having problems with a connection to a mysql

[PHP] FW: [SPAM] Re: [PHP] how to create a slide show using PHP5

2008-07-03 Thread Chris Scott
> -Original Message- > From: philip [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 02, 2008 10:03 PM > To: Bastien Koert > Cc: php-general@lists.php.net > Subject: [SPAM] Re: [PHP] how to create a slide show using PHP5 > Importance: Low > > Bastien Koert wrote: > > > > > > On Wed, Jul

[PHP] FW: [SPAM] [PHP] FIFO files on PHP?

2008-07-02 Thread Chris Scott
> -Original Message- > From: Waynn Lue [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 01, 2008 11:06 PM > To: php-general@lists.php.net > Subject: [SPAM] [PHP] FIFO files on PHP? > Importance: Low > > I'm trying to build a queue out using FIFO files (someone on the MySQL > list suggested

[PHP] FW: [SPAM] RE: [PHP] FW: [SPAM] RE: [PHP] fwrite() Append Files

2008-06-27 Thread Chris Scott
>> -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'

[PHP] FW: [SPAM] RE: [PHP] fwrite() Append Files

2008-06-27 Thread Chris Scott
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: [

FW: [PHP] fwrite() Append Files

2008-06-27 Thread Chris Scott
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 t

[PHP] FW: [SPAM] Re: [PHP] Inspiration for a Tombstone.

2008-06-27 Thread Chris Scott
410 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] escape character in query string

2008-06-23 Thread Chris Scott
%20 -Original Message- From: joaquinbordado [mailto:[EMAIL PROTECTED] Sent: Monday, June 23, 2008 3:35 AM To: php-general@lists.php.net Subject: [SPAM] [PHP] escape character in query string Importance: Low would someone happen to know the escape character for query string? here is my

RE: [PHP] RE: [SPAM] [PHP] format mobile number

2008-06-20 Thread Chris Scott
Sorry that should have been a quoted string: $mobileNumber = "078"; For the strlen and substr. -Original Message----- From: Chris Scott [mailto:[EMAIL PROTECTED] Sent: Friday, June 20, 2008 1:15 PM To: php-general@lists.php.net Subject: [PHP] RE: [SPAM] [PHP] format mob

[PHP] RE: [SPAM] [PHP] format mobile number

2008-06-20 Thread Chris Scott
Something like: $mobileNumber = 078; $lastTen = substr($mobileNumber, strlen($mobileNumber) - 10); $formatedNumber = "0" . $lastTen; -Original Message- From: joaquinbordado [mailto:[EMAIL PROTECTED] Sent: Friday, June 20, 2008 12:15 PM To: php-general@lists.php.net Subject: [SPAM

Re: [PHP] Newbie Question: How to pass URL info to .php script ?

2008-06-19 Thread Chris Scott
You could just use an apache (or other web server) alias: www.test.com/article -> www.test.com/article.php where article.php uses: "; ?>