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,

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,

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

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Sebastian Krebs
2013/8/20 Lester Caine les...@lsces.co.uk 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

Re: [PHP] Output to File Instead of Browser

2013-08-20 Thread Bastien
On 2013-08-20, at 12:38 PM, Floyd Resler fres...@adex-intl.com 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

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Sebastian Krebs
2013/8/20 Andy McKenzie amckenz...@gmail.com 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,

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

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Tedd Sperling
On Aug 20, 2013, at 12:24 PM, Paul M Foster pa...@quillandmouse.com wrote: 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

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Dan Munro
1. There are no statement terminators. Lose your indentation for ANY reason and your program is well and truly screwed, in ways you can't imagine. 2. Python programs fail in the most ungraceful way I've ever seen in an interpreted programming language. 1. Indent properly. In php, if you put

Re: [PHP] Output to File Instead of Browser

2013-08-20 Thread Daniel Pöllmann
Buffering is the more comftable way because if you write all html to a variable, output that might be created in a function, you did not modify will not be included. Non critical errors that create an output (notice/warning) will not ve included as well. Another way would be to create a script

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Tedd Sperling
On Aug 20, 2013, at 12:24 PM, Pete Ford p...@justcroft.com wrote: tedd, Java is a meticulously-constructed language with very strict typing and a large commercial organisation which purports to support and develop it. PHP is a scruffy heap of loosely typed cruft which is easy to knock

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Andy McKenzie
On Tue, Aug 20, 2013 at 3:18 PM, Dan Munro d...@danmunro.com wrote: 1. There are no statement terminators. Lose your indentation for ANY reason and your program is well and truly screwed, in ways you can't imagine. 2. Python programs fail in the most ungraceful way I've ever seen in an

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Tedd Sperling
On Aug 20, 2013, at 2:19 PM, Sebastian Krebs krebs@gmail.com wrote: Thats interesting. I am from Berlin and here, when you say you know PHP and a little bit of one, or two frameworks, they will jump onto you I'll stay away from Berlin. :-) tedd ___ tedd sperling

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Sebastian Krebs
2013/8/20 Andy McKenzie amckenz...@gmail.com On Tue, Aug 20, 2013 at 3:18 PM, Dan Munro d...@danmunro.com wrote: 1. There are no statement terminators. Lose your indentation for ANY reason and your program is well and truly screwed, in ways you can't imagine. 2. Python programs

Re: [PHP] Output to File Instead of Browser

2013-08-20 Thread Jim Giner
On 8/20/2013 3:20 PM, Daniel Pöllmann wrote: Buffering is the more comftable way because if you write all html to a variable, output that might be created in a function, you did not modify will not be included. Non critical errors that create an output (notice/warning) will not ve included as

RE: [PHP] PHP vs JAVA

