of aliases, but same idea... here is a
snippet
Jake
$buffer = '';
$fp = fopen(php://stdin, r);
if ($fp)
{
while(!feof($fp))
{
$buffer .= fgets($fp, 4096);
}
fclose($fp);
}
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is there any possibility to trigger an action when the session is
inactive
for some time? I need to log users' login and logout, and so I need to
know
about logouts caused by timeout. Neither there seems to be a possibility
of a workaround like walking through all my sessions for timeouted ones
*better practice*?
I'd say 98% of the time I return a value back so I can verify the result.
You could verify the result within the function, but that would cause the
function to become less portable, and most of the time I use the same
function in more than one place, or try to.
Jake
--
PHP
formatted email from any standard client.
In most of my tests, everything works fine, but a test with many spaces trying
to wrap them, it gives a =20 in the email result.
It's probably simple.. sitting here too long and its halloween!!
Thanks,
Jake
function parseEmail($buffer
Jake wrote:
while($begin $end)
{
if ($start == 'false')
{
if (empty($temp[$begin]))
{
$start = 'true';
}
}
else
{
$data .= chop($temp[$begin]) . \n;
}
$begin++;
}
return $from|$subject|$data;
}
You have got to be joking me
of relying on our own known
dictionary and numbers Everyone knows about animals.. My 0.02
Jake
-Original Message-
From: tedd [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 12, 2007 10:27 PM
To: Robert Cummings; Tijnema
Cc: tedd; Stut; Jim Lucas; php-general@lists.php.net
Subject
was deleted.
As long as the original file is not web accessable, no one can ever get it
unless they're logged in. :)
Jake
-Original Message-
From: Daevid Vincent [mailto:[EMAIL PROTECTED]
Sent: Monday, April 02, 2007 4:10 PM
To: php-general@lists.php.net
Cc: 'Mário Gamito'
Subject: RE
cancel, the work offline page
appears instead of the page you were on.. Just another reason not to
use IE But this was the only place I remembered that warning from
Jake
-Original Message-
From: Chris W. Parker [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 03, 2007 2:39 PM
foreach ($myarray as $key = $value)
{
echo $key = $value;
}
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Man-wai Chang
Sent: Sunday, April 01, 2007 3:59 AM
To: php-general@lists.php.net
Subject: [PHP] finding the index name of an associative array
Yep, that's what I did last night right after I sent the email out... All is
working good now.. THANKS!
Jake
-Original Message-
From: Jim Lucas [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 31, 2007 4:15 AM
To: Jake McHenry
Cc: php-general@lists.php.net
Subject: Re: [PHP
. But check out my
dot CAPTCHA here:
http://sperling.com/examples/p-captcha
Maybe I'm going blind.. But I don't see a circle on that page anywhere?
Everywhere I click it fails..
Jake
This does not use javascript, but does use sessions.
As you can see, the blue dot can be placed
mysql_query to use the current script variables in
place of the same variable name within the database output?
Thanks,
Jake
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.23/740 - Release Date: 3/30/2007
1:15 PM
--
PHP General
Sorry.. Typos... But that's not the point... I looked the function... Dunno
how I missed it Thanks... Do you know if eval() has any size limitations
to it? The database fields are about a page each
Thanks,
Jake
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED
way...
Jake
_
From: Daniel Brown [mailto:[EMAIL PROTECTED]
Sent: Friday, March 30, 2007 5:02 PM
To: Jake McHenry
Subject: Re: [PHP] Parsing database variables
Jake, could you use ereg_replace() to do that?
?
//
while($row = mysql_fetch_array($result)) {
$html
as I did with str_replace... As long as the variable
names have any kind of similar names Correct? I can resolve this I
suppose, but the data is already in place and trying to work around it...
Thanks,
Jake
-Original Message-
From: Jim Lucas [mailto:[EMAIL PROTECTED]
Sent: Friday
-Original Message-
From: Tijnema ! [mailto:[EMAIL PROTECTED]
Sent: Friday, March 30, 2007 6:04 PM
To: Jake McHenry
Cc: tedd; php-general@lists.php.net
Subject: Re: [PHP] Alternative/Addition to using a CAPTCHA
On 3/31/07, Tijnema ! [EMAIL PROTECTED] wrote:
On 3/30/07, Jake
Not quite sure what you mean, what you posted is what you need to do to make
the image a link... And that's what you wanted... So.. What are you asking?
Jake
-Original Message-
From: Tana [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 29, 2007 1:02 PM
To: php-general
Looks good to me... Had to use my laptop since none of my office sets have
speakers, tested it, tried bunch of stuff and it only let me in when I typed
in the code... So seems good :)
Jake
-Original Message-
From: tedd [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 29, 2007 12:41
-Original Message-
From: tedd [mailto:[EMAIL PROTECTED]
Sent: Monday, March 26, 2007 8:49 AM
To: php-general@lists.php.net
Subject: RE: [PHP] My own captcha from 2 years ago..
At 10:02 PM -0400 3/25/07, Jake McHenry wrote:
Like I said... Even if they have sound turned
The try again button doesn't work...
And geez I had this working ok the entire time When I saw yours it
hit me... I don't have a form. It would never echo out the code to
match whats in the picture... When the form is submitted it will check.. But
I didn't have it on a form... I was
what is currently in the pic
-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]
Sent: Monday, March 26, 2007 3:49 PM
To: Jake McHenry
Cc: 'itoctopus'; php-general@lists.php.net
Subject: RE: [PHP] Re: My own captcha from 2 years ago..
On Sat, March 24, 2007 11
He said if you run the /script/ itself 1000 times, not a loop with 1000
iterations. This is quite possible; I am fairly certain there are websites
out there that get accessed well over 1000 times a minute, yes?
So every minute, that website is saving a total of 2.6 seconds to do...
whatever it
..
But audio won't work for my intranet... Hardly any of the sets have
speakers... Productivity solution I guess...
Jake
-Original Message-
From: tedd [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 25, 2007 10:33 AM
To: Jake McHenry; php-general@lists.php.net
Subject: Re: [PHP] My own
Ok.. It all looks ok... I did some googling and found that Exchange requires
the Message-ID to be unique Which it really should be anyways... and
yours isn't. try adding time() or something to make it unique :)
Jake
-Original Message-
From: Robin Wilson [mailto:[EMAIL PROTECTED
can see from
http://nittanytravel.com:8080/$before and $after have the same value...
In that bug report I was reading it said that this happened until
session_start was called again.. But it said it was fixed back in php4...
Not sure what I missed :(
Thanks,
Jake
-Original Message
produkt
item
Gewenste leverdatum 27-01-2007 Streef Datum
Eventueel eigen produkt ideeën
Opmerkingen / aanvullende info
--d49718178131ebc038c576f007a40642--
Jake McHenry [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I take it there are no errors... And your using windows
, or just into a string. There are many ways to do what your
asking :)
Jake
-Original Message-
From: Otto Wyss [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 24, 2007 4:37 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Computing and calculating dates
Travis Doherty wrote
on saturdays after happy hour :(
Thanks,
Jake
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.17/731 - Release Date: 3/23/2007
3:27 PM
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
$legrow[$data-legs-leg[$k]['legId']]
?? See if that works...
Jake
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 24, 2007 11:27 PM
To: php-general@lists.php.net
Subject: [PHP] Array Question
Hi All
I am having a bit of trouble
What if you put $temp = $data-legs-leg[$k]['legId'];
And then put that into $legrow[$temp];
Do you have anything in $temp?
Jake
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 24, 2007 11:27 PM
To: php-general@lists.php.net
Subject: [PHP
) or die(There is an error Jake);
// R, G, B
$background_color = ImageColorAllocate($im, 255, 255, 255);
//R, G, B
$text_color = ImageColorAllocate($im, 0, 0, 0);
//font size, left margin, top margin
ImageString($im, 10, 3, 3, $code, $text_color);
//display image
ImagePNG($im
What is the result your getting?
Jake
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 24, 2007 11:57 PM
To: Jake McHenry
Cc: php-general@lists.php.net
Subject: RE: [PHP] Array Question
Hi Jake
I tried that and got the same result
Like I said.. I'm half crocked... So I'm trying my best here... Give me some
time...
What if you put $temp = $data-legs-leg[$k]['legId'];
Does $temp have anything in it?
Jake
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 25, 2007 12
Look at phpinfo(), you probably don't have PQSql support installed...
Jake
-Original Message-
From: Richard Dunne [mailto:[EMAIL PROTECTED]
Sent: Friday, March 23, 2007 1:31 PM
To: php-general@lists.php.net
Subject: [PHP] php support
Can anyone tell me where to get support
maintainers only What exactly does this do? I found one
reference by google that says funky stuff may happen with this enabled...??
I haven't tested it, I could try and let everyone know, but thought I would
ask first.
Thanks,
Jake
--
No virus found in this outgoing message.
Checked by AVG Free
If it still works, then why switch? I wrote my own auth routines Phplib
was last released last summer? That's not TOO old
http://phplib.sourceforge.net/
Jake
Hi.
Been using PHP since the 2.0 days, and been using PHPLib
since 2000 as
the main method of user authentication
On Fri, March 23, 2007 10:57 am, Markus Fischer wrote:
I'm searching for a high quality image resizing facility to be used
within PHP in an Unix/Linux environment.
Probably everyone will now answer: imagecopyresampled()
However, the quality of that functionality doesn't match the
I take it there are no errors... And your using windows... Sending to
exchange... I guess with seeing what you posted, I would start by echoing
out what you have in $to, $subject, $msg, $headers. Are there any errors in
Exchange logs? Do you see the message coming into Exchange queue?
Jake
Have you changed anything in an hour? I'm too lazy to compare the two
emails...
Jake
-Original Message-
From: Robin Wilson [mailto:[EMAIL PROTECTED]
Sent: Friday, March 23, 2007 10:46 PM
To: php-general@lists.php.net
Subject: [PHP] What is wrong with this function please
I scanned over it quick.. Looks interesting.. Thanks :) I'll get into it
more tomorrow
Jake
-Original Message-
From: Jochem Maas [mailto:[EMAIL PROTECTED]
Sent: Friday, March 23, 2007 7:58 PM
To: Jake McHenry
Cc: php-general@lists.php.net
Subject: Re: [PHP] Configure question
minutes... No biggie..
Thanks
Jake
-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]
Sent: Friday, March 23, 2007 8:59 PM
To: Jake McHenry
Cc: php-general@lists.php.net
Subject: RE: [PHP] Question before upgrading to 5
On Thu, March 22, 2007 6:23 am, Jake McHenry
you enough info
to set it up.
I don't need them running parallel, only both installed
Tijnema ! wrote:
On 3/22/07, Jake McHenry [EMAIL PROTECTED] wrote:
Hi everyone,
I just got done going through all my configure options for
php5, and
finally
configure finished successfully... I
\
--localstatedir=/var \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--with-exec-dir=/usr/bin \
Thanks,
Jake
Jake McHenry wrote:
Sorry about the delivery and read requests.. I was tired
and forgot to turn
them off for the list..
alternatively you can search for 'Rasmus
does this help?
http://www.php.lt/benchmark/phpbench.php
Jake
-Original Message-
From: Tijnema ! [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 22, 2007 4:38 PM
To: PHP
Subject: [PHP] Performance: While or For loop
Hi,
Does somebody has benchmarks of what is faster
within PHP with the
exec function.
Tijnema
Make sure your system is secure, users created are in their own group and
can't get to anything... Can't run anything, etc. I made that mistake a long
time ago when I was first starting out.. Ended up with a root kit installed
Yippe
Jake
I'll think about it.. We only use php for intranet applications I create,
so the server is basically dead at nights, which is when I do most of my
work.
Jake McHenry wrote:
I don't want 2 instances of apache running, your over
thinking this... I
whatever, I guess we have
I was going to say the same thing, but was too busy to worry about it
-Original Message-
From: Chris [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 22, 2007 7:14 PM
To: Tijnema !
Cc: php-general@lists.php.net
Subject: Re: [PHP] Passing variables
Tijnema ! wrote:
On 3/22/07,
I just asked this a bit ago. Time and Date seem to be the same, but
strtotime is definitly different, as that was what broke in my script in
php4, and I was told it worked as expected in php5.
-Original Message-
From: Chris [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 22, 2007
Also, on a daily basis last week after a windows update glitch... I had to
kill rogue IE processes after it was closed, which I found kept some of my
users logged in, which was fun...
Travis Doherty wrote:
By default the session cookie expires when the browseris closed.
this is not always
that will be served as directory
# indexes.
#
DirectoryIndex index.php
Thanks,
Jake
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.17/730 - Release Date: 3/22/2007
7:44 AM
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
,
I get a 304, with html I get a 200, with both I get a 200 but no php
output. What did I miss???
Thanks,
Jake
Hi everyone,
I decided I would spend the extra time and install separate
copies of apache
and php5. All went successfully, I thought. Apache starts and
runs on 8080,
I get
it
so that the module must be loaded before something else in httpd.conf
instead of calling it from an external config file..
Ok.. Now off to testing my scripts to see if they'll work under php5..
Jake
-Original Message-
From: Jake McHenry [mailto:[EMAIL PROTECTED]
Sent
I would do this the right
way, but we all know how that goes...
If this will work, I can then just uninstall 4.. Hopefully it won't break
anything.
I'll post my configure options if anyone would like to double check
Thanks,
Jake
--
No virus found in this outgoing message.
Checked by AVG
will store 16 million characters and LONGTEXT can handle over 4
trillion. Check the mysql docs for exact info, but this should help in
general. The user should be able to change the field type without loosing
their data.
Jake
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
On 3/17/07, Skip Evans [EMAIL PROTECTED] wrote:
Hey all,
I have a client that uses phpMyAdmin quite a bit
as sort of an end user type app, but that's
another story altogether (they actually get a lot
of use out of it when they're PHP app won't give
them the data the way they want.)
But
Hey all,
I have a client that uses phpMyAdmin quite a bit
as sort of an end user type app, but that's
another story altogether (they actually get a lot
of use out of it when they're PHP app won't give
them the data the way they want.)
But anyway, they've created a table with 9 fields
type
to add?
thanks,
Jake
On 3/12/07, Jake McHenry [EMAIL PROTECTED] wrote:
Anyone know of anything I can check? I've been trying different things
all
afternoon and I'm still getting the wrong date from strtotime. date()
works
fine.
Thanks,
Jake
- Original Message -
From: Jake McHenry
yes.
echo date(Y-m-d g:i A T, time());
echo date(Y-m-d g:i A T, strtotime(last sunday));
returns
2007-03-13 12:38 PM EDT
2007-03-10 11:00 PM EST
Thanks,
Jake
does return the time() command the right date for you?
Tijnema
On 3/13/07, Jake McHenry [EMAIL PROTECTED] wrote
Has or can anyone try this on PHP5 to see if it does the same? I'll upgrade
if needed, but didn't really want to at the current time..
Thanks
Jake
On Tue, 2007-03-13 at 12:31 -0400, Jake McHenry wrote:
-Original Message-
From: Jake McHenry [mailto:[EMAIL PROTECTED]
Sent
On 3/13/07, Jake McHenry [EMAIL PROTECTED] wrote:
-Original Message-
From: Jake McHenry [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 13, 2007 11:22 AM
To: For users of Fedora; PHP-General
Subject: Re: [PHP] dst and strtotime
A little more info:
strtotime(last monday
It worked for you? It didn't for me until i changed
if ($s%$d=0)
to
if($s%$d == 0)
Jake
- Original Message -
From: Jonathan Kahan [EMAIL PROTECTED]
To: Tijnema ! [EMAIL PROTECTED]
Cc: php Lists php-general@lists.php.net
Sent: Tuesday, March 13, 2007 6:08 PM
Subject: Re: [PHP] 2
('last sunday');
echo date(Y-m-d, $recent_period);
print_r($periods);
$test_recent_period = array_search($recent_period, $periods);
if ($test_recent_period == '')
$recent_period = strtotime('last sunday', $recent_period);
Thanks,
Jake
--
PHP General Mailing List (http://www.php.net
yepper
date
Mon Mar 12 12:25:33 EDT 2007
- Original Message -
From: Peter Lauri [EMAIL PROTECTED]
To: 'Jake McHenry' [EMAIL PROTECTED]; 'PHP-General'
php-general@lists.php.net
Sent: Monday, March 12, 2007 5:23 PM
Subject: RE: [PHP] dst and strtotime
Is your system time correct
Anyone know of anything I can check? I've been trying different things all
afternoon and I'm still getting the wrong date from strtotime. date() works
fine.
Thanks,
Jake
- Original Message -
From: Jake McHenry [EMAIL PROTECTED]
To: PHP-General php-general@lists.php.net
Sent: Monday
On 3/12/07, Jake McHenry [EMAIL PROTECTED] wrote:
Anyone know of anything I can check? I've been trying different things
all
afternoon and I'm still getting the wrong date from strtotime. date()
works
fine.
Thanks,
Jake
- Original Message -
From: Jake McHenry [EMAIL PROTECTED
anyone else have anything to add?
thanks,
Jake
On 3/12/07, Jake McHenry [EMAIL PROTECTED] wrote:
Anyone know of anything I can check? I've been trying different things
all
afternoon and I'm still getting the wrong date from strtotime. date()
works
fine.
Thanks,
Jake
- Original
concatenation changes?? I've noticed this too, you can either do what you
did, or put {} around variable within quotes..
- Original Message -
From: Ross [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Thursday, March 08, 2007 4:57 AM
Subject: [PHP] why did it stop working?
Sorry, I didn't even think about that. I use many php files as shell
scripts... and u need this for any interpreter your using if you want to
execute the file directly from the command line, otherwise you would have to
type
php scriptname.php from the command line.
- Original Message
Are you only using 3 and 5? just echo 3 and 5 instead of Foo and Bar. and
for both, just have a 3rd condition including both ... if (($i%3 ==0)
($i%5 == 0)) echo both or foobar..
does this help?
Jake
- Original Message -
From: Bruce Gilbert [EMAIL PROTECTED]
To: Martin
LOL I told'ya I rememberd it from my 2nd semester :)
Ok, this is commonly known as the FizzBuzz problem and is used a lot as a
university project or interview question. If you can't do it, be afraid!!
http://dev.stut.net/php/fizzbuzz.php
-Stut
--
PHP General Mailing List
You have to add the href tags in the html output for the text to be a
link
in your while statement or whatever your using to obtains the links from the
database already,
instead of just displaying $link_value, change it to
a href=$link_value$link_value/a
Jake
- Original
Ok I understand your method now. your code does not match your output. how
would your print line produce that , $customerid ?
anyways...
$data = orders($id,$status);
$c = count($data);
$currentId;
$n = 1;
for($i=0; $i$c; $i++) {
$orderid = $data[$i]['orderid'];
$customerid =
Jochem: Your method is long, probably takes more time to run, and is
therefore inefficient in this circumstance. There is a time and place
for a good solid reusable function, or even a class.
Of course things could go wrong when using mySQL connections, but
things can always go wrong.
Bringing
Yeah I never really look at what the error message actually says, it
usually turns out to be unhelpful because of those line numbers. I
just look, for example, to see if it says the error happened past the
last line of the script, and I know im missing a } somewhere. The
errors PHP returns are
Uh isset will work in this particular instance because $_POST is
an array whose values are of one type and one type only: STRINGS.
Yes, it is true that:
$myArray['a'] = NULL;
isSet($myArray['a']); //Will return FALSE.
However, because $_POST contains STRINGS AND STRINGS ONLY, isSet works:
You may download this PECL extension DLL from the PHP Downloads page
or at http://snaps.php.net/.
Note: On Windows, APC expects c:\tmp to exist, and be writable by the
web server.
On 9/28/05, Thomas [EMAIL PROTECTED] wrote:
Thanks, that looks good. But what do I do if OS is WinDoze? The
This is a toughy I've been working over for a bit. I was wondering if
there is a way to cause objects to have certain behaviors when builtin
functions are called, or maybe a way of setting, for example, a
primary string which is used whenever a function requiring a string
calls it.
IE:
Class
This is a stretch and I doubt you can do this very easily, but I was
wondering if there is a way to define behaviors that happen throughout
a script before execution for example if the OS is windows, all
strings are terminated with \r\n, if Linux, then \n without adding
addition ifs throughout the
When using /([0-9]*)(.*)/i it matches
substring 1: 7005
substring 2: -N/52
When using /([0-9]*)\/(.*)/i it matches
substring 1:
substring 2: 52
It looks to me as though its trying to match either or subgroup in order.
On 9/26/05, Jens Schulze [EMAIL PROTECTED] wrote:
I recently encountered a
make sure to set www-data's login script to nologin if you are going to do that.
On 9/26/05, Michael Sims [EMAIL PROTECTED] wrote:
Jeffrey Sambells wrote:
I need a php script to trigger another script to run as root on a
machine. Currently, the scripts run as the www-data user, but that
);
$Results = $Joe-ListVars();
etc.
On 9/26/05, Jake Gardner [EMAIL PROTECTED] wrote:
I would use a table such as
Table
|_UserData
Then use objects per user to store the data.
class User {
var TestScore;
var ScoreType;
...
var Vars;
function __construct
Murray: I could kick myself for not seeing that one (* = 0 or more,
well it sure found 0)
On 9/26/05, Murray @ PlanetThoughtful [EMAIL PROTECTED] wrote:
I recently encountered a strange behaviour, could someone please
countercheck it, to either tell me there is an error in my pattern?
I
That depends on several things, chief among which are:
What version did you install?
What options did you supply ./configure?
**Did you delete your old install?**
The reason for that is because the difference between the CLI and CGI
versions of PHP is the binary
Maybe something fancy with references?
http://us2.php.net/manual/en/language.references.php
On 9/21/05, Thorsten Suckow-Homberg [EMAIL PROTECTED] wrote:
Short Answer : No
Longer Answer : Maybe, if you have knowledge of PHP internals and a
willingness to write an extension. Even then it may
!
-Jake
Hi Louie,
Excellent example! i wish more users would take the time to provide such
clear examples.
The strlen() exists for you :)
ie.
?php
$string = function yes good;
$display = strlen($string);
echo $display;
?
:)
Best Regards
Jake Press
Louie Miranda wrote:
?php
$string = function yes good
clicks on. This is simple if it's just html, but I need to have
the person logged in, and the php file is generating the list of links based
on the files contained in the directory. So when the person uploads files,
they are immediatly in the list.
Thanks,
Jake McHenry
Nittany Travel MIS Coordinator
- Original Message -
From: Chris W. Parker [EMAIL PROTECTED]
To: Jake McHenry [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, November 29, 2004 6:26 PM
Subject: RE: [PHP] PHP and Frames?
Jake McHenry mailto:[EMAIL PROTECTED]
on Monday, November 29, 2004 2:41 PM said:
Was just
- Original Message -
From: Chris W. Parker [EMAIL PROTECTED]
To: Jake McHenry [EMAIL PROTECTED]
Sent: Monday, November 29, 2004 6:36 PM
Subject: off list RE: [PHP] PHP and Frames?
Jake McHenry mailto:[EMAIL PROTECTED]
on Monday, November 29, 2004 3:30 PM said:
Right now I only have 1
- Original Message -
From: M. Sokolewicz [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, November 29, 2004 6:34 PM
Subject: Re: [PHP] PHP and Frames?
Jake McHenry wrote:
- Original Message - From: Chris W. Parker
[EMAIL PROTECTED]
To: Jake McHenry [EMAIL PROTECTED
- Original Message -
From: Jake McHenry [EMAIL PROTECTED]
To: M. Sokolewicz [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, November 29, 2004 6:46 PM
Subject: Re: [PHP] PHP and Frames?
- Original Message -
From: M. Sokolewicz [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent
- Original Message -
From: Chris W. Parker [EMAIL PROTECTED]
To: Jake McHenry [EMAIL PROTECTED]
Sent: Monday, November 29, 2004 6:36 PM
Subject: off list RE: [PHP] PHP and Frames?
Jake McHenry mailto:[EMAIL PROTECTED]
on Monday, November 29, 2004 3:30 PM said:
Right now I only have 1
That is the problem we are attempting to deal with :)
(hence the name of this thread)
Best Regards
Jake Press
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Simas Toleikis wrote:
Jake Press wrote:
Hi Francisco,
Your not alone, a number of other users have enountered this bug.
string get_class ( object obj )
Its not a bug...
You are getting class name as a string for output purposes etc..
Doing something like TestClass::some_static is ofcourse illegal
mailing list you may want to
read, here: http://news.php.net/php.general/201458
Just quickly here is a dodgy workaround to get you moving
echo eval('return '. $ClassName .'::$Data;');
:)
Best Regards
Jake Press
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Justin,
'Use the force luke' - or perhaps just write yourself a function to do
this :)
Regards
Jake Press
Justin French wrote:
I'd like to be able to call include(thing); and have PHP
automatically look for thing.html -- I know include_path can look in
multiple places, but I have no idea
Hi all,
Just to let everyone know - I've reported this as a bug.
http://bugs.php.net/bug.php?id=30716
Fingers crossed :)
Yours Sincerely
Jake Press
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jason Barnett wrote:
Jake, as you probably already know you usually have to give the class
name when attempting to get a static variable, i.e.
YourClassName::$bob;
You *can* dynamically refer to a static class variable from within an
object without knowing the name of the class; this is what
Thanks Tul,
Okay, so its a limitation :(
I cant find the line of posts, any idea on it - or possible keywords i
can google with ?
I'd like to find out the reasons behind why this a fixed limitation
Best Regards
Jake Press
M. Sokolewicz wrote:
hi,
it's a limitation
in the php.internals about this
issue :(
Any thoughts / comments would be appreciated
Regards
Jake Press
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1 - 100 of 234 matches
Mail list logo