php-general Digest 19 Dec 2006 17:27:13 - Issue 4523
Topics (messages 245996 through 246030):
Re: ECHO
245996 by: Casey Chu
245997 by: Fahad Pervaiz
245998 by: Casey Chu
245999 by: Fahad Pervaiz
246003 by: Chris
246006 by: Paul Novitski
php-general Digest 20 Dec 2006 07:02:11 - Issue 4524
Topics (messages 246031 through 246057):
Re: Video question
246031 by: IG
246034 by: bruce
246052 by: tedd
246054 by: tg-php.gryffyndevelopment.com
246056 by: Casey Chu
Re: Recomended host
Fahad Pervaiz wrote:
ECHO is a language construct but still is there any work around to override
it or change its functionality???
if your willing to hack the php source then you can pretty much do whatever you
want;
that said there is no mechanism for overriding echo or any other language
clr wrote:
Please can someone advise me on heredoc and its shortcommings,
I am designing a complex site and elected to use DIV's as opposed to
frames.
Heredoc seems to be ideal in that I can do all processing first and then
layout with relative ease.
I would say go right ahead and use
On Mon, 2006-12-18 at 19:42 -0600, Larry Garfield wrote:
On Monday 18 December 2006 15:20, Richard Lynch wrote:
Put it this way: In 2000, if somebody wanted to embed the ZE in a
commercial product, Zend was planning on charging for it. I dunno
what their license for the ZE reads like
Hi
When calling |-createElement($name, $value) My content is truncated to
around 4k. If what is in $value is less than 4000 bytes then it works
fine but if it is more, the data is truncated. Is there a setting I
don't know about that will change that limit? I need it to be more like
You could use the PHP Compiler: http://phpcompiler.org/ and do a
preprocessor as I did: http://www.satyam.com.ar/pht/.
PHC is capable of compiling a PHP source and return a modified PHP source.
It is easy to make a plugin for any such modifications, there is a class
which gets instantiated
Thank you Satyam for you help! i think this is the rite solution
On 12/19/06, Satyam [EMAIL PROTECTED] wrote:
You could use the PHP Compiler: http://phpcompiler.org/ and do a
preprocessor as I did: http://www.satyam.com.ar/pht/.
PHC is capable of compiling a PHP source and return a modified
Hi guys,
I have a problem with my webserver. It is a server for me and some web
projekts of my friends. And there is one PHP script which kills the
whole server, but I do not know which one it is. When the server is
going down one apache process uses 99% CPU and memory. In this case I
can
hello, could you tell us more about our webserver?
Linux or windows?
vincent
-Original Message-
From: Philipp Schwarz [mailto:[EMAIL PROTECTED]
Sent: Tue 19/12/2006 14:05
To: php-general@lists.php.net
Subject: [PHP] Which PHP-script crashes my server?
Hi guys,
I have a problem with
Linux, of course. :-)
It is a Gentoo server with Confixx Pro on it. The PHP safe mode is
disabled for some accounts, so it is clear that problems like this
happen. But I can not enable it because of several scripts.
Thats all I know. I dit not setup the server. If you need some special
Philipp Schwarz wrote:
Linux, of course. :-)
It is a Gentoo server with Confixx Pro on it. The PHP safe mode is
disabled for some accounts, so it is clear that problems like this
happen. But I can not enable it because of several scripts.
what has safe_mode (which fails miserably in being
Hi,
You could enable server-status in Apache configuration then you should
be able to wget server status
each minute (30 seconds?) by a cron-job. When the server is going down,
check that particular file. You
might want the cron-job to store each result in a new file so the cron
job doesn't
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
hi, you should check your php script for infinite loops, this is a
common problem in this cases.
Patrik Jansson wrote:
Hi,
You could enable server-status in Apache configuration then you should
be able to wget server status
each minute (30
Hi Phil,
Linux, of course. :-)
It is a Gentoo server with Confixx Pro on it. The PHP safe mode is
disabled for some accounts, so it is clear that problems like this
happen. But I can not enable it because of several scripts.
Thats all I know. I dit not setup the server. If you need some
On Tuesday 19 December 2006 02:12, Robert Cummings wrote:
Is that why the PHP License is non-GPL compatible, or is there a
different reason for that? (That's always bugged me, personally.)
PHP and license has less restrictions... it is not viral. You can for
the most part do as you please
That's nice. It's also not what I asked. I asked what it was that made it
GPL-incompatible.
6. Redistributions of any form whatsoever must retain the following
acknowledgment:
This product includes PHP software, freely available from
http://www.php.net/software/.
I don't
-Original Message-
From: Larry Garfield [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 19, 2006 10:26 AM
To: php-general@lists.php.net
Subject: Re: [PHP] How php works?
On Tuesday 19 December 2006 02:12, Robert Cummings wrote:
Is that why the PHP License is non-GPL
On Tue, 2006-12-19 at 09:25 -0600, Larry Garfield wrote:
On Tuesday 19 December 2006 02:12, Robert Cummings wrote:
Is that why the PHP License is non-GPL compatible, or is there a
different reason for that? (That's always bugged me, personally.)
PHP and license has less
How do I display video on my php page and prevent the video from being
downloaded.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
# [EMAIL PROTECTED] / 2006-12-19 11:08:26 -0500:
How do I display video on my php page and prevent the video from being
downloaded.
You cannot.
--
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man. You don't KNOW.
Cause you weren't THERE.
John Messam wrote:
How do I display video on my php page and prevent the video from being
downloaded.
if you want to display something/anything it needs to be
downloaded to the client (browser) ... this is rather fundamental.
if your actually looking for some kind of DRM solution then your
John Messam wrote:
How do I display video on my php page and prevent the video from being
downloaded.
You'll need to be more specific than this. What video format are you
using? The only way to stop it from being downloaded is by streaming the
video, and even then it is possible if you have
At 3:50 PM -0500 12/18/06, [EMAIL PROTECTED] wrote:
I'm going to be controversial here and take issue with both of you.
2. Pointing out someone's signature as being off topic is even
further off topic for this list. Please take personal issues into
private email. I bring it up publicly as a
Hi list,
I'm writing a PHP program and I've got a number of concerns. The program is
about 20 KLOC at the moment, but will probably grow quite a lot.
I'm using OOP throughout, and I don't really have a lot of problems with
what PHP4 can do with OOP. PHP5 does have a nice feature or two,
hi ig...
in actuallity, there's really nothing (technical) preventing me from
capturing the streamed content and saving it on my box...
preventing someone from capturing content that you want them to see is
pretty much impossible.
-Original Message-
From: IG [mailto:[EMAIL PROTECTED]
On Tue, 2006-12-19 at 19:05 +0100, Niels wrote:
Hi list,
I'm writing a PHP program and I've got a number of concerns. The program is
about 20 KLOC at the moment, but will probably grow quite a lot.
I'm using OOP throughout, and I don't really have a lot of problems with
what PHP4 can do
I think I have come across situations where heredoc is the most
useful/best solution... although, I can not remember any specific
examples...
I would hate to see it deprecated... I find it very useful from time to
time. :)
--
Wishlist: http://snipurl.com/vrs9
Switch:
tedd wrote:
At 3:50 PM -0500 12/18/06, [EMAIL PROTECTED] wrote:
I'm going to be controversial here and take issue with both of you.
2. Pointing out someone's signature as being off topic is even further
off topic for this list. Please take personal issues into private
email. I bring it up
I hate you all. Screw PHP. I'm switching to Cold Fusion.
:)
PS. Puppies are good with ketchup.
= = = Original message = = =
tedd wrote:
At 3:50 PM -0500 12/18/06, [EMAIL PROTECTED] wrote:
I'm going to be controversial here and take issue with both of you.
2. Pointing out someone's
[EMAIL PROTECTED] wrote:
I hate you all. Screw PHP. I'm switching to Cold Fusion.
spoken like a true masochist :-)
:)
PS. Puppies are good with ketchup.
I have 2 totally unrelated rebounds to that (no. 2 being for
real sicko's :-P).
1. try bearnaise for a sophisticated twist.
2.
On Tue, December 19, 2006 2:42 am, [EMAIL PROTECTED] wrote:
I am very grateful that you had the time to reply also your reply was
very quick, this is the kind support you don't get from most other
open source.
In regard to the problem with phpinfo, I had same problem, but it is
not because
On Tue, 2006-12-19 at 16:01 -0500, [EMAIL PROTECTED] wrote:
Merry Christmas Everyone! and I mean everyone (even Eight-of-Nine ;-)
INSENSITIVE CLOD!!! I practice animism!
Rob.
--
..
| InterJinn Application Framework -
Robert Cummings wrote:
On Tue, 2006-12-19 at 16:01 -0500, [EMAIL PROTECTED] wrote:
Merry Christmas Everyone! and I mean everyone (even Eight-of-Nine ;-)
INSENSITIVE CLOD!!! I practice animism!
your catching on ... about the insensitivity that is ;-)
Rob.
--
PHP General Mailing List
PHP5 is more than just OO features, SimpleXML, SPL, Filter and the newly
added Date/Time functions just to mention a few. If you need any of those
PHP5 is the way to go.
The first version of PHP5 was released in 2004, so it's been arround for a
while now. In most cases you can still use the old
Hello,
I'm trying to get payflow working with php5 as a loadable extension. My
configure line has:
'--with-pfpro=shared,/usr/local'
and php5 installed fine via FreeBSD ports. I then installed Payflow pro also
via FreeBSd ports. I'm getting an error with payflow_init which tells me
Niels [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi list,
I'm writing a PHP program and I've got a number of concerns. The program
is
about 20 KLOC at the moment, but will probably grow quite a lot.
I'm using OOP throughout, and I don't really have a lot of problems with
Jochem Maas wrote:
Robert Cummings wrote:
On Tue, 2006-12-19 at 16:01 -0500, [EMAIL PROTECTED] wrote:
Merry Christmas Everyone! and I mean everyone (even Eight-of-Nine ;-)
INSENSITIVE CLOD!!! I practice animism!
your catching on ... about the insensitivity that is ;-)
http://dbug.ospinto.com/
Turns arrays into a table for visual debugging. I've been using this for
a few things here and there, it itsnt so often here that we link nifty
little gadgets so here is one.
- Olafur
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
At 5:37 PM -0500 12/18/06, Beauford wrote:
-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]
-snip- most excellent code and advice from Richard (Thanks Richard).
Hmm. I was thinking more of a one liner that would just clear the memory
buffer of these variables, but
Hi Ivo,
Jordan forwarded me your mail to provide some technical explanation.
First of all, sorry for the delay, due to recent business travels and
out-of-office events, I haven't had a lot of time to go through my
mailbox.
The product version that you were using is a trial version, which does
At 9:59 AM +0100 12/19/06, Bernhard Zwischenbrugger wrote:
Hi
When calling |-createElement($name, $value) My content is truncated to
around 4k. If what is in $value is less than 4000 bytes then it works
fine but if it is more, the data is truncated. Is there a setting I
don't know about
On Tuesday 19 December 2006 19:24, Tony Marston wrote:
I have written a large application which uses the OO features of PHP 4, and
the same code runs untouched with PHP 5. There is no advantage in making
use of some of these fancy new features in PHP 5, so I just don't bother.
I couldn't
At 11:08 AM -0500 12/19/06, John Messam wrote:
How do I display video on my php page and prevent the video from being
downloaded.
This is a common misconception. If a user see's anything on (actually
from) your web page then that means that the user's browser has
already downloaded it. If
At 9:52 PM +0100 12/19/06, Jochem Maas wrote:
I guess if I start baiting all 3 of you (Roman, tedd, tg) that would
not be constructive? no probably not :-)
from my stance, I don't give 2 hoots about Roman's sig, Roman's reply style
sometimes leaves a little to be desired...
From my stance,
To view a video, you do have to download it. But you don't have to download all
of it at once.
If a user did have to download the whole video and you still wanted to protect
it, you'd want to look into some kind of DRM (digital rights management)
solution probably.
YouTube and similar
Cheers tedd! Thanks for coming around. Life's too short to stress about
stuff like this. There's always going to be people who don't understand (after
all.. HE WASNT THERE MAN! sorry.. I couldn't help it :) I wasn't there
either so my turn to be village idiot for a moment.. forgive the
Maybe you could try some complicated file splitting thing?
Like [dynamically] split the video into 10 pieces and send them in a
jumbled mess, and decode them using something like flash?
On 12/19/06, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
To view a video, you do have to download it. But you
Someone's going to tell me to go buy a book, I just know it. I'll
ask anyway:
I'm starting to log weather data to a database and I'm trying to
figure out what's the best way to create the tables. The reports are
coming in every minute, of every hour, 24 hours a day. Eventually, I'd
Ashley M. Kirchner wrote:
Someone's going to tell me to go buy a book, I just know it. I'll
go buy a book? (can't argue with you intuition now can I ;-)
ask anyway:
I'm starting to log weather data to a database and I'm trying to
figure out what's the best way to create the
At 12/19/2006 11:01 PM, Ashley M. Kirchner wrote:
I'm starting to log weather data to a database and I'm trying to
figure out what's the best way to create the tables. The reports
are coming in every minute, of every hour, 24 hours a
day. Eventually, I'd like to do some calculations on
51 matches
Mail list logo