2013-08-20 Thread Steven Staples
My recent question was simply an attempt to get documentation to support which server-side Web Language is the most popular. Both PHP and Java can be used server-side. I also realize that Java is used for native Android because I also teach Mobile Application Development (MAD -- I even

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Sebastian Krebs
2013/8/20 Steven Staples sstap...@mnsi.net My recent question was simply an attempt to get documentation to support which server-side Web Language is the most popular. Both PHP and Java can be used server-side. I also realize that Java is used for native Android because I also teach

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Dan Munro
in my opinion, that would be like asking how big is the internet?. http://www.washingtonpost.com/blogs/the-switch/wp/2013/08/18/heres-what-you-find-when-you-scan-the-entire-internet-in-an-hour/ On Tue, Aug 20, 2013 at 1:08 PM, Sebastian Krebs krebs@gmail.comwrote: 2013/8/20 Steven

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Stuart Dallas
On 20 Aug 2013, at 21:08, Sebastian Krebs krebs@gmail.com wrote: 2013/8/20 Steven Staples sstap...@mnsi.net My recent question was simply an attempt to get documentation to support which server-side Web Language is the most popular. Both PHP and Java can be used server-side. I also

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Stuart Dallas
On 20 Aug 2013, at 21:30, Dan Munro d...@danmunro.com wrote: in my opinion, that would be like asking how big is the internet?. http://www.washingtonpost.com/blogs/the-switch/wp/2013/08/18/heres-what-you-find-when-you-scan-the-entire-internet-in-an-hour/ That's scanning IP addresses and

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Ashley Sheridan
On Tue, 2013-08-20 at 21:44 +0100, Stuart Dallas wrote: On 20 Aug 2013, at 21:30, Dan Munro d...@danmunro.com wrote: in my opinion, that would be like asking how big is the internet?.

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Stuart Dallas
On 20 Aug 2013, at 22:00, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Tue, 2013-08-20 at 21:44 +0100, Stuart Dallas wrote: On 20 Aug 2013, at 21:30, Dan Munro d...@danmunro.com wrote: in my opinion, that would be like asking how big is the internet?.

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Lester Caine
Tedd Sperling wrote: I'm just trying to get documentation to back up my what I think I know. http://en.wikipedia.org/wiki/Programming_languages_used_in_most_popular_websites may be a better starting point, but there are no citations to the facts, they are a little dated, and some sites are a

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Dan Munro
Zmap works by being stateless, so while nmap records which requests go out, zmap fires and forgets, and encodes the request in such a way that the response can provide whatever details it needs to continue the scan. No magic here. On Tue, Aug 20, 2013 at 2:28 PM, Lester Caine les...@lsces.co.uk

Re: [PHP] PHP vs JAVA

2013-08-20 Thread PHP List
On 8/20/2013 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

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

2013-08-19 Thread Larry Garfield
On 08/17/2013 06:26 PM, Camilo Sperberg wrote: On 16 aug. 2013, at 19:17, Tamara Temple tamouse.li...@gmail.com 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

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 aesbo...@gmail.com 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

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 aesbo...@gmail.com: 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?

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 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 completely retired and out

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 php...@ehrhardt.nl 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

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 chopins.x...@gmail.com wrote: you can use JSON post 2013/8/19 aesbovis aesbo...@gmail.com: Hello there I am making a little web-based-tool for our studio to

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 aesbo...@gmail.com 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

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 old is this version of PHP?

2013-08-19 Thread Jeff Burcher
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 completely retired and out of support. 5.3 is on security-only life

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

2013-08-19 Thread Sebastian Krebs
- 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.net Subject: Re: [PHP] how old is this version of PHP? Larry Garfield wrote

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 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 stu...@3ft9.com wrote: On 19 Aug 2013, at 10:49, aesbovis aesbo...@gmail.com 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

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 tijn...@gmail.com wrote: On Mon, Aug 19, 2013 at 11:54 AM, Stuart Dallas stu...@3ft9.com wrote: On 19 Aug 2013, at 10:49, aesbovis aesbo...@gmail.com wrote: I know Javascript can solve it, but I don't want to use Js. Thank you all the same. I

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 stu...@3ft9.com wrote: On 19 Aug 2013, at 15:56, Matijn Woudt tijn...@gmail.com wrote: On Mon, Aug 19, 2013 at 11:54 AM, Stuart Dallas stu...@3ft9.com wrote: On 19 Aug 2013, at 10:49, aesbovis aesbo...@gmail.com wrote: I know Javascript can

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 tijn...@gmail.com wrote: On Mon, Aug 19, 2013 at 5:20 PM, Stuart Dallas stu...@3ft9.com wrote: On 19 Aug 2013, at 15:56, Matijn Woudt tijn...@gmail.com wrote: On Mon, Aug 19, 2013 at 11:54 AM, Stuart Dallas stu...@3ft9.com wrote: On 19 Aug 2013, at

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 stu...@3ft9.com 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

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

2013-08-19 Thread Larry Garfield
- 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.net Subject: Re: [PHP] how old is this version of PHP? Larry Garfield wrote: 5.2.9

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 hello2br /; var_dump(function_exists('**mysqli_connect'));// this returns

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 hello2br /; var_dump(function_exists('mysqli_connect'));// this returns boo(false) $db = 'Store'; $cxn =

Re: [PHP] Mysqli Extension

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

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 tijn...@gmail.com 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

Re: [PHP] Mysqli Extension

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

Re: [PHP] Mysqli Extension

2013-08-19 Thread Ashley Sheridan
Matijn Woudt tijn...@gmail.com wrote: On Mon, Aug 19, 2013 at 8:55 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: Curtis Maurand cur...@maurand.com wrote: Ethan Rosenberg wrote: Dear List - My mysqli extension seems to have gone away. $host = 'localhost'; $user =

Re: [PHP] Mysqli Extension

2013-08-19 Thread Daniel P. Brown
On Aug 19, 2013 2:32 PM, Ethan Rosenberg erosenb...@hygeiabiomedical.com 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 hello2br

Re: [PHP] Mysqli Extension

2013-08-19 Thread Matijn Woudt
On Mon, Aug 19, 2013 at 9:40 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: Matijn Woudt tijn...@gmail.com wrote: On Mon, Aug 19, 2013 at 8:55 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: Curtis Maurand cur...@maurand.com wrote: Ethan Rosenberg wrote: Dear List

Re: [PHP] Mysqli Extension

2013-08-19 Thread Curtis Maurand
Matijn Woudt wrote: On Mon, Aug 19, 2013 at 9:40 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: Matijn Woudt tijn...@gmail.com wrote: On Mon, Aug 19, 2013 at 8:55 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: Curtis Maurand cur...@maurand.com wrote: Ethan

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

Re: [PHP] Finally....

2013-08-17 Thread Kevin Kinsey
Date: Fri, 16 Aug 2013 11:23:18 -0400 From: Daniel Brown danbr...@php.net To: PHP General php-general@lists.php.net 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 |

Re: [PHP] Finally....

2013-08-17 Thread Daniel
Yay, Thankyou :) Regards, Daniel Fenn On Sat, Aug 17, 2013 at 2:30 AM, Robert Cummings rob...@interjinn.com 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

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

