On Wed, Feb 27, 2013 at 9:14 PM, Curtis Maurand wrote:
>
> Well that means the docs on the PEAR MDB2 website are incorrect and should
> be fixed. Thanks for the lesson.
If there's an issue with the docs, you're right, they should
definitely be fixed. We'd appreciate it very much if you coul
On 2/27/2013 6:32 PM, tamouse mailing lists wrote:
On Wed, Feb 27, 2013 at 2:42 AM, Sebastian Krebs wrote:
2013/2/27 tamouse mailing lists
Well, *I* have a stupid question: is $lhv =& expr the same as $lhv = &expr
??
Yes :) Because an operator "=&" doesn't exists, thus the lexer will split
t
On Wed, Feb 27, 2013 at 2:42 AM, Sebastian Krebs wrote:
> 2013/2/27 tamouse mailing lists
>> Well, *I* have a stupid question: is $lhv =& expr the same as $lhv = &expr
>> ??
>
> Yes :) Because an operator "=&" doesn't exists, thus the lexer will split
> them into the tokens "= &", or "= WHITESPAC
2013/2/27 tamouse mailing lists
> On Tue, Feb 26, 2013 at 4:41 PM, Jim Lucas wrote:
> > On 02/26/2013 01:27 PM, Curtis Maurand wrote:
> >>
> >> I have the following:
> >>
> >> $dsn = "mysqli://$username:$password@$hostname2/$database";
> >> $options = array(
> >> 'debug' => 3,
> >> 'result_buffe
On Tue, Feb 26, 2013 at 4:41 PM, Jim Lucas wrote:
> On 02/26/2013 01:27 PM, Curtis Maurand wrote:
>>
>> I have the following:
>>
>> $dsn = "mysqli://$username:$password@$hostname2/$database";
>> $options = array(
>> 'debug' => 3,
>> 'result_buffering' => false,
>> );
>> $dbh =& MDB2::factory($dsn,
On 02/26/2013 01:27 PM, Curtis Maurand wrote:
I have the following:
$dsn = "mysqli://$username:$password@$hostname2/$database";
$options = array(
'debug' => 3,
'result_buffering' => false,
);
$dbh =& MDB2::factory($dsn, $options);
if (PEAR::isError($mdb2))
{
die($mdb2->getMessage());
}
funct
Hi,
I'm getting: Call to undefined method MDB2_Error::fetchrow()
Have your checked if $dbh->query() throws an error?
It seems $result is a different type than expected.
HTH
Kind regards/met vriendelijke groet,
Serge Fonville
http://www.sergefonville.nl
Convince Microsoft!
They need to add T
On 2/26/2013 4:33 PM, Daniel Brown wrote:
On Tue, Feb 26, 2013 at 4:27 PM, Curtis Maurand wrote:
I have the following:
$dsn = "mysqli://$username:$password@$hostname2/$database";
$options = array(
'debug' => 3,
'result_buffering' => false,
);
$dbh =& MDB2::factory($dsn, $option
Daniel Brown wrote:
>On Tue, Feb 26, 2013 at 4:27 PM, Curtis Maurand
>wrote:
>> I have the following:
>>
>> $dsn = "mysqli://$username:$password@$hostname2/$database";
>> $options = array(
>> 'debug' => 3,
>> 'result_buffering' => false,
>> );
>> $dbh =& MDB2::factory($dsn, $option
On Tue, Feb 26, 2013 at 4:27 PM, Curtis Maurand wrote:
> I have the following:
>
> $dsn = "mysqli://$username:$password@$hostname2/$database";
> $options = array(
> 'debug' => 3,
> 'result_buffering' => false,
> );
> $dbh =& MDB2::factory($dsn, $options);
> if (PEAR::isError($m
I have the following:
$dsn = "mysqli://$username:$password@$hostname2/$database";
$options = array(
'debug' => 3,
'result_buffering' => false,
);
$dbh =& MDB2::factory($dsn, $options);
if (PEAR::isError($mdb2))
{
die($mdb2->getMessage());
}
On Tue, October 31, 2006 9:42 pm, Google Kreme wrote:
>> My first guess would be to check out the various "panel" solutions
>> for
>> having a web interface that webhosts provide to edit what is
>> essentially a simple text file, which configures the web server,
>> mail
>> server, ftp server, etc.
On 31 Oct 2006, at 09:20 , Ed Lazor wrote:
On Oct 30, 2006, at 11:34 PM, Google Kreme wrote:
So, do I whack up something where I just load the file into a HTML
Textarea and then write it back (simple enough, though possibly
rather dangerous), or is there something straightforward I should
g
On Tue, October 31, 2006 1:34 am, Google Kreme wrote:
> So, do I whack up something where I just load the file into a HTML
> Textarea and then write it back (simple enough, though possibly
> rather dangerous), or is there something straightforward I should go
> ahead and use that might find use els
On Oct 30, 2006, at 11:34 PM, Google Kreme wrote:
So, do I whack up something where I just load the file into a HTML
Textarea and then write it back (simple enough, though possibly
rather dangerous), or is there something straightforward I should
go ahead and use that might find use elsewhe
I have a text file on a server that I want someone to be able to edit
via the web. I need it to have some modicum of security, but it's
nothing particularly important and security is not the main concern.
I am perfectly willing to simply http-auth it, if need be.
But it need to be easily
I'll bet your hosting environment has not installed the php sources.
If the server is shared with other clients, you'll probably need to
download the source and compile php in your user space and run it as a
CGI (if your host allows this configuration). Hopefully they have
some allowances for thi
blackwater dev wrote:
> Ok, doing that now and it's taking a while.
it might take forever. I made a thinko, it should have been:
php -i | grep configure
(it should be pretty much instantaneous)
I can do phpinfo but that
> tells
> me the config line and where the ini files are, not necessarily
Ok, doing that now and it's taking a while. I can do phpinfo but that tells
me the config line and where the ini files are, not necessarily where the
configure stuff is to recompile...correct?
On 8/7/06, Jochem Maas <[EMAIL PROTECTED]> wrote:
blackwater dev wrote:
> Ok,
>
> I am using a hosted
blackwater dev wrote:
> Ok,
>
> I am using a hosted server and php is installed from the linux distro. I
> usually have all the stuff in a php file somewhere so I can just go back
> ./configure, etc. I can't seem to find the configure for php on this
> box so
> I can recompile but I know it is t
Ok,
I am using a hosted server and php is installed from the linux distro. I
usually have all the stuff in a php file somewhere so I can just go back
./configure, etc. I can't seem to find the configure for php on this box so
I can recompile but I know it is there as I can use php and see the v
Richard Kurth wrote:
>
> I have a stupid question but I can not figure it out
> I am using a class that creates the select statement for mysql.
> I am ale to add all the data with out any problem. But when I run the
> class to get the results. I can only see the results by running echo in
> front o
r 2004 19:21
> An: PHP General
> Betreff: [PHP] stupid question about a class
>
>
> I have a stupid question but I can not figure it out
> I am using a class that creates the select statement for mysql.
> I am ale to add all the data with out any problem. But when I run the
I have a stupid question but I can not figure it out
I am using a class that creates the select statement for mysql.
I am ale to add all the data with out any problem. But when I run the
class to get the results. I can only see the results by running echo in
front of the call to the class .
echo $
On Sun, 5 Dec 2004 02:48:09 +0200, Phpu <[EMAIL PROTECTED]> wrote:
> If i have a php and mysql website...how many connections support mysql at one
> time ?
The number of connections allowed is controlled by the max_connections
system variable. Its default value is 100. If you need to support more
Phpu wrote:
Hi,
If i have a php and mysql website...how many connections support mysql at one time ?
Sorry people in this list do not know how to configure mysql
Thanks
--
Raditha Dissanayake.
--
http://www.radinks.com/print/car
Hi,
If i have a php and mysql website...how many connections support mysql at one
time ?
Thanks
On Wed, 2004-03-17 at 16:08, Jeff McKeon wrote:
>
> Ewe... OOP
That should read:
$this->ewww( 'OOP' )
:)
--
..
| InterJinn Application Framework - http://www.interjinn.com |
:---
With PHP 5 looming on the horizon (and even many already using it), it'd
be a good idea to go ahead and learn OOP now. ;-)
Jeff McKeon wrote:
Ewe... OOP
Ok, I guess I'll have to learn OOP.
Thanks for the info!
Jeff
--
Regards,
Ben Ramsey
http://benramsey.com
http://www.phpcommunity
Ewe... OOP
Ok, I guess I'll have to learn OOP.
Thanks for the info!
Jeff
> -Original Message-
> From: Jordan S. Jones [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 17, 2004 4:02 PM
> To: Jeff McKeon
> Subject: Re: [PHP] Stupid question
>
>
>
If you were going to call that function you would use $this->testfunc();
You're on the right track. If you're going to call that function (or
"method") from within the class, then you use the $this. Also, you can
use $this to access member variables from within the class. Outside of
the clas
Jeff McKeon wrote:
I've been using PHP for about 6 months and I'm ok with it but I'm now
starting to get into more advanced stuff and inheriting project that
other people have coded. One of the major stumpers I have is any line
of code that contains:
$this->
What does this do? I know it has som
Jeff McKeon wrote:
$this->
What does this do? I know it has something to do with classes but can't
quite get my head around it.
You might want to check out this:
http://ca.php.net/oop
--
Aaron Gould
Parts Canada - Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
On Wed, 2004-03-17 at 15:55, Jeff McKeon wrote:
> I've been using PHP for about 6 months and I'm ok with it but I'm now
> starting to get into more advanced stuff and inheriting project that
> other people have coded. One of the major stumpers I have is any line
> of code that contains:
>
> $this
I've been using PHP for about 6 months and I'm ok with it but I'm now
starting to get into more advanced stuff and inheriting project that
other people have coded. One of the major stumpers I have is any line
of code that contains:
$this->
What does this do? I know it has something to do with c
PHP and Apache 2 don't boogie.
A lot has changed in PHP over those versions... did you read the
relase/upgrade notes across those versions?? I assume quite a lot of your
issues are in relation to the register_globals directive in php.ini, which
now defaults to off, not on. If you switch it back,
Anything in the apache error_log?
-Original Message-
From: Tom Tsongas [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 10:58 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Stupid question perhaps?
I just recently upgraded to PHP 4.3.1 and Apache 2.0.44. I had been
previously running
Thx for the feedback everyone.
Based on what most have told me, I think I will defer to an older Apache
version (1.3.x) and use that with the latest PHP. Not enough time to
experiment with getting newer Apache to work with newest PHP.
- Tom
Evan Nemerson wrote:
-BEGIN PGP SIGNED MESSAGE--
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
register globals is of in newer versions of php. you can re-enable it in the
php.ini.. See
http://www.php.net/manual/en/configuration.directives.php#ini.register-globals
On Thursday 27 March 2003 10:57 am, Tom Tsongas wrote:
> I just recently upgra
Tom:
The install.txt file that came with PHP 4.3.1 states:
At this time, support for Apache 2 is experimental. It's
highly recommended you use PHP with Apache 1.3.x and not
Apache 2.
aap
Tom Tsongas wrote:
> I just recently upgraded to PHP 4.3.1 and Apache 2.0.44. I had been
> previou
I just recently upgraded to PHP 4.3.1 and Apache 2.0.44. I had been
previously running PHP 4.0.4 and Apache 1.3.20. I had a fully enabled
PHP website that I had been developing on for some time.
After I upgraded, the entire website is virtually non-functional. I keep
receiving 'Page cannot Displ
> How do you make a command not return a warning... I thought it was the
> @ sign, but i think i'm wrong, and everything i've tried hasn't worked,
> i want this for a switch command if that matters.
It's the @ sign. Put it right before the command, as in @fopen(). Show us
the line that is giving y
How do you make a command not return a warning... I thought it was the
@ sign, but i think i'm wrong, and everything i've tried hasn't worked,
i want this for a switch command if that matters.
-Eric Conrad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.n
Because PHP performs evaluation on the contents of double quotes and
does not evaluate the contents of single quotes. This is covered in the
PHP manual in the Variables section at
http://www.php.net/manual/en/language.variables.php.
Jason
On Thu, 2003-02-06 at 08:27, Chris Boget wrote:
> Why is
Why is it that \n gets translated to a _new line_ when in
double quotes whereas it's displayed as the literal when
in single quotes? I checked out the docs but couldn't
come up with a definitive answer. If someone could point
me to the right page in the docs that explains this, I'd be
ever so ap
Remon, et al --
...and then Remon Redika said...
%
% hi everyone,
Hi!
%
% It's Possible We used Php Scripting to Back the client Browser
Well, yes and no. There was just a new 'crumb' class released (see
http://www.phpclasses.org/browse.html/package/934.html
for more) which will let y
agents will set
this, and some provide the ability to modify HTTP_REFERER as a feature. In
short, it cannot really be trusted.
-Original Message-
From: Remon Redika [mailto:[EMAIL PROTECTED]]
Sent: Monday, 13 January 2003 8:33 PM
To: [EMAIL PROTECTED]
Subject: [PHP] stupid question (Back
hi everyone,
It's Possible We used Php Scripting to Back the client Browser
Like This Below :
(ussualy I make it with java script) :
"javascript:history.back(1)"
but right now, i need using the 'header's function', functionaly to back
the page to previouse page.
sorry before :)
--
PHP Ge
I have almost two years of experience in PHP. so don't think qualified for
being a newbie...However still found something don't know when reading
other's code :(
Here is what I want to know: $Global{'hello'}. What this means? Is it a
Variable-variable?
Alex
--
---
T
Liam MacKenzie wrote:
>>Ok, I'm having a blonde day...
>>
>>If $idx == 1, 4 or 9 I don't want it to echo $results.
>>I have this, what's the syntax to put multiple values in there?
>>
>>
>>if ($idx != "1") {
>>echo"$results";
>>}
Another way to do it is by using in_array(), like so:
if (!in_arr
CTED]
> Subject: Re: [PHP] stupid question
>
> César Aracena wrote:
>
> >Just usa an OR concatenator like:
> >
> >If ($idx != '1' OR $idx != '4' OR $idx != '9'){
> >echo $results;
> >}
> >
>
> Actually, this statement
César Aracena wrote:
>Just usa an OR concatenator like:
>
>If ($idx != '1' OR $idx != '4' OR $idx != '9'){
>echo $results;
>}
>
Actually, this statement will always evaluate to true. I think you mean
to use &&.
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: h
There are other ways of doing this, but I think you might be looking for
the logical AND operator (&&).
if ($idx != "1" && $idx != "4" && $idx != "9")
Happy hacking.
Chris
Liam MacKenzie wrote:
>Ok, I'm having a blonde day...
>
>If $idx == 1, 4 or 9 I don't want it to echo $results.
>I have
if ( ($idx != "1") || ($idx != "4") || ($idx != "9") )
{
echo "$results";
}
Adam
On Thu, 15 Aug 2002, Liam MacKenzie wrote:
> Ok, I'm having a blonde day...
>
> If $idx == 1, 4 or 9 I don't want it to echo $results.
> I have this, what's the syntax to put multipl
ie [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 15, 2002 12:42 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] stupid question
>
> Ok, I'm having a blonde day...
>
> If $idx == 1, 4 or 9 I don't want it to echo $results.
> I have this, what's the syntax
Ok, I'm having a blonde day...
If $idx == 1, 4 or 9 I don't want it to echo $results.
I have this, what's the syntax to put multiple values in there?
if ($idx != "1") {
echo"$results";
}
Thanks,
Liam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.
gt;
>
> Robert V. Zwink
> http://www.zwink.net
>
>
> -Original Message-
> From: Craig Vincent [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 02, 2002 5:54 AM
> To: Liam MacKenzie; [EMAIL PROTECTED]
> Subject: RE: [PHP] Stupid question
>
>
>
> > I
To: Liam MacKenzie; [EMAIL PROTECTED]
Subject: RE: [PHP] Stupid question
> I have a script that outputs this:
> 0.023884057998657
>
> What's the command to make it shrink down to this:
> 0.023
>
>
> I thought it was eregi() something, but I forgot. sorry
It depends
>> I have a script that outputs this:
>> 0.023884057998657
>>
>> What's the command to make it shrink down to this:
>> 0.023
>>
>> I thought it was eregi() something, but I forgot. sorry
>
> It depends on what you need.
>
> If you want to round the number off to 3 decimal points use the round()
>
> I have a script that outputs this:
> 0.023884057998657
>
> What's the command to make it shrink down to this:
> 0.023
>
>
> I thought it was eregi() something, but I forgot. sorry
It depends on what you need.
If you want to round the number off to 3 decimal points use the round()
function.
I have a script that outputs this:
0.023884057998657
What's the command to make it shrink down to this:
0.023
I thought it was eregi() something, but I forgot. sorry
Cheers
(I've spent the last 10 minutes reading the manual, can't find it!!!)
--
PHP General Mailing List (http://www.ph
RE: [PHP] Stupid QuestionThanks for all the responses.
Just to be clear, I have php installed as a module, so I have to re-compile apache.
- Original Message -
From: Adam Plocher
To: 'PHP List'
Sent: Thursday, February 28, 2002 9:46 AM
Subject: RE: [PHP] Stupi
28, 2002 5:44 PM
To: Jackson Miller; PHP List; php
Subject: Re: [PHP] Stupid Question
> I thought that you do have to recompile if you are running PHP as a
module,
> but not if you are running PHP as CGI. I could be wrong.
No, you do not have to recompile apache. I did this on all three
> I thought that you do have to recompile if you are running PHP as a
module,
> but not if you are running PHP as CGI. I could be wrong.
No, you do not have to recompile apache. I did this on all three of my
machines:
./configure --with-apxs=/usr/sbin/apxs --with-mysql
make
make install
/usr/s
Subject: RE: [PHP] Stupid Question
I thought that you do have to recompile if you are running PHP as a module,
but not if you are running PHP as CGI. I could be wrong.
-Jackson
-Original Message-
From: Greg Donald [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 28, 2002 12:28 PM
To: PHP
] Stupid Question
> Yes, this is probably in the manual, but I can't find it.
>
> If I want to upgrade from 4.0.6 to 4.1.2, do I have to re-compile apache
as
> well?
No. I just upgraded 3 machines this morning, and left Apache the sa
> Yes, this is probably in the manual, but I can't find it.
>
> If I want to upgrade from 4.0.6 to 4.1.2, do I have to re-compile apache
as
> well?
No. I just upgraded 3 machines this morning, and left Apache the same on
all of them.
-
Yes, this is probably in the manual, but I can't find it.
If I want to upgrade from 4.0.6 to 4.1.2, do I have to re-compile apache as
well?
Thanks
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks for everyone's comments. If I understand what you are saying it
should be possible to fill the content of a layer by issuing some sort of
server include command.. (?) So, for example, rather than have a something
that looks like this:
Thanks for everyone's comments. If I understand what you are saying it
should be possible to fill the content of a layer by issuing some sort of
server include command.. (?) So, for example, rather than have a something
that looks like this:
iginal Message -
From: "Bogdan Stancescu" <[EMAIL PROTECTED]>
Newsgroups: php.general
To: "tim at 10Kv" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, January 04, 2002 6:17 PM
Subject: Re: [PHP] Stupid question alert
> Your question is not st
Your question is not stupid - it's just uninformed, and that's easily
understandable if you never used PHP.
The concept is dynamically creating the page SERVER-SIDE. That is, use some
databases or some nifty code to dynamically build a page using specific
parameters. Unforunately for you, this me
Hi,
first of all apologise to the list this is a very basic question for you
I¹m sure. I have tried to find an answer on the web but the problem is
knowing HOW to ask the question and I hoping you can provide me with a
starting point.
Anyway.. I design a lot of graphic intensive pages which
73 matches
Mail list logo