Hello David, Jim,
Thanks for your response.
Yes, I do have session_start() at the top of Report.php.
The reason for having the query on a different page than the result
is that the result may be sent to various output types / scripts.
I will change my code as follows:
Engine.php
-
$re
OK guys, thanks for all your inputs.
Based on your guidance, I have tested the following code with a
series of variations:
class foobar {
function bar2 () {
echo "Yep, in bar2() right now\n";
}
public function foo2
Instruct ICC wrote:
>>> Greetings everyone, I was wondering where I could find information on the
>>> status and possibilities of threads being included in PHP. Or if you are
>>> knowledge-able on the status of threads, if it is a planned addition or not
>>> and the reasons as such. I understand PH
> Alberto García Gómez wrote:
> > I trying to include some image generate for a function that use GD.
> >
> > eg.:
> >
> > function myfunct(){
> > [MY_CODE]
> > }
> >
> > but when I call the function it generate me a lot of symbols, letters and
> > numbers but no image.
> >
> > WHAT CAN I
Alberto García Gómez wrote:
I trying to include some image generate for a function that use GD.
eg.:
function myfunct(){
[MY_CODE]
}
but when I call the function it generate me a lot of symbols, letters and
numbers but no image.
WHAT CAN I DO?
PS.: I actually usgin a iframe to create th
Rahul Sitaram Johari wrote:
Ave,
Somehow my PHP won't access, won't even acknowledge the existence of a file
that is outside the /Library/WebServer/Documents folder. This was never a a
problem before in any Mac version - it just started with Leopard.
I don't know what has changed where, in http
I trying to include some image generate for a function that use GD.
eg.:
function myfunct(){
[MY_CODE]
}
but when I call the function it generate me a lot of symbols, letters and
numbers but no image.
WHAT CAN I DO?
PS.: I actually usgin a iframe to create the iomage in another .php page
>> Greetings everyone, I was wondering where I could find information on the
>> status and possibilities of threads being included in PHP. Or if you are
>> knowledge-able on the status of threads, if it is a planned addition or not
>> and the reasons as such. I understand PHP is not thread safe, t
Jay Blanchard wrote:
[snip]
I have a MySQL table with four columns - userid, created_date, username
and path_to_picture. path_to_picture column contains the path to the
image files of those users who have uploaded pictures. An example path
stored in path_to_picture column is picture/username.p
Sudheer,
Post the code you are using and we'll better be able to point you in the right
direction to get your code working.
Wolf
Sudheer Satyanarayana <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have a MySQL table with four columns - userid, created_date, username
> and path_to_picture. p
[snip]
I have a MySQL table with four columns - userid, created_date, username
and path_to_picture. path_to_picture column contains the path to the
image files of those users who have uploaded pictures. An example path
stored in path_to_picture column is picture/username.png. There are
some
Hello,
I have a MySQL table with four columns - userid, created_date, username
and path_to_picture. path_to_picture column contains the path to the
image files of those users who have uploaded pictures. An example path
stored in path_to_picture column is picture/username.png. There are
some
Stéphane Boisvert wrote:
Greetings everyone, I was wondering where I could find information on the
status and possibilities of threads being included in PHP. Or if you are
knowledge-able on the status of threads, if it is a planned addition or not
and the reasons as such. I understand PHP is not
On Thu, 2007-11-01 at 09:05 -0700, Kulluji wrote:
> Hi Everybody,
>
> I am working in WAMP server for a small project. I am useing mysqlAdmin to
> create my tables. In this version of Mysql I am unable to set foreign key
> constraint. How do we do that?
>
> Thanks.
>
> Francis David Kullu
> --
Greetings everyone, I was wondering where I could find information on the
status and possibilities of threads being included in PHP. Or if you are
knowledge-able on the status of threads, if it is a planned addition or not
and the reasons as such. I understand PHP is not thread safe, that the core
On 11/1/07 12:43 PM, "Daniel Brown" <[EMAIL PROTECTED]> wrote:
> On 11/1/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote:
>
>> Is there a Terminal way of figuring out the UID/GID of something like admin,
>> apache etcetera?
>>
>> PS: I know it's going OT!
>>
>>
>>
>
> Yes, you'll fin
C.R.Vegelin wrote:
Hi All,
Q: Is it possible to transfer a query result to another script ?
For example with (fragments of) the following 2 scripts:
Engine.php
$result = mysqli_query($connect, $myquery);
if (!$result) error ...
if (mysqli_num_rows($result) == 0) error ...
$_SES
mike wrote:
On 11/1/07, Jim Lucas <[EMAIL PROTECTED]> wrote:
I noticed, while perusing the chop() manual page, that some people were giving
examples of Perl's
chop() and chomp() functions. Comments made about both said the examples were
good, but not correct.
what about trim(), rtrim() and
On 11/1/07, Jim Lucas <[EMAIL PROTECTED]> wrote:
> I noticed, while perusing the chop() manual page, that some people were
> giving examples of Perl's
> chop() and chomp() functions. Comments made about both said the examples
> were good, but not correct.
what about trim(), rtrim() and ltrim()
On 11/1/07, C.R.Vegelin <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> Q: Is it possible to transfer a query result to another script ?
> For example with (fragments of) the following 2 scripts:
>
> Engine.php
>
> $result = mysqli_query($connect, $myquery);
> if (!$result) error ...
>
I've figured it out :)
Thanks for the help, I just need to walk away for a minute and come
back to it.
all I need to do is this:
myClass.php
--
Now I can create/edit/maninpulate/etc new and old instances of
"mySecondClass"
*/
}
?>
mySecondClass.php
On Thu, 2007-11-01 at 17:16 +0100, Jochem Maas wrote:
> Robert Cummings wrote:
> > On Thu, 2007-11-01 at 16:10 +0100, Jochem Maas wrote:
> >> I've completely lost track of the state of the exact OO rules in any
> >> given version of php5)
> >
> > Haha, you too eh!?
> >
> > BTW, I finally bothered
On 11/1/07, Eric Butera <[EMAIL PROTECTED]> wrote:
>
> I don't know if this has been said yet, but in 5.3 they added this:
> Dynamic static calls: $c = "classname"; $c::someMetod();
apparently it works in 5.2.4 as well:
staticMethod();
$foo->nonstaticMethod();
?>
-nathan
On 11/1/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote:
> Is there a Terminal way of figuring out the UID/GID of something like admin,
> apache etcetera?
>
> PS: I know it's going OT!
>
>
>
Yes, you'll find those UIDs in /etc/passwd. For example:
apache:x:48:48:Apache:/var/www:/s
On Nov 1, 2007, at 7:10 AM, Paul van Haren wrote:
Hi there,
I'm trying to execute function variables. This works fine outside
class
code, but gives a fatal error when run within a class. The demo
code is
here:
foo2();
?>
The error message reads:
Fatal error: Call to undef
On 11/1/07 12:17 PM, "Daniel Brown" <[EMAIL PROTECTED]> wrote:
> On 11/1/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote:
>> Well FollowSymLinks was present in my httpd.conf, and it's definitely not
>> the problem. I think the problem is the fact that on in Panther, I was able
>> to specify Ap
On 11/1/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote:
>
> On 11/1/07 10:41 AM, "Daniel Brown" <[EMAIL PROTECTED]> wrote:
>
> > On 11/1/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote:
> >>> 1.) Did you restart Apache after making any changes to php.ini or
> >>> httpd.conf?
> >>> 2.
Robert Cummings wrote:
> On Thu, 2007-11-01 at 16:10 +0100, Jochem Maas wrote:
>> I've completely lost track of the state of the exact OO rules in any
>> given version of php5)
>
> Haha, you too eh!?
>
> BTW, I finally bothered to download PHP 5.2.4 last night and checked it
> out. This is the fi
Kulluji wrote:
> Hi Everybody,
>
> I am working in WAMP server for a small project. I am useing mysqlAdmin to
> create my tables. In this version of Mysql I am unable to set foreign key
> constraint. How do we do that?
ask someone in on a mysql or phpmyadmin mailing list - we are not here to
sup
On 11/1/07 10:41 AM, "Daniel Brown" <[EMAIL PROTECTED]> wrote:
> On 11/1/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote:
>>> 1.) Did you restart Apache after making any changes to php.ini or
>>> httpd.conf?
>>> 2.) The path is cAsE-sEnSiTiVe. Did you make sure that it's
>>> EXACTLY t
Hi Everybody,
I am working in WAMP server for a small project. I am useing mysqlAdmin to
create my tables. In this version of Mysql I am unable to set foreign key
constraint. How do we do that?
Thanks.
Francis David Kullu
--
View this message in context:
http://www.nabble.com/Foreign-Key-Pro
Thanks, Alan - I probably should admit to being totally complacent! I
haven't gone back to validate those pages for years (they 'appear' to work)
and am chagrined to find so many errors! I have my work cut out for me - and
honestly appreciate the time you've taken to provide feedback.
Thank you
I noticed, while perusing the chop() manual page, that some people were giving examples of Perl's
chop() and chomp() functions. Comments made about both said the examples were good, but not correct.
A person gave an explanation of what the chomp() function did. So, I took it upon myself to try
On Thu, 2007-11-01 at 16:10 +0100, Jochem Maas wrote:
> I've completely lost track of the state of the exact OO rules in any
> given version of php5)
Haha, you too eh!?
BTW, I finally bothered to download PHP 5.2.4 last night and checked it
out. This is the first time I've seen a speed improvemen
On 11/1/07, Jochem Maas <[EMAIL PROTECTED]> wrote:
>
> Sebastian Hopfe wrote:
> > I think you should log it, because it seems to be, and you found this
> > error.
>
> it's not a bug - especially because nobody has bothered to mention the php
> version.
this issue has the same implications in php4
Hi All,
Q: Is it possible to transfer a query result to another script ?
For example with (fragments of) the following 2 scripts:
Engine.php
$result = mysqli_query($connect, $myquery);
if (!$result) error ...
if (mysqli_num_rows($result) == 0) error ...
$_SESSION['result'] = $res
Sebastian Hopfe wrote:
> I think you should log it, because it seems to be, and you found this
> error.
it's not a bug - especially because nobody has bothered to mention the php
version.
I'm guessing that it's being run on a version php5, in which case the fatal
error
seems correct - you have
On 11/1/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote:
> > 1.) Did you restart Apache after making any changes to php.ini or
> > httpd.conf?
> > 2.) The path is cAsE-sEnSiTiVe. Did you make sure that it's
> > EXACTLY the same?
> > 3.) Is any part of that symlinked, and if so, does
On 11/1/07 10:22 AM, "Daniel Brown" <[EMAIL PROTECTED]> wrote:
> On 11/1/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
>> On Thu, 2007-11-01 at 09:06 -0400, Rahul Sitaram Johari wrote:
>>> Ave,
>>>
>>> Somehow my PHP won't access, won't even acknowledge the existence of a file
>>> that is outsi
On 11/1/07 9:46 AM, "Robert Cummings" <[EMAIL PROTECTED]> wrote:
> On Thu, 2007-11-01 at 09:06 -0400, Rahul Sitaram Johari wrote:
>> Ave,
>>
>> Somehow my PHP won't access, won't even acknowledge the existence of a file
>> that is outside the /Library/WebServer/Documents folder. This was never a
On 11/1/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> On Thu, 2007-11-01 at 09:06 -0400, Rahul Sitaram Johari wrote:
> > Ave,
> >
> > Somehow my PHP won't access, won't even acknowledge the existence of a file
> > that is outside the /Library/WebServer/Documents folder. This was never a a
> > pr
On 10/31/07, Jake <[EMAIL PROTECTED]> wrote:
> > Jake wrote:
> >> while($begin < $end)
> >> {
> >> if ($start == 'false')
> >> {
> >> if (empty($temp[$begin]))
> >> {
> >> $start = 'true';
> >> }
> >> }
> >> else
> >> {
> >> $data .= chop($tem
On 11/1/07, Sebastian Hopfe <[EMAIL PROTECTED]> wrote:
>
> I think you should log it, because it seems to be, and you found this
> error.
i would not consider this a bug.
what paul is asking about is the variable function syntax in php.
http://www.php.net/manual/en/functions.variable-functions.ph
On Thu, 2007-11-01 at 09:06 -0400, Rahul Sitaram Johari wrote:
> Ave,
>
> Somehow my PHP won't access, won't even acknowledge the existence of a file
> that is outside the /Library/WebServer/Documents folder. This was never a a
> problem before in any Mac version - it just started with Leopard.
>
Ave,
Somehow my PHP won't access, won't even acknowledge the existence of a file
that is outside the /Library/WebServer/Documents folder. This was never a a
problem before in any Mac version - it just started with Leopard.
I don't know what has changed where, in httpd.conf or php.ini or somewher
I think you should log it, because it seems to be, and you found this error.
Regard
Sebastian
"Paul van Haren" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
Thanks, this helps. The code now works.
In case this is truely a bug in PHP, where should I log it? Anything that
I s
Thanks, this helps. The code now works.
In case this is truely a bug in PHP, where should I log it? Anything that
I should do to make sure that it gets followed up?
Regards, Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
It seems to be a PHP Bug, because normaly it should very well.
but you can solve this problem, by a workarround.
using "eval($a."();");" instead of "$a();" in the class.
Best regards
Sebastian
"Paul van Haren" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
Hi there,
I'm
I just did. The result is the same however
Regards, Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Dear Andrew,
I think normaly it isn't possible to use another class in a class, without
using extends. But you should use your array as a container. After you use
as a container, you can make new instance into a array field.
Now you can use the content of the container to administrate the ins
Try using parent::bar2(); instead of foobar::bar2();
Op 1-nov-2007, om 12:10 heeft Paul van Haren het volgende geschreven:
Hi there,
I'm trying to execute function variables. This works fine outside
class
code, but gives a fatal error when run within a class. The demo
code is
here:
Hi there,
I'm trying to execute function variables. This works fine outside class
code, but gives a fatal error when run within a class. The demo code is
here:
foo2();
?>
The error message reads:
Fatal error: Call to undefined function
foobar::bar2() in /home/paul/demo/demo.php
52 matches
Mail list logo