php-general Digest 22 Dec 2010 17:48:53 - Issue 7099
Topics (messages 310211 through 310226):
Warning when calling session_start()
310211 by: webdev.blaettner.com
310212 by: Michael Shadle
310213 by: webdev.blaettner.com
310222 by: Ravi Gehlot
Re: goto - My
On 21 December 2010 19:12, Carlos Medina i...@simply-networks.de wrote:
Am 21.12.2010 17:36, schrieb Richard Quadling:
Hi.
If I have an abstract class of Task and I want all subclasses of Task
to have a private method _runTask, is there a way to enforce this?
Currently an abstract private
Is this the only way to access the magic __set from the parent class:
public function __set($columnName, $value)
{
if ($value !== $this-$columnName) {
parent::__set($columnName, $value);
}
}
I would have liked to work this way:
public function
Hello,
Can someone recommend a web MP3 player? I need the following options:
1) Location and Duration of mp3 display (seconds)
2) The ability to pass a start and end parameter and play a part of
the song
3) Loop parameter
4) Call to the player to grab the mp3 Location and set it to a field
It was fixed about 3 or 4 weeks ago; but, has reverted to poor again. Many
times outs etc.
Took me 4 tries to post this.
Al...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You've missed a crucial part of php; its not a client-side language, its all
run on the server. So you can't have a music player built in it running in a
web browser. For that you need something like flash or java.
There is a way potentially with html5, but not all support the audio tag
On Wed, 2010-12-22 at 10:19 -0500, Al wrote:
It was fixed about 3 or 4 weeks ago; but, has reverted to poor again. Many
times outs etc.
Took me 4 tries to post this.
Al...
Not trying to sound rude or prickish... but is it your ISP or connection
to the intertubes? Or could it
On 22 December 2010 15:06, Don Wieland d...@dwdataconcepts.com wrote:
Hello,
Can someone recommend a web MP3 player? I need the following options:
1) Location and Duration of mp3 display (seconds)
2) The ability to pass a start and end parameter and play a part of the song
3) Loop parameter
session_start (); should be before everything...first thing in the page.
Ravi.
On Wed, Dec 22, 2010 at 12:51 AM, web...@blaettner.com wrote:
Hi, folks,
On Tue, 21 Dec 2010 21:35:17 -0800 [06:35:17 AM CET],
Michael Shadle mike...@gmail.com wrote:
first - this is probably your culprit:
Hello Gary,
Please research the difference between a single quote and a double quote.
Also, you can use the operator .=(dot + equal) in this manner:
if(!empty($_POST['fname'])) {
$msg .= $lname\n;
} else if(!empty($_POST['lname'])) {
$msg
On Dec 22, 2010, at 10:09 AM, Steve Staples wrote:
On Wed, 2010-12-22 at 10:19 -0500, Al wrote:
It was fixed about 3 or 4 weeks ago; but, has reverted to poor again. Many
times outs etc.
Took me 4 tries to post this.
Al...
Not trying to sound rude or prickish... but is it
Hello,
$this only calls variables inside of a method. In your function, you are
calling a variable that was defined inside of your function called
$columnName. You should past the whole class. Not just the methods.
The pseudo-variable $this is available when a method is called from within
an
On Wed, Dec 22, 2010 at 10:19, Al n...@ridersite.org wrote:
It was fixed about 3 or 4 weeks ago; but, has reverted to poor again. Many
times outs etc.
Took me 4 tries to post this.
Al, are you using NNTP?
--
/Daniel P. Brown
Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS,
On Wed, Dec 22, 2010 at 12:17, Nicholas Kell n...@monkeyknight.com wrote:
I am with Steve. Well, what I mean is, on this topic I am in agreement with
Steve. My connection, etc. seems to be quite responsive.
Oh, that's what you mean! Several of us were speaking about it
the other day and
On Wed, Dec 22, 2010 at 11:43, Ravi Gehlot r...@ravigehlot.net wrote:
session_start (); should be before everything...first thing in the page.
Unlike the body of your email, Ravi, which is why I've asked you
before not to top-post. Please follow the formats as outlined in the
list rules.
What are these magic quotes anyways?. What are they used for? escaping?
Regards,
Ravi.
On Tue, Nov 16, 2010 at 11:44 PM, Adam Richardson simples...@gmail.comwrote:
On Tue, Nov 16, 2010 at 10:10 PM, Gary gp...@paulgdesigns.com wrote:
I was doing a test of stripslashes on a $_POST, when I
You probably have error_reporting turned on and that caught on errors. There
are new tougher rules/requirements with newer PHP versions.
Ravi.
On 12/22/2010 12:17 PM, Nicholas Kell wrote:
On Dec 22, 2010, at 10:09 AM, Steve Staples wrote:
On Wed, 2010-12-22 at 10:19 -0500, Al wrote:
It was fixed about 3 or 4 weeks ago; but, has reverted to poor again. Many
times outs etc.
Took me 4 tries to post this.
Al...
Not
On Wed, Dec 22, 2010 at 12:39, Al n...@ridersite.org wrote:
I should have been more explicit. I meant to say the newsgroup access.
Okay, that's what I figured. I've been saying for months now that
I'd set up an NNTP-only mirror, and keep getting sidetracked with
other things. I'll try to
On Wed, 2010-12-22 at 12:49 -0500, Daniel P. Brown wrote:
On Wed, Dec 22, 2010 at 12:17, Nicholas Kell n...@monkeyknight.com wrote:
I am with Steve. Well, what I mean is, on this topic I am in agreement with
Steve. My connection, etc. seems to be quite responsive.
Oh, that's what
On Wed, Dec 22, 2010 at 13:07, Steve Staples sstap...@mnsi.net wrote:
whoa... wait a sec there... i seem to recall this statement... ;)
This seems to be the most likely, and considering how all messages
are permanently and independently archived and propagate throughout
the Internet, it
On Wed, Dec 22, 2010 at 1:13 PM, Daniel P. Brown
daniel.br...@parasane.net wrote:
On Wed, Dec 22, 2010 at 13:07, Steve Staples sstap...@mnsi.net wrote:
whoa... wait a sec there... i seem to recall this statement... ;)
This seems to be the most likely, and considering how all messages
are
On Wed, Dec 22, 2010 at 6:35 AM, Alexandru Patranescu dreal...@gmail.comwrote:
Is this the only way to access the magic __set from the parent class:
parent::__set($columnName, $value);
Other than referencing the parent class by name which is worse, yes.
I would have liked to work this
From: Ravi Gehlot
What are these magic quotes anyways?. What are they used for?
escaping?
I wasn't there at the time, but I gather that the general idea was to
automagically insert escape characters into data submitted from a form.
However, they used a backslash as the escape character, which
On Wed, Dec 22, 2010 at 3:34 PM, Bob McConnell r...@cbord.com wrote:
From: Ravi Gehlot
What are these magic quotes anyways?. What are they used for?
escaping?
I wasn't there at the time, but I gather that the general idea was to
automagically insert escape characters into data submitted
stripslashes() is rife with gaping security holes. For mysql
insertion rely on mysql_real_escape_string() or alternatively, you can
use prepared statements.
For outputting data on the page you should ideally be using
htmlspecialchars($var, ENT_QUOTES);
cheers,
Russ
On Thu, Dec 23, 2010 at 6:48
On Wed, Dec 22, 2010 at 4:21 PM, Russell Dias rus...@gmail.com wrote:
stripslashes() is rife with gaping security holes. For mysql
insertion rely on mysql_real_escape_string() or alternatively, you can
use prepared statements.
For outputting data on the page you should ideally be using
search PHP、LAME keyword.
Best regards,
Sharl.Jimh.Tsin (From China **Obviously Taiwan INCLUDED**)
2010/12/23 Richard Quadling rquadl...@gmail.com:
On 22 December 2010 15:06, Don Wieland d...@dwdataconcepts.com wrote:
Hello,
Can someone recommend a web MP3 player? I need the following
28 matches
Mail list logo