tedd wrote:
Everything is backed up at least three fold. I am considering online
backup and waiting for the cost to go down.
You should add paper backups to that list!
http://ollydbg.de/Paperbak/
Sam Stelfox
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://ww
I want to say 'Congratulations' in the php-style!
_daughters[] = new HaileighBrown();
}
function getName()
{
return 'Daniel P. Brown';
}
}
$dan = new DanielBrown();
On Mon, Aug 3, 2009 at 1:29 PM, Daniel Brown wrote:
> ALL:
>
> It's
Miller, Terion wrote:
> All of a sudden this stopped working and keeps defaulting to A again
>
> if ($_SERVER['SCRIPT_FILENAME'] = "browse.php" ) {
>
> $default = "A";
>
> }
>
>
> else {
>
> $default = "";
>
>
On Mon, Aug 03, 2009 at 12:29:29PM -0400, Daniel Brown wrote:
> ALL:
>
> It's far easier to drop a line to the mailing lists and BCC a few
> others than to write back to many individually.
(I thought you were just heads down coding, not adding to the Brown
population. ;-)
And this mea
On Mon, Aug 03, 2009 at 01:54:05PM -0400, tedd wrote:
> Everything is backed up at least three fold. I am considering online
> backup and waiting for the cost to go down.
Tried Carbonite.com? I think they're like US$55 / year. Work on Mac and
PC, but I doubt Linux, and I don't know about their
I'd like to revisit this one last time. Below is the revised code
I'm using, but I don't like having individual 'Add To Cart' buttons
for each item. I've tried to find a way to have only one that resides
outside the nested tables for all items, but without luck. It would
need to send ev
On Mon, 2009-08-03 at 22:46 +0200, Oral Timocin wrote:
> Stuart wrote:
>
> > 2009/8/3 Oral Timocin :
> >> Hi all,
> >>
> >> i am a newbie to php an want to learn it. Aftere reading some sample Code
> >> an the documetation i have an unanswered question!
> >>
> >> for example:
> >>
> >> public func
Stuart wrote:
> 2009/8/3 Oral Timocin :
>> Hi all,
>>
>> i am a newbie to php an want to learn it. Aftere reading some sample Code
>> an the documetation i have an unanswered question!
>>
>> for example:
>>
>> public function _example(){
>> }
>>
>> what does the _ mean in that function. Could anyo
2009/8/3 Oral Timocin :
> Hi all,
>
> i am a newbie to php an want to learn it. Aftere reading some sample Code
> an the documetation i have an unanswered question!
>
> for example:
>
> public function _example(){
> }
>
> what does the _ mean in that function. Could anyone help me?
Absolutely. But
Hi all,
i am a newbie to php an want to learn it. Aftere reading some sample Code
an the documetation i have an unanswered question!
for example:
public function _example(){
}
what does the _ mean in that function. Could anyone help me?
regards
--
PHP General Mailing List (http://www.php.n
On Mon, 2009-08-03 at 12:29 -0400, Daniel Brown wrote:
ALL:
It's far easier to drop a line to the mailing lists and BCC a few
others than to write back to many individually.
My favorite of my teachers told us repeatedly to just "maintain
ourselves". He meant hold on to the unchanging, in
On 8/3/09 2:22 PM, "Ollisso" wrote:
On Mon, 03 Aug 2009 21:48:08 +0300, "Miller, Terion"
wrote:
>
> Thanks but it still doesn't work, it defaults to 'A' and I want it to
> default to show 'A" only on browse.php all other pages should show NO
> default selections.
> '
Create file with this
On Mon, 2009-08-03 at 20:44 +0200, Grega Leskovsek wrote:
> I made two files now of the program: (the main one and the one where I
> set the cookie and open pdf)and I noticed that it doesn't work setting
> the cookie the first time I call the file where I set the cookie but
> only after the second
On Mon, 2009-08-03 at 12:29 -0400, Daniel Brown wrote:
> ALL:
>
> It's far easier to drop a line to the mailing lists and BCC a few
> others than to write back to many individually.
>
> Thanks for the concern and well-wishes from the many who wrote to
> me during the last 10 days. It's v
On Mon, 03 Aug 2009 21:48:08 +0300, "Miller, Terion"
wrote:
Thanks but it still doesn't work, it defaults to 'A' and I want it to
default to show 'A" only on browse.php all other pages should show NO
default selections.
'
Create file with this content:
and run it with browser.
an
Sorry group, I keep thinking they are real text...I'm new on a iMac and
Entourage...
On 8/3/09 2:13 PM, "Ashley Sheridan" wrote:
On Mon, 2009-08-03 at 09:33 -0700, Miller, Terion wrote:
Here is is incase anyone else ever needs it.
//Create array with l
On Mon, 2009-08-03 at 09:33 -0700, Miller, Terion wrote:
> Here is is incase anyone else ever needs it.
>
>//Create array with letters AND number
> sign$letters = range('A','Z');
> array_push($letters, 'nums'
On 8/3/09 1:40 PM, "Ollisso" wrote:
On Mon, 03 Aug 2009 20:26:35 +0300, "Miller, Terion"
wrote:
> All of a sudden this stopped working and keeps defaulting to A again
>
> if ($_SERVER['SCRIPT_FILENAME'] = "browse.php" ) {
>
> $default = "A";
> }
>
> else {
> $default = "";
> }
>
it sho
I made two files now of the program: (the main one and the one where I
set the cookie and open pdf)and I noticed that it doesn't work setting
the cookie the first time I call the file where I set the cookie but
only after the second header redirection.
How do I refresh the page in php?
Thanks in
Miller, Terion wrote:
> if ($_SERVER['SCRIPT_FILENAME'] = "browse.php" ) {
You're using the assignment operator above ('=') instead of the comparison
('=='). If that's not simply a typo that entered the code when you composed
your email, then that's the source of your problem.
You might cons
On Mon, 03 Aug 2009 20:26:35 +0300, "Miller, Terion"
wrote:
All of a sudden this stopped working and keeps defaulting to A again
if ($_SERVER['SCRIPT_FILENAME'] = "browse.php" ) {
$default = "A";
}
else {
$default = "";
}
it should be:
if ($_SERVER['SCRIPT_FILENAME'] == "browse.ph
On 8/3/09 12:26 PM, "Miller, Terion" wrote:
All of a sudden this stopped working and keeps defaulting to A again
if ($_SERVER['SCRIPT_FILENAME'] = "browse.php" ) {
$default = "A";
}
else {
$default = "";
}
I was using the above successfully until the boss rewrote the script now
On Mon, Aug 3, 2009 at 13:54, tedd wrote:
>
> I had that happen a few years ago. I had/have a $20k insurance policy on my
> office computers and data. However, I was very surprised to find that it
> didn't cover flooding.
>
> Since then I keep a HD backup of everything in a waterproof safe inside a
Ollisso wrote:
4. If you have huge load, then it is much more efficient (and easier) to
use other methods. For Example: install APC (http://fi2.php.net/apc )
It will cache all requests to your files and this will have huge impact
on your performance. Much more than you can achieve by strippin
Hi,
> ...
As said over IM, best wishes.
--
Richard Heyes
HTML5 graphing: RGraph - www.rgraph.net (updated 25th July)
Lots of PHP and Javascript code - http://www.phpguru.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Daniel:
As I previously said privately -- congratulations.
Kids are wonderful (until they reach teenage years)
At 12:29 PM -0400 8/3/09, Daniel Brown wrote:
On a different note, thanks to all of the rain we've had here in
the northeast US this year, my basement office flooded while I was
On Sun, 02 Aug 2009 04:25:40 +0300, Clancy wrote:
Is anyone here interested in discussing programming strategy, or or know
of a discussion
group which is interested in the subject?
The sorts of questions I am interested in are:
1. I have a highly variable program which always shows the same
Maybe the $_SERVER variable has been disable in the server, if is it, you will
just need enable the $_SERVER again
Yuri Yarlei.
Programmer PHP, CSS, Java, PostregreSQL;
Today PHP, tomorrow Java, after the world.
Kyou wa PHP, ashita wa Java, sono ato sekai desu.
> From: tmil...@springfi.gann
Io, try do like this:
You should use $_POST for the security, using $_REQUEST some users can pass a
inject or someting to crash the aplication, and addslashes is for more security
$firstName = addslashes($_POST['firstname']);
if(isset($firstName) && !empty($firstName)) {
$name = $
All of a sudden this stopped working and keeps defaulting to A again
if ($_SERVER['SCRIPT_FILENAME'] = "browse.php" ) {
$default = "A";
}
else {
$default = "";
}
> if(isset($_REQUEST['firstname']) && !empty($RESULT['firstname'])) {
> $name = $_REQUEST['firstname'];
> } else {
> $name = 'Sir or Madam';
> }
>
> Can anyone see any problems with the code?
Your conditional will never evaluate to true. What is $RESULT? Where
did it come from? $RESULT is no
On Thu, Jul 2, 2009 at 3:54 AM, Michael A. Peters wrote:
> Nick Cooper wrote:
>>
>> Does anyone have any further information on the PECL Binaries for 5.3,
>> will
>> they be released?
>
> I don't, but I suspect it is just a matter of compile + test.
We develop on Windows and deploy on Linux, so wi
> So Haileigh Grace Brown, born at 02:45 EDT Monday morning, 27
> July, 2009, weighed in at 6lbs 4oz and was 17.5 inches long.
Oh, wow, congrats! My best wishes to Haileigh and her parents! I:
(a) approve the choice of middle name, since that's what we called our
daughter ;)
(b) sympathis
Thanks!
On Mon, Aug 3, 2009 at 10:13 AM, Andrew Ballard wrote:
> On Mon, Aug 3, 2009 at 1:08 PM, Allen McCabe
> wrote:
> > I created a simple survey for my work website, most of the PHP is on my
> > process.php document, which is referenced by a form on a seperate page
> > containing the form w
On Mon, 03 Aug 2009 20:11:44 +0300, "Parham Doustdar"
wrote:
Your if-statement should be like this:
[code]
if(isset($_REQUEST['firstname']) && !empty($_REQUEST['firstname'])) {
...
}
[/code]
Or even:
[code]
if(!empty($_REQUEST['firstname'])) {
...
}
[/code]
Because empty will also check
Your if-statement should be like this:
[code]
if(isset($_REQUEST['firstname']) && !empty($_REQUEST['firstname'])) {
...
}
[/code]
--
---
Contact info:
Skype: parham-d
MSN: fire_lizard16 at hotmail dot com
email: parham90 at GMail dot com
"Allen McCabe" wrote in message
news:657acef20908031008nc
On Mon, Aug 3, 2009 at 1:08 PM, Allen McCabe wrote:
> I created a simple survey for my work website, most of the PHP is on my
> process.php document, which is referenced by a form on a seperate page
> containing the form with the method of "post".
>
> On my process.php page, the script obtains the
I created a simple survey for my work website, most of the PHP is on my
process.php document, which is referenced by a form on a seperate page
containing the form with the method of "post".
On my process.php page, the script obtains the field data using the
$_REQUEST[] function.
I have a small if
Daniel Brown wrote:
> (behind schedule) and distribute refunds to clients. Having a baby is
> difficult enough; having a baby and a career is more difficult; having
> a baby and working as a freelancer or owner/operator of a company is
> the epitome of masochism --- I'm learning that quite thoroug
Congratulations to you and your wife and best wishes for the future.
That's quite a few issues to have to deal with at once and I'm happy
to see you emerge from the other side more or less ok.
-Stuart
2009/8/3 Daniel Brown :
> ALL:
>
> It's far easier to drop a line to the mailing lists and
Oh wow,
I didn't know your wife had gone into labour or anything :( Sorry to
hear of the stress and very glad to hear both are alive and doing well.
Congratulations!
Cheers,
Rob.
Daniel Brown wrote:
ALL:
It's far easier to drop a line to the mailing lists and BCC a few
others th
i add me to the question.
2009/8/3 Peter Ford
> seb wrote:
> > Hey all,
> >
> > i am using move_upload function to upload files to the server, but i
> > want to add a feature that will allow files to be archived that have
> > been uploaded already.
> >
> > so, the problem is:
> >
> > i upload a
Here is is incase anyone else ever needs it.
//Create array with letters AND number
sign$letters = range('A','Z');
array_push($letters, 'nums');
$menu = '';
ALL:
It's far easier to drop a line to the mailing lists and BCC a few
others than to write back to many individually.
Thanks for the concern and well-wishes from the many who wrote to
me during the last 10 days. It's very, very kind of you, and much
appreciated. I'm honored that yo
And here is the objective:
Alter your Acme, Inc. download interface from the previous lesson(I
had to not to allow users on computers straing IP with 202 and allow
only IE for Win and FF for Mac to download file) so that each user
must register her email address in order to download the file. Use
c
On Mon, 2009-08-03 at 17:35 +0200, Grega Leskovsek wrote:
> Here is one of my final objectives at PHP introductory course ot
> O'Reilly. The strange thing that setting a cookie in that program
> les13uadownload.php doesn't work. I don't have a clue - sometimes in
> other programs when I run them th
Here is one of my final objectives at PHP introductory course ot
O'Reilly. The strange thing that setting a cookie in that program
les13uadownload.php doesn't work. I don't have a clue - sometimes in
other programs when I run them they set cookies and sometimes not. To
see the full functionality of
On 8/3/09 9:46 AM, "sono...@fannullone.us" wrote:
On Aug 3, 2009, at 7:19 AM, Miller, Terion wrote:
> Not sure why none of these are working for me since you have them
> tested against your tableI get this error...
Hopefully I'm not speaking out of turn here, but did you by any
On Aug 3, 2009, at 7:19 AM, Miller, Terion wrote:
Not sure why none of these are working for me since you have them
tested against your tableI get this error...
Hopefully I'm not speaking out of turn here, but did you by any
chance copy and paste that code from an e-mail? If so, ther
seb wrote:
> Hey all,
>
> i am using move_upload function to upload files to the server, but i
> want to add a feature that will allow files to be archived that have
> been uploaded already.
>
> so, the problem is:
>
> i upload a file that i want to "upgrade" and move the old file to an
> archiv
On 8/1/09 1:47 AM, "Andrew Ballard" wrote:
On Fri, Jul 31, 2009 at 5:55 PM, Phpster wrote:
> What about
>
> $sql = "SELECT DISTINCT ID, name, address FROM restaurants WHERE
> left(name, 1) between 0 and 9";
>
>
>
>
> Bastien
>
> Sent from my iPod
You need to wrap the 0 and the 9 in single quo
On 8/1/09 12:04 AM, "Paul M Foster" wrote:
$values = implode(',', $other);
For some reason no matter how I tried to get it to say # should pull anything
that does not start with a letter.
It pulls all restaurantsor it breaks the full script.
Here are all the things I have tried so fa
On Aug 3, 2009, at 7:04 AM, seb wrote:
Hey all,
i am using move_upload function to upload files to the server, but i
want to add a feature that will allow files to be archived that have
been uploaded already.
so, the problem is:
i upload a file that i want to "upgrade" and move the
Hey all,
i am using move_upload function to upload files to the server, but i
want to add a feature that will allow files to be archived that have
been uploaded already.
so, the problem is:
i upload a file that i want to "upgrade" and move the old file to an
archive directory but I want to
> -Original Message-
> From: Ralph Deffke [mailto:ralph_def...@yahoo.de]
> Sent: 03 August 2009 02:41
>
> problem:
>
> __ construct( $something ... variable argument list ){
> parent::__construct( ??? );
> }
>
> I tried with func_get_args, but the problem is that it gives an
> indexe
Hi
> The thing with this method is that it's just like the previous one; it opens
> then adds something. I'm assuming if again two visitors visit at the same
> time, this'd reset to zero.
No, the "a" mode (IIRC) handles file locking for you. Even if it
doesn't, the file won't be truncated, so you
Paul Halliday wrote:
> Whats the cleanest (I have a really ugly) way to break this:
>
> [21/Jul/2009:00:00:47 -0300]
>
> into:
>
> date=21/jul/2009
> time=00:00:47
>
> Caveats:
>
> 1) if the day is < 10 the beginning of the string will look like
> "[1/...
> 2) the "-0300" will differ dependin
On Sun, 02 Aug 2009 13:14:42 +0300, "Parham Doustdar"
wrote:
Now this one always sets the file to one for some reason. I'll reiterate
just in case there's been a misunderstanding on my part:
[code]
$fp = fopen($f, "r+");
while (!flock($fp, LOCK_EX))
sleep(1);
$count = fgets($fp,filesize($fp));
On Mon, 03 Aug 2009 11:01:13 +0300, leledumbo
wrote:
How can I make a radio button in one entry to behave independently from
the
one in another so that it can be accessed as name and email above?
This should work:
--
--
PHP General Mailing List (http://www.php.net/)
To unsubsc
I'm creating a form with variable number of entries (user controlled) where
each entry consists of some input fields. For most input types, appending []
to their names is enough to allow me processing each entry. So, for
instance, if there are 3 entries with field name[] and email[], they can be
a
60 matches
Mail list logo