2007. 10. 17, szerda keltezéssel 15.10-kor Holografix ezt írta:
Many thanks Zoltn.
It's clear now
One more thing: session.cookie_lifetime defaults to 0 (until browser is
closed).
if setting session.cookie_lifetime to 60 can I look for
$_SESSION[session_name()] in every request ?
why
2007. 10. 18, csütörtök keltezéssel 12.56-kor Matt Arnilo S. Baluyos
(Mailing Lists) ezt írta:
Does Eclipse already have word-wrap?
To my disappointment, it was still lacking that basic functionality
the last time I tried it.
I use easyeclipse for php, and I think I've seen some option
Matt Arnilo S. Baluyos (Mailing Lists) 写道:
On 10/18/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
2007/10/18, Matt Arnilo S. Baluyos (Mailing Lists)
[EMAIL PROTECTED]:
Does Eclipse already have word-wrap?
To my disappointment, it was still lacking that basic functionality
the last
On 10/18/07, Zoltán Németh [EMAIL PROTECTED] wrote:
2007. 10. 18, csütörtök keltezéssel 12.56-kor Matt Arnilo S. Baluyos
(Mailing Lists) ezt írta:
Does Eclipse already have word-wrap?
To my disappointment, it was still lacking that basic functionality
the last time I tried it.
a quick
?
$a=1+1; //variables(string)
//how can arithmetic variables(string) ??
//N ROW
//output
echo $a //i need output 2 not 1+1
//Please Help, Thank You Very Much !!
?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is there a simple way to display all session variables? Like the code
below I use in debug for all posted variables:
echo h3posted variables/h3;
while (list($name, $value) = each($HTTP_POST_VARS)) {
echo $name = $valuebr\n;
}
bye
Ronald
--
PHP General Mailing List (http://www.php.net/)
On 10/18/07, LKSunny [EMAIL PROTECTED] wrote:
?
$a=1+1; //variables(string)
//how can arithmetic variables(string) ??
//N ROW
//output
echo $a //i need output 2 not 1+1
//Please Help, Thank You Very Much !!
?
$a = 1+1;
echo $a;
-nathan
On 10/18/07, Ronald Wiplinger [EMAIL PROTECTED] wrote:
Is there a simple way to display all session variables? Like the code
below I use in debug for all posted variables:
echo h3posted variables/h3;
while (list($name, $value) = each($HTTP_POST_VARS)) {
echo $name = $valuebr\n;
}
LKSunny wrote:
?
$a=1+1; //variables(string)
//how can arithmetic variables(string) ??
//N ROW
//output
echo $a //i need output 2 not 1+1
//Please Help, Thank You Very Much !!
?
You can do:
eval(echo $a;);
But be warned, this has Injection Attack written all over
2007/10/18, Nathan Nobbe [EMAIL PROTECTED]:
On 10/18/07, Ronald Wiplinger [EMAIL PROTECTED] wrote:
Is there a simple way to display all session variables? Like the code
below I use in debug for all posted variables:
echo h3posted variables/h3;
while (list($name, $value) =
this is a nice little tool as well;
it would be pretty decent for spitting out the session;
http://dbug.ospinto.com/
new dBug($_SESSION);
-nathan
[EMAIL PROTECTED] wrote:
2007/10/18, Nathan Nobbe [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]:
On 10/18/07, Ronald Wiplinger [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Is there a simple way to display all session variables? Like the
code
below I use in debug
Ronald Wiplinger wrote:
[EMAIL PROTECTED] wrote:
2007/10/18, Nathan Nobbe [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]:
On 10/18/07, Ronald Wiplinger [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Is there a simple way to display all session variables? Like the
code
On 10/18/07, Ronald Wiplinger [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
2007/10/18, Nathan Nobbe [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]:
On 10/18/07, Ronald Wiplinger [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Is there a simple way to
Hi all,
i faced the following problem.
i am using a API. This API has a class that looks like following:
snip
class foo{
public function bar(){
static $foobar=false;
if ($foobar === False){
$foobar='FUBeyondAllR';
On 10/18/07, Joshua Bacher [EMAIL PROTECTED] wrote:
Hi all,
i faced the following problem.
i am using a API. This API has a class that looks like following:
snip
class foo{
public function bar(){
static $foobar=false;
if ($foobar === False){
I can't touch the API.
i have never use static variables inside of functions and likely never will.
go for static class variables instead :)
?php
class foo{
public static $foobar = false;
public function bar(){
static $foobar=false;
Many thanks again Zoltán.
It's working nice now.
Best regards
holo
Zoltán Németh [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
2007. 10. 17, szerda keltezéssel 15.10-kor Holografix ezt írta:
Many thanks Zoltn.
It's clear now
One more thing: session.cookie_lifetime defaults to
Hi.
Thank you very much Casey. I followed this suggestion as Zoltán also
suggested and it's working nice.
Best regards,
holo
Casey [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
You could set $_SESSION['lasttime'] to time() and check it on every page.
On Oct 17, 2007, at 3:58
Joshua Bacher wrote:
[EMAIL PROTECTED] ~/working/www/siuConference $ php testScript.php
FUBeyondAllR
already defined
FUBeyondAllR
-nathan
thats the solution for the wrong problem. it's not up to me to change
the API. the API is designed like i noted and i need a way to get around
this
Joshua Bacher wrote:
I can't touch the API.
i have never use static variables inside of functions and likely never will.
go for static class variables instead :)
?php
class foo{
public static $foobar = false;
public function bar(){
static $foobar=false;
On 10/18/07, Joshua Bacher [EMAIL PROTECTED] wrote:
thats the solution for the wrong problem. it's not up to me to change
the API. the API is designed like i noted and i need a way to get around
this behaviour.
thanks for your idea any further suggestions?
josh
unfortunately i dont know
On 10/18/07, Stut [EMAIL PROTECTED] wrote:
Joshua Bacher wrote:
I can't touch the API.
i have never use static variables inside of functions and likely never
will.
go for static class variables instead :)
?php
class foo{
public static $foobar = false;
On 10/18/07, Nathan Nobbe [EMAIL PROTECTED] wrote:
On 10/18/07, Joshua Bacher [EMAIL PROTECTED] wrote:
thats the solution for the wrong problem. it's not up to me to change
the API. the API is designed like i noted and i need a way to get around
this behaviour.
thanks for your idea
Stut wrote:
Joshua Bacher wrote:
I can't touch the API.
i have never use static variables inside of functions and likely
never will.
go for static class variables instead :)
?php
class foo{
public static $foobar = false;
public function bar(){
static
I can't touch the API.
i have never use static variables inside of functions and likely
never will.
go for static class variables instead :)
?php
class foo{
public static $foobar = false;
public function bar(){
static $foobar=false;
Thank You !
Colin Guthrie [EMAIL PROTECTED] ¼¶¼g©ó¶l¥ó·s»D:[EMAIL PROTECTED]
LKSunny wrote:
?
$a=1+1; //variables(string)
//how can arithmetic variables(string) ??
//N ROW
//output
echo $a //i need output 2 not 1+1
//Please Help, Thank You Very Much !!
?
You can do:
[snip]
to be honest i meanwhile have a workaround.
[/snip]
How about extending the API class and putting the function within the
extended class that you need?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Nathan Nobbe wrote:
this is a nice little tool as well;
it would be pretty decent for spitting out the session;
http://dbug.ospinto.com/
new dBug($_SESSION);
-nathan
That is really cool! I like that one!
bye
Ronald
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
On 10/18/07, Ronald Wiplinger [EMAIL PROTECTED] wrote:
Nathan Nobbe wrote:
this is a nice little tool as well;
it would be pretty decent for spitting out the session;
http://dbug.ospinto.com/
new dBug($_SESSION);
-nathan
just watch out for resource types in php5; it still has
I found many nice color picker (True color), which are working fine in
IE, but I need one, which works also in Firefox.
Can you give me a recommendation, please?
bye
Ronald
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
I found many nice color picker (True color), which are working fine in
IE, but I need one, which works also in Firefox.
Can you give me a recommendation, please?
[/snip]
http://www.visibone.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Ronald Wiplinger wrote:
I found many nice color picker (True color), which are working fine in
IE, but I need one, which works also in Firefox.
Can you give me a recommendation, please?
http://www.iosart.com/firefox/colorzilla/
I couldn't get it to work on my Linux FF tho', but I'm guessing
Stut wrote:
Stut wrote:
In that case you need a new foo. That's the only way you're going to
reset the internal static if the API doesn't give you a way to do it.
$f=new foo();
$f-bar();
$f-bar();
$g=new foo();
$g-bar();
Actually, scratch that, won't work. Not even unsetting $f before
On 10/18/07, Colin Guthrie [EMAIL PROTECTED] wrote:
Ronald Wiplinger wrote:
I found many nice color picker (True color), which are working fine in
IE, but I need one, which works also in Firefox.
Can you give me a recommendation, please?
http://www.iosart.com/firefox/colorzilla/
I
On 10/18/07, Colin Guthrie [EMAIL PROTECTED] wrote:
Stut wrote:
Stut wrote:
In that case you need a new foo. That's the only way you're going to
reset the internal static if the API doesn't give you a way to do it.
$f=new foo();
$f-bar();
$f-bar();
$g=new foo();
$g-bar();
Daniel Brown wrote:
On 10/18/07, Colin Guthrie [EMAIL PROTECTED] wrote:
Ronald Wiplinger wrote:
I found many nice color picker (True color), which are working fine in
IE, but I need one, which works also in Firefox.
Can you give me a recommendation, please?
Colin Guthrie wrote:
Ronald Wiplinger wrote:
I found many nice color picker (True color), which are working fine in
IE, but I need one, which works also in Firefox.
Can you give me a recommendation, please?
http://www.iosart.com/firefox/colorzilla/
I couldn't get it to work on my
Hi folks. I was hoping that someone here could help me understand a bit of
weirdness I've come across. I'm trying to run some micro-benchmarks on PHP
5's object handling. My test code is as follows:
?php
define('ITERATIONS', 100);
Larry,
i havent dug into the code or the post much cause im coding away today,
but i did drop you test script on a box of mine and run it. for what its
worth,
heres the results:
[EMAIL PROTECTED] ~/working/www $ php testBench.php
Testing __call()
Native Method: 8.62859416008 seconds
Magic
[snip]
to be honest i meanwhile have a workaround.
[/snip]
How about extending the API class and putting the function within the
extended class that you need?
it's only partially a solution since the API will change. therefore the
expressions in the if statement maybe will change.
if i
Hi. I'm wanting to run an executable that generates a text file, and I'm
having some issues. When I run the command on the server itself, it works
just fine. When I run the same command via a webpage, the text file does not
generate. My first impression was that the permissions were wrong. So, I
Colin Guthrie wrote:
LKSunny wrote:
?
$a=1+1; //variables(string)
//how can arithmetic variables(string) ??
//N ROW
//output
echo $a //i need output 2 not 1+1
//Please Help, Thank You Very Much !!
?
You can do:
eval(echo $a;);
you realise Sunny stopped reading
On 10/18/07, Jochem Maas [EMAIL PROTECTED] wrote:
Colin Guthrie wrote:
LKSunny wrote:
?
$a=1+1; //variables(string)
//how can arithmetic variables(string) ??
//N ROW
//output
echo $a //i need output 2 not 1+1
//Please Help, Thank You Very Much !!
?
You
Dear All,
Is there a tool better than fckeditor ( http://www.fckeditor.net ) ?
Would you mind recommend ?
Thanks !
Edward.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 10/18/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Dear All,
Is there a tool better than fckeditor ( http://www.fckeditor.net ) ?
Would you mind recommend ?
You may check out
http://tinymce.moxiecode.com/
--
Łukasz Wojciechowski
Thanks for response,
Actually I understood that I was searching not real thing.
I needed PHP code that will generate jpeg from HTML.
I understood that this is not real.
As an addition I would prefer to launch that code on remote
server(linux) and not on my PC(linux too :P ).
Thanks once more,
Be
Hi. I'm wanting to run an executable that generates a text file, and I'm
having some issues. When I run the command on the server itself, it works
just fine. When I run the same command via a webpage, the text file does not
generate. My first impression was that the permissions were wrong.
On 10/18/07, Instruct ICC [EMAIL PROTECTED] wrote:
Hi. I'm wanting to run an executable that generates a text file, and I'm
having some issues. When I run the command on the server itself, it
works
just fine. When I run the same command via a webpage, the text file does
not
generate.
On 10/18/07, Philip Thompson [EMAIL PROTECTED] wrote:
On 10/18/07, Instruct ICC [EMAIL PROTECTED] wrote:
Hi. I'm wanting to run an executable that generates a text file, and
I'm
having some issues. When I run the command on the server itself, it
works
just fine. When I run the
Hi all,
I need some helps/tips to know if a transition from a txt file to a sql
database is viable to do.
I have a TXT file that has lots of records like this:
10^13150^COMERCIO DE CALCADOS DILEU LTDA^COMERCIO DE CALCADOS DILEU
LTDA^RUA JOSE BONIFACIO, 329^CENTRO^IJUI^RS^9870^055
On Oct 18, 2007, at 2:29 PM, Marcelo Wolfgang wrote:
Hi all,
I need some helps/tips to know if a transition from a txt file to a
sql database is viable to do.
I have a TXT file that has lots of records like this:
10^13150^COMERCIO DE CALCADOS DILEU LTDA^COMERCIO DE CALCADOS DILEU
Hi gang:
I would like to run a php script that creates a web page and AFTER it
is finished creating the page, then it runs another php script -- how
you do that?
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List
I'm redefining constant values and get notices on my log files:
[18-Oct-2007 16:01:37] PHP Notice: Constant FPDF_FONTPATH already
defined in /usr/share/php/tcpdf/config/tcpdf_config.php on line 50
How can I re-define them without getting notice messages?
--
21:50:04 up 2 days, 9:07, 0
tedd wrote:
Hi gang:
I would like to run a php script that creates a web page and AFTER it is
finished creating the page, then it runs another php script -- how you
do that?
CLI or apache2 module?
--
21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18
On Thu, 2007-10-18 at 15:04 -0400, tedd wrote:
Hi gang:
I would like to run a php script that creates a web page and AFTER it
is finished creating the page, then it runs another php script -- how
you do that?
exec()
Cheers,
Rob.
--
This looks good, but since the db server is in a hosting company it will
be possible to read from a .txt ?
also I have never seen the LOAD DATA command, so I'm testing here and
having problems ... can anyone spot what's wrong on this query ?
$SQL = LOAD DATA INFILE 'test.txt' INTO TABLE test
On 10/18/07, Robert Cummings [EMAIL PROTECTED] wrote:
On Thu, 2007-10-18 at 15:04 -0400, tedd wrote:
Hi gang:
I would like to run a php script that creates a web page and AFTER it
is finished creating the page, then it runs another php script -- how
you do that?
exec()
Cheers,
Rob.
On 10/18/07, Instruct ICC [EMAIL PROTECTED] wrote:
When I run the command on the server itself, it
works just fine. When I run the same command via a webpage, the text file
does not generate.
I also have a similar problem but reversed. It works in a webpage but not on
the command
When I run the command on the server itself, it
works just fine. When I run the same command via a webpage, the text file
does not generate.
I also have a similar problem but reversed. It works in a webpage but not on
the command line.
mysql_connect, mssql_connect, and a non-db function.
A
Hello,
please look at the code bellow and tell if it does not conform to rules of
returning a reference from a function.
In the first method, I return reference to $sRet variable, and PHP is quiet.
But in the second, PHP says:
Notice: Only variable references should be returned by reference in
Are you sure that the value is a string? If its numeric, then try the check
without the quotes around the value
bastien From: [EMAIL PROTECTED] To: php-general@lists.php.net Date: Thu, 18
Oct 2007 19:49:55 -0500 Subject: [PHP] IF command When $component_reference
is 5 or 19 I don't want
On Thu, 2007-10-18 at 19:57 -0500, ron.php wrote:
I just tried to send this to the list. I am not trying make it post again, I
don't think I had the e-mail address correct the first time.
I am trying to stop $component_reference from doing the echo below when the
value is 5 or 19. I
I just tried to send this to the list. I am not trying make it post again, I
don't think I had the e-mail address correct the first time.
I am trying to stop $component_reference from doing the echo below when the
value is 5 or 19. I don't have the syntax right though. What did I miss?
Ron
Yeah, it does that sometimes. But over 1 million iterations a 0.2 second
difference is negligible, and easily explained by random events in the
environment (other processes on the box, etc.) It's the 25% difference I'm
getting on just one box that is confusing the hell of of me. :-)
On
On Thursday 18 October 2007, Martin Marques wrote:
I'm redefining constant values and get notices on my log files:
[18-Oct-2007 16:01:37] PHP Notice: Constant FPDF_FONTPATH already
defined in /usr/share/php/tcpdf/config/tcpdf_config.php on line 50
How can I re-define them without getting
On 10/19/07, cuongvt [EMAIL PROTECTED] wrote:
In order to learning cakePHP or any other PHP framework, beside, PHP5
knowledge, I must understand
atleast the basic of OOP also, right?
I searched in somewhere but still found no ebook to buy mainly focused on
OOP of PHP5.
Could you guys
In order to learning cakePHP or any other PHP framework, beside, PHP5
knowledge, I must understand
atleast the basic of OOP also, right?
I searched in somewhere but still found no ebook to buy mainly focused on
OOP of PHP5.
Could you guys recommend those ones?
Tnx in advanced.
--
View this
I have a long page (form), where the user has to return to the place he
left last time, or where in that page a question has not been answered.
Example:
Tell me the German word for: Your answer:
1. dogHund
2. cat
Hi, here is the code:
if ( ($component_reference != 5) AND ($component_reference != 19) ) {
echo lia href=\index.php?request= . $request . \ .
$component_name . /a;
}
2007/10/19, ron.php [EMAIL PROTECTED]:
When $component_reference is 5 or 19 I don't want the echo statement to
output
When $component_reference is 5 or 19 I don't want the echo statement to
output to the screen. What is the correct syntax? What I have below isn't
working. Thanks for your help. Ron
if ( ($component_reference != 5) OR ($component_reference != 19) ) {
echo lia href=\index.php?request= .
On 10/18/07, Larry Garfield [EMAIL PROTECTED] wrote:
Yeah, it does that sometimes. But over 1 million iterations a 0.2 second
difference is negligible, and easily explained by random events in the
environment (other processes on the box, etc.) It's the 25% difference
I'm
getting on just
Ondra Zizka wrote:
Hello,
please look at the code bellow and tell if it does not conform to rules of
returning a reference from a function.
In the first method, I return reference to $sRet variable, and PHP is quiet.
But in the second, PHP says:
Notice: Only variable references should
Hi.
On Thursday 18 October 2007 19:29, Marcelo Wolfgang wrote:
Hi all,
I need some helps/tips to know if a transition from a txt file to a sql
database is viable to do.
[snipped data and table descriptions]
Is there a quick and simple way to convert the row string into a INSERT
query ?
just change OR by AND.
2007/10/19, ron.php [EMAIL PROTECTED]:
I just tried to send this to the list. I am not trying make it post again, I
don't think I had the e-mail address correct the first time.
I am trying to stop $component_reference from doing the echo below when the
value is 5 or
if (!in_array($component_reference, array(5,17)))
// ...
More compact.
On Oct 18, 2007, at 5:49 PM, ron.php [EMAIL PROTECTED]
wrote:
When $component_reference is 5 or 19 I don't want the echo statement
to
output to the screen. What is the correct syntax? What I have
below isn't
If by creates a web page you just mean it echos output to the browser,
and you want to do something else after that, then:
After you have sent your /html and have no more output for the
browser, just use the include() function to run your extra process.
e.g
/html
?php
77 matches
Mail list logo