Re: [PHP] IF statement

2007-10-18 Thread Simon
I'd suggest a tutorial or something on BOOLEAN or LOGICAL OPERATORS. For example: true and false = false true or false = true not true and not false = false not true or not false = true and so on... The IF statement will simply take the result of a logical operation, and the result will either be

Re: [PHP] html tools for Web page

2007-10-18 Thread edwardspl
Łukasz Wojciechowski wrote: 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/ Hello, Does it support multi-language

[PHP] PHP/MySQL CMS for Articles/Studies/Research Papers?

2007-10-18 Thread Jason Paschal
One of my clients is a veterinarian who performs research on the side. He wants to be able to post his papers online and let ppl comment and have discussions. he's not just a dabbler. the university of georgia is (was?) conducting clinical trials for his parvo cure that has already saved hundred

Re: [PHP] This, then that.

2007-10-18 Thread Simon
I think I would flush the output at the end before starting the second script with functions (off my memory) like flush() and ob_flush() This will ensure that the browser at the other end has received the whole document and can in fact display it all. I haven't looked into that myself but, best w

Re: [PHP] re[PHP] commend PHP5 ebook mainly focused on it's OOP

2007-10-18 Thread Nathan Nobbe
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 g

[PHP] re[PHP] commend PHP5 ebook mainly focused on it's OOP

2007-10-18 Thread cuongvt
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 messa

Re: [PHP] This, then that.

2007-10-18 Thread Nathan Hawks
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 and have no more output for the browser, just use the include() function to run your extra process. e.g On Thu, 2007-10-18 at 20:19 -040

[PHP] Need a hint how to use an anker on the next page

2007-10-18 Thread Ronald Wiplinger
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

Re: [PHP] IF command

2007-10-18 Thread Casey
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 w

RE: [PHP] IF command

2007-10-18 Thread Bastien Koert
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 w

Re: [PHP] IF statement

2007-10-18 Thread Robert Cummings
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

Re: [PHP] IF statement

2007-10-18 Thread Carlos Martínez González
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

Re: [PHP] IF command

2007-10-18 Thread Carlos Martínez González
Hi, here is the code: if ( ($component_reference != "5") AND ($component_reference != "19") ) { echo "" . $component_name . ""; } 2007/10/19, ron.php <[EMAIL PROTECTED]>: > When $component_reference is 5 or 19 I don't want the echo statement to > output to the screen. What is the correc

Re: [PHP] From TXT to a mySQL db

2007-10-18 Thread Mark Kelly
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

[PHP] IF statement

2007-10-18 Thread ron.php
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

[PHP] IF command

2007-10-18 Thread ron.php
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 "" . $component_name . ""; } --

Re: [PHP] Strange benchmark behavior

2007-10-18 Thread Nathan Nobbe
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

Re: [PHP] Strange benchmark behavior

2007-10-18 Thread Larry Garfield
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 Thursd

Re: [PHP] redefine contante value

2007-10-18 Thread Larry Garfield
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 getti

Re: [PHP] Reference return buggy notice?

2007-10-18 Thread Jochem Maas
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 s

[PHP] Reference return buggy notice?

2007-10-18 Thread Ondra Zizka
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

Re: [PHP] p-s-e-x-e-c

2007-10-18 Thread mike
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

RE: [PHP] p-s-e-x-e-c

2007-10-18 Thread Instruct ICC
> 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.

Re: [PHP] This, then that.

2007-10-18 Thread Daniel Brown
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() >

Re: [PHP] From TXT to a mySQL db

2007-10-18 Thread Marcelo Wolfgang
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

Re: [PHP] This, then that.

2007-10-18 Thread Robert Cummings
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. -- ...

Re: [PHP] This, then that.

2007-10-18 Thread Martin Marques
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 -

[PHP] redefine contante value

2007-10-18 Thread Martin Marques
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 use

[PHP] This, then that.

