Re: [PHP] Output to File Instead of Browser

2013-08-20 Thread Serge Fonville
> > How can I have the form generated from my script but either saved to a > file or the output returned to another script? if you just want to output the generated output of the script to a file you can use output buffering http://www.php.net/manual/en/book.outcontrol.php HTH Kind regards/met v

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Sebastian Krebs
2013/8/20 Andy McKenzie > I'll chime in on this one. > > I've been job hunting recently, and I can say that while I've seen a lot of > people asking for Java experience, I'm not sure I've seen a single posting > asking specifically for PHP. There've been a few looking for Drupal, or > Wordpress,

Re: [PHP] Output to File Instead of Browser

2013-08-20 Thread Bastien
On 2013-08-20, at 12:38 PM, Floyd Resler wrote: > I have a php file that generates a form. Of course, this displays in the > browser. How can I have the form generated from my script but either saved > to a file or the output returned to another script? > > Thanks! > Floyd > I guess it d

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Sebastian Krebs
2013/8/20 Lester Caine > Sebastian Krebs wrote: > >> 1. He's not my teacher -- he is a fellow teacher AND a smart one! He knows >>> >the difference between Java and JavaScript. >>> > >>> >> OKOK, sorry -_- >> But @topic: For example see >> http://w3techs.com/**technologies/overview/**programming_

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Andy McKenzie
I'll chime in on this one. I've been job hunting recently, and I can say that while I've seen a lot of people asking for Java experience, I'm not sure I've seen a single posting asking specifically for PHP. There've been a few looking for Drupal, or Wordpress, but no "You must be able to write PH

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Larry Garfield
On 8/20/13 9:00 AM, Tedd Sperling wrote: Hi guys: A teacher at my college made the statement that JAVA for Web Development is more popular than PHP. Where can I go to prove this right or wrong -- and/or -- what references do any of you have to support your answer? (sounds like a teacher, huh?

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Pete Ford
On 20/08/13 15:00, Tedd Sperling wrote: Hi guys: A teacher at my college made the statement that JAVA for Web Development is more popular than PHP. Where can I go to prove this right or wrong -- and/or -- what references do any of you have to support your answer? (sounds like a teacher, huh?)

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Paul M Foster
On Tue, Aug 20, 2013 at 05:09:37PM +0100, Lester Caine wrote: > shiplu wrote: > >During PHPvsPython search I found this info graphic > >https://www.udemy.com/blog/modern-language-wars/#. Some of the > >statistics contain Java too. Also you can search "PHP" and "Web > >Development" in big job sites

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Lester Caine
shiplu wrote: During PHPvsPython search I found this info graphic https://www.udemy.com/blog/modern-language-wars/#. Some of the statistics contain Java too. Also you can search "PHP" and "Web Development" in big job sites and compare with same search but with "Java". 'Python is arguably the mo

Re: [PHP] PHP vs JAVA

2013-08-20 Thread shiplu
What a co-incidence! I was searching PHP vs Python in google and reading articles. Now a similar mail on my inbox. When any language war goes on, everyone gets biased by the language he/she loves. It applies here too. I think your college teacher loves Java. During PHPvsPython search I found this

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Daniel Brown
On Tue, Aug 20, 2013 at 10:00 AM, Tedd Sperling wrote: > Hi guys: > > A teacher at my college made the statement that JAVA for Web Development is > more popular than PHP. > > Where can I go to prove this right or wrong -- and/or -- what references do > any of you have to support your answer? (so

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Lester Caine
Sebastian Krebs wrote: 1. He's not my teacher -- he is a fellow teacher AND a smart one! He knows >the difference between Java and JavaScript. > OKOK, sorry -_- But @topic: For example see http://w3techs.com/technologies/overview/programming_language/all Really: Java is a good and mature languag

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Sebastian Krebs
2013/8/20 Tedd Sperling > On Aug 20, 2013, at 10:29 AM, Sebastian Krebs wrote: > > Just tell your teacher: Java isn't more popular than PHP as > _web_-language ;) > > I think too, that he actually meant javascript, which is indeed a very > popular client-side language. But javascript and PHP has

Re: [PHP] PHP vs JAVA

2013-08-20 Thread David OBrien
On Tue, Aug 20, 2013 at 10:56 AM, David OBrien wrote: > > > > On Tue, Aug 20, 2013 at 10:43 AM, Tedd Sperling wrote: > >> On Aug 20, 2013, at 10:36 AM, "Liam" wrote: >> > You do realise you are on a PHP based user subscription, so the vast >> > majority will go with PHP, so you will get a one s

Re: [PHP] PHP vs JAVA

2013-08-20 Thread David OBrien
On Tue, Aug 20, 2013 at 10:43 AM, Tedd Sperling wrote: > On Aug 20, 2013, at 10:36 AM, "Liam" wrote: > > You do realise you are on a PHP based user subscription, so the vast > > majority will go with PHP, so you will get a one sided argument. > > > > Regards, > > Liam > > > I realize that many,

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Marc Guay
Here are two references from the Wikipedia article on Java in case you haven't looked at them already. http://www.langpop.com/ http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html On 20 August 2013 10:43, Tedd Sperling wrote: > On Aug 20, 2013, at 10:36 AM, "Liam" wrote: >> You do r

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Tedd Sperling
On Aug 20, 2013, at 10:36 AM, "Liam" wrote: > You do realise you are on a PHP based user subscription, so the vast > majority will go with PHP, so you will get a one sided argument. > > Regards, > Liam I realize that many, maybe the majority, will be bias. HOWEVER -- there are professionals on

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Tedd Sperling
On Aug 20, 2013, at 10:29 AM, Sebastian Krebs wrote: > Just tell your teacher: Java isn't more popular than PHP as _web_-language ;) > I think too, that he actually meant javascript, which is indeed a very > popular client-side language. But javascript and PHP has different use-cases, > thus say

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Bastien Koert
I think the big takeaway there is that JAVA is one of the primary language for larger companies and applications. Start ups tend to use smaller easier to use tools like php / javascript / python / ruby. I saw one figure recently that put php at 75% of websites out there (i think that came out when

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Tedd Sperling
> The article very clearly says.. > > No language can be considered as good just because there are more jobs for > the same. > Yes, but I am not making a value (good/bad) judgment -- Instead I am asking for references supporting which language (Java or PHP) as being the most popular for Web D

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Sebastian Krebs
2013/8/20 Tedd Sperling > On Aug 20, 2013, at 10:04 AM, Ashley Sheridan > wrote: > > Is he possibly getting confused with Javascript? > > > > Thanks, > > Ash > > No, this guy is smarter than that -- he's pretty sharp -- so I listen to > what he has to say. > > Here's an interesting link: > > htt

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Stephen
On 13-08-20 10:19 AM, Tedd Sperling wrote: On Aug 20, 2013, at 10:04 AM, Ashley Sheridan wrote: Is he possibly getting confused with Javascript? Thanks, Ash No, this guy is smarter than that -- he's pretty sharp -- so I listen to what he has to say. Here's an interesting link: http://www.s

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Tedd Sperling
On Aug 20, 2013, at 10:04 AM, Ashley Sheridan wrote: > Is he possibly getting confused with Javascript? > > Thanks, > Ash No, this guy is smarter than that -- he's pretty sharp -- so I listen to what he has to say. Here's an interesting link: http://www.sitepoint.com/best-programming-language

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Stephen
On 13-08-20 10:00 AM, Tedd Sperling wrote: Hi guys: A teacher at my college made the statement that JAVA for Web Development is more popular than PHP. Where can I go to prove this right or wrong -- and/or -- what references do any of you have to support your answer? (sounds like a teacher, hu

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Ashley Sheridan
Tedd Sperling wrote: >Hi guys: > >A teacher at my college made the statement that JAVA for Web >Development is more popular than PHP. > >Where can I go to prove this right or wrong -- and/or -- what >references do any of you have to support your answer? (sounds like a >teacher, huh?) > >Here are

Re: [PHP] Mysqli Extension

2013-08-19 Thread Lester Caine
Matijn Woudt wrote: apt-get install php5-mysql Just to elaborate on that ... php5-common and php5-cli does not include a number of modules that need to be loaded separately. Choosing one of the database modules is not the only thing that may need to be added to your list of additional instal

Re: [PHP] Mysqli Extension

2013-08-19 Thread Curtis Maurand
Matijn Woudt wrote: > On Mon, Aug 19, 2013 at 9:40 PM, Ashley Sheridan > wrote: > >> >> >> Matijn Woudt wrote: >> >On Mon, Aug 19, 2013 at 8:55 PM, Ashley Sheridan >> >wrote: >> > >> >> >> >> >> >> Curtis Maurand wrote: >> >> > >> >> > >> >> >Ethan Rosenberg wrote: >> >> >> Dear List - >> >> >

Re: [PHP] Mysqli Extension

2013-08-19 Thread Matijn Woudt
On Mon, Aug 19, 2013 at 9:40 PM, Ashley Sheridan wrote: > > > Matijn Woudt wrote: > >On Mon, Aug 19, 2013 at 8:55 PM, Ashley Sheridan > >wrote: > > > >> > >> > >> Curtis Maurand wrote: > >> > > >> > > >> >Ethan Rosenberg wrote: > >> >> Dear List - > >> >> > >> >> My > >> >mysqli extension seems

Re: [PHP] Mysqli Extension

2013-08-19 Thread Daniel P. Brown
On Aug 19, 2013 2:32 PM, "Ethan Rosenberg" wrote: > > Dear List - > > My mysqli extension seems to have gone away. > (REACTED) Remember: avoid putting passwords - especially for root users - on a public mailing list, which is also permanently archived. > echo "hello2"; > var_dump(function_ex

Re: [PHP] Mysqli Extension

2013-08-19 Thread Ashley Sheridan
Matijn Woudt wrote: >On Mon, Aug 19, 2013 at 8:55 PM, Ashley Sheridan >wrote: > >> >> >> Curtis Maurand wrote: >> > >> > >> >Ethan Rosenberg wrote: >> >> Dear List - >> >> >> >> My >> >mysqli extension seems to have gone away. >> >> >> >> $host = >> >'localhost'; >> >> $user = 'root'; >> >> $pa

Re: [PHP] Mysqli Extension

2013-08-19 Thread Matijn Woudt
On Mon, Aug 19, 2013 at 8:55 PM, Ashley Sheridan wrote: > > > Curtis Maurand wrote: > > > > > >Ethan Rosenberg wrote: > >> Dear List - > >> > >> My > >mysqli extension seems to have gone away. > >> > >> $host = > >'localhost'; > >> $user = 'root'; > >> $password = 'SdR3908'; > >> echo "hello2"; >

Re: [PHP] How can I submit more than 2000 items of data?

2013-08-19 Thread Robert Cummings
On 13-08-19 11:32 AM, Stuart Dallas wrote: On 19 Aug 2013, at 16:24, Matijn Woudt wrote: You might want to explain how you convert form data to JSON without javascript? PHP can do it. Ruby can do it. .NET can do it. Just because you want to use JSON in a web browser where Javascript is the

Re: [PHP] Mysqli Extension

2013-08-19 Thread Ashley Sheridan
Curtis Maurand wrote: > > >Ethan Rosenberg wrote: >> Dear List - >> >> My >mysqli extension seems to have gone away. >> >> $host = >'localhost'; >> $user = 'root'; >> $password = 'SdR3908'; >> echo "hello2"; >> >var_dump(function_exists('mysqli_connect'));// this returns boo(false) >> $db = 'S

Re: [PHP] Mysqli Extension

2013-08-19 Thread Curtis Maurand
Ethan Rosenberg wrote: > Dear List - > > My mysqli extension seems to have gone away. > > $host = 'localhost'; > $user = 'root'; > $password = 'SdR3908'; > echo "hello2"; > var_dump(function_exists('mysqli_connect'));// this returns boo(false) > $db = 'Store'; > $cxn = mysqli_connect($host,$use

Re: [PHP] Mysqli Extension

2013-08-19 Thread Matijn Woudt
On Mon, Aug 19, 2013 at 8:02 PM, Ethan Rosenberg < erosenb...@hygeiabiomedical.com> wrote: > Dear List - > > My mysqli extension seems to have gone away. > > $host = 'localhost'; > $user = 'root'; > $password = 'SdR3908'; > echo "hello2"; > var_dump(function_exists('**mysqli_connect'));// this ret

Re: [PHP] how old is this version of PHP?

2013-08-19 Thread Larry Garfield
re superior to many purchased today at Lowes or Home Depot.) Thanks, Jeff Burcher - IT Dept Allred Metal Stamping Works "Making Metal Parts since 1946." -Original Message- From: Lester Caine [mailto:les...@lsces.co.uk] Sent: Monday, August 19, 2013 6:24 AM To: php-general@lists.php

Re: [PHP] How can I submit more than 2000 items of data?

2013-08-19 Thread Tedd Sperling
On Aug 19, 2013, at 11:32 AM, Stuart Dallas wrote: > I wasn't speaking to his specific issue as that was solved by an earlier > response. I was just commenting that the implied intrinsic link between JSON > and Javascript in what he had said does not exist. > > -Stuart This is similar JAVA and

Re: [PHP] How can I submit more than 2000 items of data?

2013-08-19 Thread Stuart Dallas
On 19 Aug 2013, at 16:24, Matijn Woudt wrote: > On Mon, Aug 19, 2013 at 5:20 PM, Stuart Dallas wrote: > On 19 Aug 2013, at 15:56, Matijn Woudt wrote: > >> >> On Mon, Aug 19, 2013 at 11:54 AM, Stuart Dallas wrote: >> On 19 Aug 2013, at 10:49, aesbovis wrote: >> >> > I know Javascript can so

Re: [PHP] How can I submit more than 2000 items of data?

2013-08-19 Thread Matijn Woudt
On Mon, Aug 19, 2013 at 5:20 PM, Stuart Dallas wrote: > On 19 Aug 2013, at 15:56, Matijn Woudt wrote: > > > On Mon, Aug 19, 2013 at 11:54 AM, Stuart Dallas wrote: > >> On 19 Aug 2013, at 10:49, aesbovis wrote: >> >> > I know Javascript can solve it, but I don't want to use Js. >> > Thank you a

Re: [PHP] How can I submit more than 2000 items of data?

2013-08-19 Thread Stuart Dallas
On 19 Aug 2013, at 15:56, Matijn Woudt wrote: > > On Mon, Aug 19, 2013 at 11:54 AM, Stuart Dallas wrote: > On 19 Aug 2013, at 10:49, aesbovis wrote: > > > I know Javascript can solve it, but I don't want to use Js. > > Thank you all the same. > > I know you've had the right answer, but I thi

Re: [PHP] How can I submit more than 2000 items of data?

2013-08-19 Thread Matijn Woudt
On Mon, Aug 19, 2013 at 11:54 AM, Stuart Dallas wrote: > On 19 Aug 2013, at 10:49, aesbovis wrote: > > > I know Javascript can solve it, but I don't want to use Js. > > Thank you all the same. > > I know you've had the right answer, but I think it's worth pointing out > that use of JSON in no wa

Re: [PHP] how old is this version of PHP?

2013-08-19 Thread Lester Caine
Sebastian Krebs wrote: Do we just accept that we have to rewrite every program we ever wrote every >time a new version comes out? A little extreme, but you get my point. >Comments? Suggestions? > My 2 cent: I hadn't any major issues with BC since 5.3 and from 5.2 it required a little bit to do,

Re: [PHP] how old is this version of PHP?

2013-08-19 Thread Sebastian Krebs
e > 1800s > are superior to many purchased today at Lowes or Home Depot.) > > Thanks, > > Jeff Burcher - IT Dept > Allred Metal Stamping Works > "Making Metal Parts since 1946." > > > > -Original Message- > > From: Lester Caine [mailto:les

RE: [PHP] how old is this version of PHP?

2013-08-19 Thread Jeff Burcher
Original Message- > From: Lester Caine [mailto:les...@lsces.co.uk] > Sent: Monday, August 19, 2013 6:24 AM > To: php-general@lists.php.net > Subject: Re: [PHP] how old is this version of PHP? > > Larry Garfield wrote: > > 5.2.9 was released in February of 2009. 5.2 is c

Re: [PHP] how old is this version of PHP?

2013-08-19 Thread Lester Caine
Larry Garfield wrote: 5.2.9 was released in February of 2009. 5.2 is completely retired and out of support. 5.3 is on security-only life-support. 5.4 is the legacy stable release. Yes, 5.2.9 IS that old. :-) Really, get a host that has made it into this decade. (GoDaddy apparently doesn't

Re: [PHP] How can I submit more than 2000 items of data?

2013-08-19 Thread Stuart Dallas
On 19 Aug 2013, at 10:49, aesbovis wrote: > I know Javascript can solve it, but I don't want to use Js. > Thank you all the same. I know you've had the right answer, but I think it's worth pointing out that use of JSON in no way requires Javascript, despite its name. -Stuart -- Stuart Dallas

Re: [PHP] How can I submit more than 2000 items of data?

2013-08-19 Thread aesbovis
I know Javascript can solve it, but I don't want to use Js. Thank you all the same. On Mon, Aug 19, 2013 at 4:32 PM, Szopen Xiao wrote: > you can use JSON post > > 2013/8/19 aesbovis : > > Hello there > > I am making a little web-based-tool for our studio to progress a large > > amount of data,

Re: [PHP] How can I submit more than 2000 items of data?

2013-08-19 Thread aesbovis
T hank you, it works now. On Mon, Aug 19, 2013 at 5:09 PM, Jan Ehrhardt wrote: > Mihai Anghel in php.general (Mon, 19 Aug 2013 11:30:01 +0300): > >Check this http://www.php.net/manual/en/ini.core.php#ini.post-max-size > > Keyword: max_input_vars. > > Jan > > -- > PHP General Mailing List (http:

RE: [PHP] how old is this version of PHP?

2013-08-19 Thread Thomas Punt
Godaddy enables you to upgrade to PHP 5.3 in the cPanel settings. > Date: Mon, 19 Aug 2013 01:07:17 -0500 > From: la...@garfieldtech.com > To: php-general@lists.php.net > Subject: Re: [PHP] how old is this version of PHP? > > 5.2.9 was released in February of 2009. 5.2 is comp

Re: [PHP] How can I submit more than 2000 items of data?

2013-08-19 Thread Jan Ehrhardt
Mihai Anghel in php.general (Mon, 19 Aug 2013 11:30:01 +0300): >Check this http://www.php.net/manual/en/ini.core.php#ini.post-max-size Keyword: max_input_vars. Jan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How can I submit more than 2000 items of data?

2013-08-19 Thread Szopen Xiao
you can use JSON post 2013/8/19 aesbovis : > Hello there > I am making a little web-based-tool for our studio to progress a large > amount of data, more than 2000 items, but it seems there is a length limit > of 1000 to $_POST. > > How can I submit all of the items in one time? > > Thank you! > ae

Re: [PHP] How can I submit more than 2000 items of data?

2013-08-19 Thread Mihai Anghel
Check this http://www.php.net/manual/en/ini.core.php#ini.post-max-size On Mon, Aug 19, 2013 at 9:55 AM, aesbovis wrote: > Hello there > I am making a little web-based-tool for our studio to progress a large > amount of data, more than 2000 items, but it seems there is a length limit > of 1000 t

Re: [PHP] how old is this version of PHP?

2013-08-18 Thread Larry Garfield
On 08/17/2013 06:26 PM, Camilo Sperberg wrote: On 16 aug. 2013, at 19:17, Tamara Temple wrote: Looking into a problem for someone who is using Godaddy Shared Web Hosting (I know..), I noticed the version tag reported by phpinfo is: PHP API 20041225 PHP Extension 20060613 Z

Re: [PHP] how old is this version of PHP?

2013-08-17 Thread Tamara Temple
On Aug 17, 2013, at 6:26 PM, Camilo Sperberg wrote: > On 16 aug. 2013, at 19:17, Tamara Temple wrote: > >> Looking into a problem for someone who is using Godaddy Shared Web Hosting >> (I know..), I noticed the version tag reported by phpinfo is: >> >> >> PHP API 20041

Re: [PHP] how old is this version of PHP?

2013-08-17 Thread Camilo Sperberg
On 16 aug. 2013, at 19:17, Tamara Temple wrote: > Looking into a problem for someone who is using Godaddy Shared Web Hosting (I > know..), I noticed the version tag reported by phpinfo is: > > > PHP API 20041225 > PHP Extension 20060613 > Zend Extension220060519

Re: [PHP] Finally....

2013-08-17 Thread Daniel
Yay, Thankyou :) Regards, Daniel Fenn On Sat, Aug 17, 2013 at 2:30 AM, Robert Cummings wrote: > On 13-08-16 11:58 AM, Marc Guay wrote: >> >> Those Belgacom emails were the only thing keeping me from a crushing >> loneliness - undo! > > > *sniffle* Another friend bites the dust *sniffle*. > >

Re: [PHP] Finally....

2013-08-17 Thread Kevin Kinsey
>Date: Fri, 16 Aug 2013 11:23:18 -0400 >From: Daniel Brown >To: PHP General >Subject: [PHP] Finally > ># ezmlm-list ~ezmlm/php-general | grep skynet >supp...@skynet.be > ># ezmlm-unsub ~ezmlm/php-general supp...@skynet.be > ># ezmlm-list ~ezmlm/php-general | grep skynet ># > >No more of t

Re: [PHP] Finally....

2013-08-16 Thread Robert Cummings
On 13-08-16 11:58 AM, Marc Guay wrote: Those Belgacom emails were the only thing keeping me from a crushing loneliness - undo! *sniffle* Another friend bites the dust *sniffle*. -- E-Mail Disclaimer: Information contained in this message and any attached documents is considered confidential a

Re: [PHP] Finally....

2013-08-16 Thread Tamara Temple
On Aug 16, 2013, at 10:58 AM, Marc Guay wrote: > Those Belgacom emails were the only thing keeping me from a crushing > loneliness - undo! I'll place a forward on my other spam… -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Finally....

2013-08-16 Thread Marc Guay
Those Belgacom emails were the only thing keeping me from a crushing loneliness - undo! On 16 August 2013 11:51, Matijn Woudt wrote: > On Fri, Aug 16, 2013 at 5:23 PM, Daniel Brown wrote: > >> # ezmlm-list ~ezmlm/php-general | grep skynet >> supp...@skynet.be >> >> # ezmlm-unsub ~ezmlm/php-gene

Re: [PHP] Finally....

2013-08-16 Thread Matijn Woudt
On Fri, Aug 16, 2013 at 5:23 PM, Daniel Brown wrote: > # ezmlm-list ~ezmlm/php-general | grep skynet > supp...@skynet.be > > # ezmlm-unsub ~ezmlm/php-general supp...@skynet.be > > # ezmlm-list ~ezmlm/php-general | grep skynet > # > > No more of those "Your e-mail concerning our products and >

Re: [PHP] How to upstream code changes to php community

2013-08-16 Thread Daniel Brown
On Tue, Aug 13, 2013 at 12:38 AM, Shahina Rabbani wrote: > Hi, > > I have done some modifications to the php source code and i tested it with > php bench and I observed some improvement. > > I wanted to upstream these code changes to PHP community. > I searched the wed but i didnt find proper gui

Re: [PHP] Session_unset - session_destroy issue

2013-08-15 Thread Stuart Dallas
On 15 Aug 2013, at 19:16, dealTek wrote: > Hi all, > > I am having trouble with session_destroy - session_unset and $_SESSION = > array()... I am trying to STOP and destroy all session vars.. > > > with the simple code test below I would think it would echo test 1 BUT FAIL > on test2 >

Re: [PHP] sessions working? not working?

2013-08-12 Thread Tedd Sperling
On Aug 12, 2013, at 4:27 AM, Clifford Shuker wrote: > Hi have the following (below) session code at the top of each page.. The > 'print_r' (development feature only) confirms that on one particular page I > do log out as the session var = (). but, on testing that page via the URL I > still get t

Re: [PHP] fpdf problem?

2013-08-09 Thread Jim Giner
On 8/9/2013 1:56 PM, Jan Ehrhardt wrote: Jim Giner in php.general (Fri, 09 Aug 2013 12:33:30 -0400): Good question and the answer is: it happens for other pdfs as well, so I guess it's not fpdf. Sorry for the mis-post here - I'll do more research on Adobe and IE. Update: Solved my print probl

Re: [PHP] fpdf problem?

2013-08-09 Thread Jan Ehrhardt
Jim Giner in php.general (Fri, 09 Aug 2013 12:33:30 -0400): >> Good question and the answer is: it happens for other pdfs as well, so I >> guess it's not fpdf. >> >> Sorry for the mis-post here - I'll do more research on Adobe and IE. > >Update: >Solved my print problem by unchecking an option in A

Re: [PHP] fpdf problem?

2013-08-09 Thread Jim Giner
On 8/9/2013 12:11 PM, Jim Giner wrote: On 8/9/2013 12:06 PM, Tamara Temple wrote: On Aug 9, 2013, at 10:50 AM, Jim Giner wrote: I've been using fpdf to create pdf files for my site. All has been well for over a year. Suddenly I have a problem wherein IE 10 on W7 crashes when I try to print

Re: [PHP] fpdf problem?

2013-08-09 Thread Jim Giner
On 8/9/2013 12:06 PM, Tamara Temple wrote: On Aug 9, 2013, at 10:50 AM, Jim Giner wrote: I've been using fpdf to create pdf files for my site. All has been well for over a year. Suddenly I have a problem wherein IE 10 on W7 crashes when I try to print one of these pdfs created by my php s

Re: [PHP] fpdf problem?

2013-08-09 Thread Tamara Temple
On Aug 9, 2013, at 10:50 AM, Jim Giner wrote: > I've been using fpdf to create pdf files for my site. All has been well for > over a year. Suddenly I have a problem wherein IE 10 on W7 crashes when I > try to print one of these pdfs created by my php scripts. > > The pdf files that I create

Re: [PHP] Ambiguous?

2013-08-09 Thread richard gray
On 09/08/2013 14:00, Karl-Arne Gjersøyen wrote: 1) query foreach($varenr_inn_pa_lager as $vnr){ include('../../tilkobling.php'); $sql = "SELECT * FROM exan,dynamit WHERE varenr = '$vnr' LIMIT 1"; $resultat = mysql_query($sql, $tilkobling) or die(mysql_error

Re: [PHP] Ambiguous?

2013-08-09 Thread Floyd Resler
On Aug 9, 2013, at 8:00 AM, Karl-Arne Gjersøyen wrote: > 1) query > foreach($varenr_inn_pa_lager as $vnr){ >include('../../tilkobling.php'); >$sql = "SELECT * FROM exan,dynamit WHERE varenr = '$vnr' LIMIT > 1"; >$resultat = mysql_query($sql, $tilkobling) or >

Re: [PHP] Ambiguous?

2013-08-09 Thread Stuart Dallas
On 9 Aug 2013, at 13:00, Karl-Arne Gjersøyen wrote: > 1) query > foreach($varenr_inn_pa_lager as $vnr){ >include('../../tilkobling.php'); >$sql = "SELECT * FROM exan,dynamit WHERE varenr = '$vnr' LIMIT > 1"; >$resultat = mysql_query($sql, $tilkobling) or > die(

Re: [PHP] Re: Operand error...

2013-08-08 Thread Jim Giner
On 8/8/2013 2:11 PM, Karl-Arne Gjersøyen wrote: 2013/8/8 Jim Giner On 8/8/2013 1:56 PM, Karl-Arne Gjersøyen wrote: 2013/8/8 Jim Giner On 8/8/2013 1:43 PM, Karl-Arne Gjersøyen wrote: 2013/8/8 Jim Giner On 8/8/2013 1:32 PM, Karl-Arne Gjersøyen wrote: $oppdater_lager_med_ant

Re: [PHP] Re: Operand error...

2013-08-08 Thread Karl-Arne Gjersøyen
2013/8/8 Jim Giner > On 8/8/2013 1:56 PM, Karl-Arne Gjersøyen wrote: > >> 2013/8/8 Jim Giner >> >> On 8/8/2013 1:43 PM, Karl-Arne Gjersøyen wrote: >>> >>> 2013/8/8 Jim Giner On 8/8/2013 1:32 PM, Karl-Arne Gjersøyen wrote: > > $oppdater_lager_med_antall_kg = $kg_pa_l

Re: [PHP] Re: Operand error...

2013-08-08 Thread Jim Giner
On 8/8/2013 1:56 PM, Karl-Arne Gjersøyen wrote: 2013/8/8 Jim Giner On 8/8/2013 1:43 PM, Karl-Arne Gjersøyen wrote: 2013/8/8 Jim Giner On 8/8/2013 1:32 PM, Karl-Arne Gjersøyen wrote: $oppdater_lager_med_antall_kg = $kg_pa_lager + $kg_fra_transportdokument_inn_pa_valgt_lager; r

Re: [PHP] Re: Operand error...

2013-08-08 Thread Karl-Arne Gjersøyen
2013/8/8 Jim Giner > On 8/8/2013 1:43 PM, Karl-Arne Gjersøyen wrote: > >> 2013/8/8 Jim Giner >> >> On 8/8/2013 1:32 PM, Karl-Arne Gjersøyen wrote: >>> >>> $oppdater_lager_med_antall_kg = $kg_pa_lager + $kg_fra_transportdokument_inn_pa_valgt_lager; result: *Fat

Re: [PHP] Re: Operand error...

2013-08-08 Thread Jim Giner
On 8/8/2013 1:43 PM, Karl-Arne Gjersøyen wrote: 2013/8/8 Jim Giner On 8/8/2013 1:32 PM, Karl-Arne Gjersøyen wrote: $oppdater_lager_med_antall_kg = $kg_pa_lager + $kg_fra_transportdokument_inn_**pa_valgt_lager; result: *Fatal error*: Unsupported operand types in * /Users/karl/Sites/kasen/io

Re: [PHP] Re: Operand error...

2013-08-08 Thread Karl-Arne Gjersøyen
2013/8/8 Jim Giner > On 8/8/2013 1:32 PM, Karl-Arne Gjersøyen wrote: > >> $oppdater_lager_med_antall_kg = $kg_pa_lager + >> $kg_fra_transportdokument_inn_**pa_valgt_lager; >> >> >> result: >> *Fatal error*: Unsupported operand types in * >> /Users/karl/Sites/kasen/io/kp/**index.php* on line *2970

Re: [PHP] Class Auto-Assigning to Variable

2013-08-07 Thread Ashley Sheridan
On Wed, 2013-08-07 at 19:02 -0600, Brian Smither wrote: > >Your example does _not_ show this, it works > >as expected and throws a notice, from which can be inferred there is other > >code doing this > > Or relevant code having a side-effect not currently realized. No, you just didn't post rele

Re: [PHP] Class Auto-Assigning to Variable

2013-08-07 Thread Brian Smither
>Your example does _not_ show this, it works >as expected and throws a notice, from which can be inferred there is other >code doing this Or relevant code having a side-effect not currently realized. >Is your class maybe inheriting from another one and that contains the code >causing this issue?

Re: [PHP] Class Auto-Assigning to Variable

2013-08-07 Thread Ashley Sheridan
>I have two dozen classes in this application. In every case, there will >be a variable, the name of which is a lowercase variant of the class >name, to which is assigned an instance of the class, when the class's >construct() function completes. The example informs you of this. > Actually, as

Re: [PHP] Class Auto-Assigning to Variable

2013-08-07 Thread Brian Smither
> $hello = $clsHello; If that conceptual statement (or any occurance of the conceptual $hello) were in the code, then my (really good) Find feature of my code editor would have found it. > There are only a few variables that get assigned as side effects of > functions, but they have very spe

Re: [PHP] Class Auto-Assigning to Variable

2013-08-07 Thread Ashley Sheridan
On Wed, 2013-08-07 at 21:02 +0100, Stuart Dallas wrote: > On 7 Aug 2013, at 20:45, "Brian Smither" wrote: > > >> I cannot replicate this. > > > > I don't expect anyone to be able to replicate this behavior. The example > > shows an extraordinarily stripped-down sequence of statements that info

Re: [PHP] Class Auto-Assigning to Variable

2013-08-07 Thread Stuart Dallas
On 7 Aug 2013, at 20:45, "Brian Smither" wrote: >> I cannot replicate this. > > I don't expect anyone to be able to replicate this behavior. The example > shows an extraordinarily stripped-down sequence of statements that informs > what should work, but do to some unknown agent, which, therefo

Re: [PHP] Class Auto-Assigning to Variable

2013-08-07 Thread Brian Smither
>I cannot replicate this. I don't expect anyone to be able to replicate this behavior. The example shows an extraordinarily stripped-down sequence of statements that informs what should work, but do to some unknown agent, which, therefore, cannot be included in the example, produces unexpected

Re: [PHP] Class Auto-Assigning to Variable

2013-08-07 Thread Ashley Sheridan
On Wed, 2013-08-07 at 13:11 -0600, Brian Smither wrote: > Second go around: > > I have a situation where, for some unknown reason, where each class that > finishes its __contruct{} function, that class gets automatically assigned to > a variable - other than the variable I specify. > > Concept

Re: [PHP] Class Auto-Assigning to Variable

2013-08-07 Thread Brian Smither
Second go around: I have a situation where, for some unknown reason, where each class that finishes its __contruct{} function, that class gets automatically assigned to a variable - other than the variable I specify. Conceptually (a little bit better on the conceptualizing): class Hello { priv

Re: [PHP] Class Auto-Assigning to Variable

2013-08-07 Thread Sebastian Krebs
2013/8/7 Brian Smither > I have a situation where, for some unknown reason, where each class that > finishes its __contruct{} function, that class gets automatically assigned > to a variable - other than the variable I specify. > > Conceptually: > > class Hello { private $_world = 'World'; __cons

Re: [PHP] how to see all sessions sets in server

2013-08-04 Thread Paul M Foster
On Sun, Aug 04, 2013 at 05:58:53PM +0100, Ashley Sheridan wrote: [snip] > > I'm not saying the method is bad, but the way Facebook does it isn't > great, I'm constantly seeing people online who "sign out" when I open > up a message box. Now that might be genuine, but I'm not *that* > unpopular!

Re: [PHP] how to see all sessions sets in server

2013-08-04 Thread Ashley Sheridan
Matijn Woudt wrote: >On Sun, Aug 4, 2013 at 4:00 PM, Ashley Sheridan >wrote: > >> >> >> Farzan Dalaee wrote: >> > >> > >> >> On Sun, 2013-08-04 at 14:56 +0430, Farzan Dalaee wrote: >> >>> >> >>> You mean when user logged in i add new record to table and when >> >logged out i delete the row? So

Re: [PHP] how to see all sessions sets in server

2013-08-04 Thread Farzan Dalaee
> > > > On Sun, Aug 4, 2013 at 4:00 PM, Ashley Sheridan > wrote: >> >> >> Farzan Dalaee wrote: >> > >> > >> >> On Sun, 2013-08-04 at 14:56 +0430, Farzan Dalaee wrote: >> >>> >> >>> You mean when user logged in i add new record to table and when >> >logged out i delete the row? So if user

Re: [PHP] how to see all sessions sets in server

2013-08-04 Thread Matijn Woudt
On Sun, Aug 4, 2013 at 4:00 PM, Ashley Sheridan wrote: > > > Farzan Dalaee wrote: > > > > > >> On Sun, 2013-08-04 at 14:56 +0430, Farzan Dalaee wrote: > >>> > >>> You mean when user logged in i add new record to table and when > >logged out i delete the row? So if user close the browser without

Re: [PHP] how to see all sessions sets in server

2013-08-04 Thread Ashley Sheridan
Farzan Dalaee wrote: > > >> On Sun, 2013-08-04 at 14:56 +0430, Farzan Dalaee wrote: >>> >>> You mean when user logged in i add new record to table and when >logged out i delete the row? So if user close the browser without >logout how can i find user is online or not? >>> >>> Sent from my iPho

Re: [PHP] how to see all sessions sets in server

2013-08-04 Thread Stuart Dallas
On 4 Aug 2013, at 14:36, Farzan Dalaee wrote: > I need to inspect each visitor to show how online or who offline for chat > Like facebook chat PHP sessions is a really bad mechanism to use to accomplish this. In the past I've used memcached or redis for presence indicators. Both allow you to se

Re: [PHP] What the hell is Begacom?

2013-08-04 Thread lester
Maybe someone can take them off of the list? ;) (hint, hint) No one moderates the list so there is little chance :(

Re: [PHP] how to see all sessions sets in server

2013-08-04 Thread Farzan Dalaee
> On Sun, 2013-08-04 at 14:56 +0430, Farzan Dalaee wrote: >> >> You mean when user logged in i add new record to table and when logged out i >> delete the row? So if user close the browser without logout how can i find >> user is online or not? >> >> Sent from my iPhone >> >> On Aug 4, 2013,

Re: [PHP] Re: how to see all sessions sets in server

2013-08-04 Thread Ashley Sheridan
On Sun, 2013-08-04 at 13:27 +0100, Tim Streater wrote: > On 04 Aug 2013 at 11:28, Ashley Sheridan wrote: > > > Like Matijn said, unless you're using some kind of client-side method to > > continually poll the server, you can't know if they've just closed their > > browser. There are Javascript

Re: [PHP] What the hell is Begacom?

2013-08-04 Thread Camilo Sperberg
On 4 aug. 2013, at 12:51, Ashley Sheridan wrote: > And why everytime I reply to the list am I getting an automated reply > from this email address > > Belgacom Webteam [no-reply] > > > > Thanks, > Ash > http://www.ashleysheridan.co.uk > > So that's why I was getting those emails as well

Re: [PHP] What the hell is Begacom?

2013-08-04 Thread Ashley Sheridan
On Sun, 2013-08-04 at 12:27 +0100, Lester Caine wrote: > Ashley Sheridan wrote: > > And why everytime I reply to the list am I getting an automated reply > > from this email address > > > > Belgacom Webteam [no-reply] > > Because of the way the list is set up ... > We all get every bounce message

Re: [PHP] What the hell is Begacom?

2013-08-04 Thread Lester Caine
Ashley Sheridan wrote: And why everytime I reply to the list am I getting an automated reply from this email address Belgacom Webteam [no-reply] Because of the way the list is set up ... We all get every bounce message as a result of posting to PHP lists since WE are set as the reply-to addre

<    1   2   3   4   5   6   7   8   9   10   >