2013-08-17 Thread Camilo Sperberg
On 16 aug. 2013, at 19:17, Tamara Temple tamouse.li...@gmail.com 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 Extension

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 unrea...@gmail.com wrote: On 16 aug. 2013, at 19:17, Tamara Temple tamouse.li...@gmail.com 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

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 shahinarabbani.sh...@gmail.com 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

Re: [PHP] Finally....

2013-08-16 Thread Matijn Woudt
On Fri, Aug 16, 2013 at 5:23 PM, Daniel Brown danbr...@php.net 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

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 tijn...@gmail.com wrote: On Fri, Aug 16, 2013 at 5:23 PM, Daniel Brown danbr...@php.net wrote: # ezmlm-list ~ezmlm/php-general | grep skynet supp...@skynet.be #

Re: [PHP] Finally....

2013-08-16 Thread Tamara Temple
On Aug 16, 2013, at 10:58 AM, Marc Guay marc.g...@gmail.com 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:

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

Re: [PHP] Session_unset - session_destroy issue

2013-08-15 Thread Stuart Dallas
On 15 Aug 2013, at 19:16, dealTek deal...@gmail.com 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

Re: [PHP] sessions working? not working?

2013-08-12 Thread Tedd Sperling
On Aug 12, 2013, at 4:27 AM, Clifford Shuker clifford.shu...@ntlworld.com 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

Re: [PHP] Ambiguous?

2013-08-09 Thread Stuart Dallas
On 9 Aug 2013, at 13:00, Karl-Arne Gjersøyen karlar...@gmail.com 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,

Re: [PHP] Ambiguous?