2007-10-18 Thread tedd
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 (http:

Re: [PHP] p-s-e-x-e-c

2007-10-18 Thread David Giragosian
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 fi

Re: [PHP] From TXT to a mySQL db

2007-10-18 Thread Jason Pruim
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 LTDA^R

Re: [PHP] p-s-e-x-e-c

2007-10-18 Thread Philip Thompson
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 >

[PHP] From TXT to a mySQL db

2007-10-18 Thread Marcelo Wolfgang
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 3325409

RE: [PHP] p-s-e-x-e-c

2007-10-18 Thread Instruct ICC
> 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.

Re: [PHP] Screenshot from web page

2007-10-18 Thread Gevorg Harutyunyan
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

Re: [PHP] html tools for Web page

2007-10-18 Thread Łukasz Wojciechowski
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

[PHP] html tools for Web page

2007-10-18 Thread edwardspl
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

Re: [PHP] Re: HELP!! how can arithmetic variables(string) ??

2007-10-18 Thread Nathan Nobbe
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, T

Re: [PHP] Re: HELP!! how can arithmetic variables(string) ??

2007-10-18 Thread Jochem Maas
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

[PHP] p-s-e-x-e-c

2007-10-18 Thread Philip Thompson
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 ga

Re: [PHP] Strange behaviour of static declared content.

2007-10-18 Thread Joshua Bacher
> [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.

Re: [PHP] Strange benchmark behavior

2007-10-18 Thread Nathan Nobbe
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 Method

[PHP] Strange benchmark behavior

2007-10-18 Thread Larry Garfield
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: normal(); } $stop = microtime(true); echo "Native Method: " . ($stop - $start) . " seconds". P

Re: [PHP] Re: I am looking for a color picker working also in Firefox

2007-10-18 Thread Ronald Wiplinger
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 Linu

Re: [PHP] Re: Strange behaviour of static declared content.

2007-10-18 Thread Nathan Nobbe
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=

[PHP] Re: I am looking for a color picker working also in Firefox

2007-10-18 Thread Colin Guthrie
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? >> http://www.iosart.c

Re: [PHP] Re: I am looking for a color picker working also in Firefox

2007-10-18 Thread Daniel Brown
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/

[PHP] Re: I am looking for a color picker working also in Firefox

2007-10-18 Thread Colin Guthrie
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

[PHP] Re: Strange behaviour of static declared content.

2007-10-18 Thread Colin Guthrie
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

RE: [PHP] I am looking for a color picker working also in Firefox

2007-10-18 Thread Jay Blanchard
[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: http://www.php.net/u

[PHP] I am looking for a color picker working also in Firefox

2007-10-18 Thread Ronald Wiplinger
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

Re: [PHP] How to display ALL session variables?

2007-10-18 Thread Nathan Nobbe
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

Re: [PHP] How to display ALL session variables?

2007-10-18 Thread Ronald Wiplinger
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, vis

RE: [PHP] Strange behaviour of static declared content.

2007-10-18 Thread Jay Blanchard
[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

[PHP] Re: HELP!! how can arithmetic variables(string) ??

2007-10-18 Thread LKSunny
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 M

Re: [PHP] Strange behaviour of static declared content.

2007-10-18 Thread Joshua Bacher
> >>>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 :) > >>> > >>> >>>class foo{ > >>>public static $foobar = false; > >>>public function bar(){ > >>>

Re: [PHP] Strange behaviour of static declared content.

2007-10-18 Thread Stut
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 :) bar(); $f->bar(); foo::$foobar=false; $f->bar(); ?> [EMAIL PROTECTED] ~/working/www/siuConference $ php testScrip

Re: [PHP] Strange behaviour of static declared content.

2007-10-18 Thread Nathan Nobbe
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. > > > > thank

Re: [PHP] Strange behaviour of static declared content.

2007-10-18 Thread Nathan Nobbe
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 :) > >> > >> >> class foo{ > >> public static $foobar =

Re: [PHP] Strange behaviour of static declared content.

2007-10-18 Thread Nathan Nobbe
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

Re: [PHP] Strange behaviour of static declared content.

2007-10-18 Thread Stut
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 :) bar(); $f->bar(); foo::$foobar=false; $f->bar(); ?> [EMAIL PROTECTED] ~/working/www/siuConference $ php testScript.php FUBeyondA

[PHP] Re: Strange behaviour of static declared content.

2007-10-18 Thread Colin Guthrie
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

Re: [PHP] Sessions - Ini settings and timeout

2007-10-18 Thread Holografix
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,

Re: [PHP] Sessions - Ini settings and timeout

2007-10-18 Thread Holografix
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_lifetim

Re: [PHP] Strange behaviour of static declared content.

2007-10-18 Thread Joshua Bacher
> 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 :) > > class foo{ > public static $foobar = false; > public function bar(){ > static $foobar=false; >

Re: [PHP] Strange behaviour of static declared content.

2007-10-18 Thread Nathan Nobbe
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: > > class foo{ > public function bar(){ > static $foobar=false; > if ($foobar === False

[PHP] Strange behaviour of static declared content.

2007-10-18 Thread Joshua Bacher
Hi all, i faced the following problem. i am using a API. This API has a class that looks like following: class foo{ public function bar(){ static $foobar=false; if ($foobar === False){ $foobar='FUBeyondAllR';

Re: [PHP] How to display ALL session variables?

2007-10-18 Thread Nathan Nobbe
On 10/18/07, Ronald Wiplinger <[EMAIL PROTECTED]> wrote: > > [EMAIL PROTECTED] wrote: > > > > > > 2007/10/18, Nathan Nobbe <[EMAIL PROTECTED] > > >: > > > > On 10/18/07, Ronald Wiplinger <[EMAIL PROTECTED] > > > wrote: > > > > > >

Re: [PHP] How to display ALL session variables? - solved

2007-10-18 Thread Ronald Wiplinger
Ronald Wiplinger wrote: [EMAIL PROTECTED] wrote: 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

Re: [PHP] How to display ALL session variables?

2007-10-18 Thread Ronald Wiplinger
[EMAIL PROTECTED] wrote: 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 us

Re: [PHP] How to display ALL session variables?

2007-10-18 Thread Nathan Nobbe
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

Re: [PHP] How to display ALL session variables?

2007-10-18 Thread truncatei
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 "posted variables"; > > while (list($name, $valu

[PHP] Re: HELP!! how can arithmetic variables(string) ??

2007-10-18 Thread Colin Guthrie
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"

Re: [PHP] How to display ALL session variables?

2007-10-18 Thread Nathan Nobbe
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 "posted variables"; > while (list($name, $value) = each($HTTP_POST_VARS)) { > echo "$name = $value\n"; >

Re: [PHP] HELP!! how can arithmetic variables(string) ??

2007-10-18 Thread Nathan Nobbe
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

[PHP] How to display ALL session variables?

2007-10-18 Thread Ronald Wiplinger
Is there a simple way to display all session variables? Like the code below I use in debug for all posted variables: echo "posted variables"; while (list($name, $value) = each($HTTP_POST_VARS)) { echo "$name = $value\n"; } bye Ronald -- PHP General Mailing List (http://www.php.net/) To u

[PHP] HELP!! how can arithmetic variables(string) ??

2007-10-18 Thread LKSunny
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Which PHP-Editor to use?

2007-10-18 Thread Chen Lei
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

Re: [PHP] Which PHP-Editor to use?

2007-10-18 Thread Nathan Nobbe
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 i