Hi
I suggest to use cron table against php deamon, It'will we be more stable
and using less load.
regards
- Original Message -
From: Richard Lynch [EMAIL PROTECTED]
To: kioto [EMAIL PROTECTED]
Cc: php-general php-general@lists.php.net
Sent: Friday, June 24, 2005 5:18 AM
Subject:
In php5 any object is moving as reference. you need special declaration, if
you want to duplicate(copy/clone) an object.
regards
david
- Original Message -
From: Robert Cummings [EMAIL PROTECTED]
To: Matthew Weier O'Phinney [EMAIL PROTECTED]
Cc: PHP-General php-general@lists.php.net
Folks
There's no need to be quite so rude, when informing someone that you
don't know of any existing PHP code(diff isn't written in PHP), that
will fulfull their requirements.
Jenny:
Check out various PHP wikis. Most of them have a history feature, that
allows you to compare current with
Philip Thompson wrote:
On Jun 23, 2005, at 4:13 PM, Richard Lynch wrote:
...
Well, that was a mouthful. I actually am using a Mac and it showed \r \n
I reckon you could edit together a nice fat 700 page book on PHP just by
scraping
posts made by Richard :-) ... every other month ;-)
On 6/24/05, Richard Lynch [EMAIL PROTECTED] wrote:
On Thu, June 23, 2005 3:37 am, JamesBenson said:
http://www.funender.com/phpBB2/about18577.html
Call me crazy, but...
A)
Doesn't robots.txt have to be in public_html? How the hell can the robots
read it if it's in the root folder, as
John Hinton wrote:
Michael Stepanov wrote:
With a return receipt attached
and I'm wondering if we all return the receipt each time someone forgets
about this on various mailing lists, would the 6583 subscribers actually
returned the receipt, would it break the habit?
All in fun...
Robert Cummings wrote:
...
There's a difference between a reference to a reference and a copy of a
reference *hehehe*.
Cheers,
Rob.
Dear diary: jackpot!
Now that makes sense. And am I correctly filling in the blanks when I
guess that $foo3 = $aObj is merely copying the reference instead
Hi,
I have 2 arrays:
Array (
[0] = Array (
[0] = 28
[1] = Music
)
[1] = Array (
[0] = 5
[1] = Books
Hi,
I have 2 arrays:
Array (
[0] = Array (
[0] = 28
[1] = Music
)
[1] = Array (
[0] = 5
[1] = Books
Hi,
I have 2 arrays:
Array (
[0] = Array (
[0] = 28
[1] = Music
)
[1] = Array (
[0] = 5
[1] = Books
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Hi,
I have 2 arrays:
Array (
[0] = Array (
[0] = 28
[1] = Music
)
[1] = Array (
Hi,
I have 2 arrays:
Array (
[0] = Array (
[0] = 28
[1] = Music
)
[1] = Array (
[0] = 5
[1] = Books
FYI - RSVP if you plan on attending.
-
Very Special Meeting: IBM Presents their PHP Strategy to New York PHP
RSVP Today, seats are limited:
http://www.nyphp.org/rsvp.php
All Attendees Must RSVP By Monday, June 27th.
Sorry to reply to this message but I wanted the OP to find it too...
On Jun 23, 2005, at 9:42 AM, Jack Jackson wrote:
[snip]
Through your help I was able to validate image files using
getimagesize() and have made a nice script to upload and rename
images.
[\snip]
I've been meaning to post
[quote]
I REALLY don't understand why anybody would abstract out every single
table as a separate class like that.
Surely there are some COMMON features and behaviours between the fields of
any given MySQL type.
[\quote]
IMHO, the answer is simplicity of implementation and to some extent
Are you using the a or a+ modes on fopen, because I have a sneaky feeling the
file doesn't exist.
-Original Message-
From: Ross [mailto:[EMAIL PROTECTED]
Sent: 24 June 2005 00:33
To: php-general@lists.php.net
Subject: [PHP] fopen problem
*
This
Mike Johnson wrote:
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Hi,
I have 2 arrays:
Array (
[0] = Array (
[0] = 28
[1] = Music
)
[1] = Array (
for ($i = 0; $i count($array1); i++)
$array1[$i][] = $array2[$i];
from kevin l'huillier
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello all,
I'm stumbling along with the ncurses implementation under 4.3.11 on
FreeBSD. I've had some success with windows and borders etc based on
some Googling(tm) and RTFM... but am having trouble getting
ncurses_new_panel to do anything worthy of note.
From what I understand, the
On Fri, 2005-06-24 at 10:02, Jason Barnett wrote:
Robert Cummings wrote:
...
There's a difference between a reference to a reference and a copy of a
reference *hehehe*.
Cheers,
Rob.
Dear diary: jackpot!
Now that makes sense. And am I correctly filling in the blanks when I
On 24/06/05, Josh Olson [EMAIL PROTECTED] wrote:
for ($i = 0; $i count($array1); i++)
$array1[$i][] = $array2[$i];
from kevin l'huillier
That's basically what Mike wrote (only with array_push instead of []),
and Bob improved upon. And they didn't mix the arrays up.
I was only
I'm having a small problem with SAFE MODE and PEAR that I'm unsure
how to solve:
[error] PHP Warning: raiseerror(): SAFE MODE Restriction in
effect. The script whose uid is 524 is not allowed to access
/usr/lib/php/PEAR.php owned by uid 0 in /path/to/script/Lite.php on line 470
Mike Bowie wrote:
Hello all,
I'm stumbling along with the ncurses implementation under 4.3.11 on
FreeBSD. I've had some success with windows and borders etc based on
some Googling(tm) and RTFM... but am having trouble getting
ncurses_new_panel to do anything worthy of note.
From what I
* Robert Cummings [EMAIL PROTECTED] :
On Fri, 2005-06-24 at 10:02, Jason Barnett wrote:
Robert Cummings wrote:
...
There's a difference between a reference to a reference and a copy of a
reference *hehehe*.
Now that makes sense. And am I correctly filling in the blanks when I
Thank you for ALL this great information, Richard! I really appreciate
all the help.
JJ
Richard Lynch wrote:
On Thu, June 23, 2005 7:42 am, Jack Jackson said:
I cannot see a way to validate or examine Word or Excel files for
validity (and assume that older word files would validate
Robert Cummings wrote:
...
Yeah, *grin*. And on that note, there are times when you will actually
want $foo = new SomeClass(); versus $foo = new SomeClass(); since
assigning by reference will break any previous references -- something I
forgot to mention to Matthew Weier when he challenged the
On Fri, 2005-06-24 at 14:09, Jason Barnett wrote:
Robert Cummings wrote:
...
Yeah, *grin*. And on that note, there are times when you will actually
want $foo = new SomeClass(); versus $foo = new SomeClass(); since
assigning by reference will break any previous references -- something I
Is it possible to read text from a PDF file with PHP? How?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What am I doing wrong? This doesn't work. The browser does not even
load the page, no error or anything:
?php
echo '?xml version=1.0?rss version=2.0channel';
echo 'item';
echo 'titlehdfghdf/title';
echo 'descriptiondfghdfh/description';
echo 'linkhttp://somelink/link';
echo '/item';
echo
I am trying to design a website archeticture. Does anyone have any
links or experience with archetictures that actually work. Any ideas
of how to layout a website would be greatly appreciated.
This is what I am thinking of doing
1)Seperate Logic from presentation
Using Templates (Smarty)
go view-source in your browser. Some browsers will not show the xml
all though it is in the source
On 6/24/05, Brian Dunning [EMAIL PROTECTED] wrote:
What am I doing wrong? This doesn't work. The browser does not even
load the page, no error or anything:
?php
echo '?xml version=1.0?rss
I'm ahead of you there - that's not the problem. IE6 just acts like I
didn't request a page. Safari returns a “unknown
error” (NSURLErrorDomain:-1).
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 6/24/05, Brian Dunning [EMAIL PROTECTED] wrote:
What am I doing wrong? This doesn't work. The browser does not even
load the page, no error or anything:
The script looks fine and executed as expected on my machine.
Try executing it from the command-line. Often if nothing loads in
the
* Joe Muddah [EMAIL PROTECTED]:
I am trying to design a website archeticture. Does anyone have any
links or experience with archetictures that actually work. Any ideas
of how to layout a website would be greatly appreciated.
This is what I am thinking of doing
1)Seperate Logic from
* Brian Dunning [EMAIL PROTECTED]:
What am I doing wrong? This doesn't work. The browser does not even
load the page, no error or anything:
?php
echo '?xml version=1.0?rss version=2.0channel';
echo 'item';
echo 'titlehdfghdf/title';
echo 'descriptiondfghdfh/description';
echo
I was on Avis' car rental site the other day and booked a reservation, then
they had a button that automatically added an entry into MS Outlook for the
details, dates, times, etc. it was very nice!
Anyone have some code or pear class or anything that does this?
I am guessing I have to use COM,
PHP has inspired me to become a better programmer. I have been
actively reading books as well as online content to try to become
better at designing and programming object oriented web applications.
My primary focus is PHP.
Will you help a pragmatic programmer in training out by suggesting
some
Well, I don't know if I have the solution, but when the page has the
..php file extension it doesn't work. But when it has the .rss file
extension, it works. It's the workaround I found.
Safari doesn't return an error now.
I've tested the script under MacOSX 10.4.1 with Apache 2.0.54 and PHP
Josh Olson mailto:[EMAIL PROTECTED]
on Friday, June 24, 2005 12:57 PM said:
...and some of my OO code is still in production use 10 years after
it was written. Inspiring.
Please don't Lynch me
Oh snap! Now you're just asking for it. :P
Chris.
--
PHP General Mailing List
Actually most/all outlook items should be able to be created with straight
text. Try creating a calendar entry and sending it to a normal POP3 email
account then looking at it in a non-Outlook email client (view full
source/headers/etc).
You can try just dragging a calendar item to your
Robert Cummings wrote:
...
This is intentional behaviour, there are times when you want a copy of a
reference and there are times when you want a reference to a reference.
For instance consider the following:
$foo1 = $foo2 = $foo3 = new a();
$foo2 = new b();
If these were references to
On 24/06/05, Jason Barnett [EMAIL PROTECTED] wrote:
OK I'm pretty clear on it, but now I wonder: is variable assignment (=)
the only place where the Zend Engine will copy a reference instead of
reference the reference?
In PHP 4, function arguments work the same way. Unless you use the
Hello,
on 06/24/2005 04:23 PM Brian Dunning said the following:
What am I doing wrong? This doesn't work. The browser does not even
load the page, no error or anything:
?php
echo '?xml version=1.0?rss version=2.0channel';
echo 'item';
echo 'titlehdfghdf/title';
echo
Daevid Vincent wrote:
I was on Avis' car rental site the other day and booked a reservation,
then they had a button that automatically added an entry into MS Outlook
for the details, dates, times, etc. it was very nice!
I am guessing I have to use COM
Wouldn't that require the webserver to
Hi,
You can take a look at phrame.sf.net, phpmvc.net, horder.org, binarycloud.com
adodb.sf.net (for fast db abstraction layer).
Read around and one of those will surely satisfy your needs.
Catalin
Joe Muddah wrote:
I am trying to design a website archeticture. Does anyone have
I've got a line like this:
$str=preg_replace( -regex here-, '\nnote\1/note', $str);
Which has one of two problems: If I leave the single quotes around the
second argument, then it returns as \n and not a newline. If I change
the single quotes to double quotes, then the info from the regex is
not
I thought that this was another old STFA but marc and google are quiet.
I as parsing a bunch of submitted works and some of them have
non-latin characters. I know that I once saw in the user-submitted
notes in the docs a function for replacing them with o,a,i,e,u but I
can't find it. I think that
Dotan Cohen wrote:
I've got a line like this:
$str=preg_replace( -regex here-, '\nnote\1/note', $str);
Which has one of two problems: If I leave the single quotes around the
second argument, then it returns as \n and not a newline. If I change
the single quotes to double quotes, then the info
Bob Winter wrote:
Dotan Cohen wrote:
I've got a line like this:
$str=preg_replace( -regex here-, '\nnote\1/note', $str);
Which has one of two problems: If I leave the single quotes around the
second argument, then it returns as \n and not a newline. If I change
the single quotes to double
On 6/25/05, Bob Winter [EMAIL PROTECTED] wrote:
Bob Winter wrote:
Dotan Cohen wrote:
I've got a line like this:
$str=preg_replace( -regex here-, '\nnote\1/note', $str);
Which has one of two problems: If I leave the single quotes around the
second argument, then it returns as \n
Hi friends, I've got a nice array of contractions (I've, I'd,
they'll,...). My intent is to take submitted data and replace, say,
every occurance of 'theyd' with 'they'd'. So far, so good. The trick
is doing it if the first character is uppercase. I tried going
throught the array, one by one, and
On Fri, 2005-06-24 at 21:02, Dotan Cohen wrote:
Hi friends, I've got a nice array of contractions (I've, I'd,
they'll,...). My intent is to take submitted data and replace, say,
every occurance of 'theyd' with 'they'd'. So far, so good. The trick
is doing it if the first character is
You are on to something. Maybe I did get an email with a confirmation.
I could swear it was via their website though...
There are some pretty crazy Thread-Index: and UID: things in there.
Do I have to generate them somehow?
Anyways, for those interested, this is what the email looks like:
On 6/25/05, Robert Cummings [EMAIL PROTECTED] wrote:
On Fri, 2005-06-24 at 21:02, Dotan Cohen wrote:
Hi friends, I've got a nice array of contractions (I've, I'd,
they'll,...). My intent is to take submitted data and replace, say,
every occurance of 'theyd' with 'they'd'. So far, so good.
After looking through sybase.com and coming up with nothing I thought
it might be better to see if anyone has already been down this road:
I've got a very old laptop with a tiny little hard drive with very
little free space on it. It's being used as a 'rogue' intranet server
and doing a
Thanks a bunch. I have alot of work now ahead of me to decide which
framework to use. Any opinions on which one is the best?
On 6/24/05, Catalin Trifu [EMAIL PROTECTED] wrote:
Hi,
You can take a look at phrame.sf.net, phpmvc.net, horder.org,
binarycloud.com
adodb.sf.net (for fast
On Fri, 2005-06-24 at 23:41, Joe Muddah wrote:
Thanks a bunch. I have alot of work now ahead of me to decide which
framework to use. Any opinions on which one is the best?
InterJinn of course.
Cheers,
Rob.
--
..
| InterJinn
Dotan Cohen wrote:
On 6/25/05, Robert Cummings [EMAIL PROTECTED] wrote:
On Fri, 2005-06-24 at 21:02, Dotan Cohen wrote:
Hi friends, I've got a nice array of contractions (I've, I'd,
they'll,...). My intent is to take submitted data and replace, say,
every occurance of 'theyd' with
Jon,
I'm not sure there is a way for you to do this from within PHP, but then
again I didn't think it was possible for PHP to generate a pdf without
any extra libs either ;-)
You might want to start with the pdf2* command line programs. I think
there is in fact one that will output the pdf as
59 matches
Mail list logo