2013-08-09 Thread Floyd Resler
On Aug 9, 2013, at 8:00 AM, Karl-Arne Gjersøyen karlar...@gmail.com 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,

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

Re: [PHP] fpdf problem?

2013-08-09 Thread Tamara Temple
On Aug 9, 2013, at 10:50 AM, Jim Giner jim.gi...@albanyhandball.com 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

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 jim.gi...@albanyhandball.com 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

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 jim.gi...@albanyhandball.com 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

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 Adobe

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

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

2013-08-08 Thread Karl-Arne Gjersøyen
2013/8/8 Jim Giner jim.gi...@albanyhandball.com 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*

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 jim.gi...@albanyhandball.com 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

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

2013-08-08 Thread Karl-Arne Gjersøyen
2013/8/8 Jim Giner jim.gi...@albanyhandball.com On 8/8/2013 1:43 PM, Karl-Arne Gjersøyen wrote: 2013/8/8 Jim Giner jim.gi...@albanyhandball.com On 8/8/2013 1:32 PM, Karl-Arne Gjersøyen wrote: $oppdater_lager_med_antall_kg = $kg_pa_lager +

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 jim.gi...@albanyhandball.com On 8/8/2013 1:43 PM, Karl-Arne Gjersøyen wrote: 2013/8/8 Jim Giner jim.gi...@albanyhandball.com On 8/8/2013 1:32 PM, Karl-Arne Gjersøyen wrote: $oppdater_lager_med_antall_kg = $kg_pa_lager

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

2013-08-08 Thread Karl-Arne Gjersøyen
2013/8/8 Jim Giner jim.gi...@albanyhandball.com On 8/8/2013 1:56 PM, Karl-Arne Gjersøyen wrote: 2013/8/8 Jim Giner jim.gi...@albanyhandball.com On 8/8/2013 1:43 PM, Karl-Arne Gjersøyen wrote: 2013/8/8 Jim Giner jim.gi...@albanyhandball.com On 8/8/2013 1:32 PM, Karl-Arne Gjersøyen

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 jim.gi...@albanyhandball.com On 8/8/2013 1:56 PM, Karl-Arne Gjersøyen wrote: 2013/8/8 Jim Giner jim.gi...@albanyhandball.com On 8/8/2013 1:43 PM, Karl-Arne Gjersøyen wrote: 2013/8/8 Jim Giner

Re: [PHP] Class Auto-Assigning to Variable

2013-08-07 Thread Sebastian Krebs
2013/8/7 Brian Smither bhsmit...@gmail.com 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 =

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 {

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. Conceptually

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 Stuart Dallas
On 7 Aug 2013, at 20:45, Brian Smither bhsmit...@gmail.com 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,

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 bhsmit...@gmail.com 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

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

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
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
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 relevant

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

2013-08-04 Thread Matijn Woudt
On Sun, Aug 4, 2013 at 11:02 AM, Farzan Dalaee farzan.dal...@gmail.comwrote: hi i want to write online user module for my site and i want to check $_SESSION['userID'] to find all users id who loged in but when i echo this code its return only current user detail how i can see all sessions?

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

2013-08-04 Thread Farzan Dalaee
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, at 14:44, Matijn Woudt tijn...@gmail.com wrote: On Sun, Aug 4, 2013 at

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

2013-08-04 Thread Ashley Sheridan
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, at 14:44, Matijn

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]supp...@skynet.be 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

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]supp...@skynet.be Because of the way the list is set up ... We all get every bounce

Re: [PHP] What the hell is Begacom?

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

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 a...@ashleysheridan.co.uk 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.

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, at 14:44,

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 Stuart Dallas
On 4 Aug 2013, at 14:36, Farzan Dalaee farzan.dal...@gmail.com 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

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

2013-08-04 Thread Ashley Sheridan
Farzan Dalaee farzan.dal...@gmail.com 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

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 a...@ashleysheridan.co.ukwrote: Farzan Dalaee farzan.dal...@gmail.com 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

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