Re: [PHP] Mysqli Extension

2013-08-19 Thread Matijn Woudt
2-mod-php5 > >> >> php5-cli > >> >> Reading > >> >package lists... Done > >> >> Building dependency tree > >> >> Reading > >> >state information... Done > >> >> libapache2-mod-php5 is already the > &g

Re: [PHP] Mysqli Extension

2013-08-19 Thread Daniel P. Brown
installed. > php5-common is already the newest version. > php5-common set to manually installed. > 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. > > It did not help. > > TIA > > Ethan > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

Re: [PHP] Mysqli Extension

2013-08-19 Thread Ashley Sheridan
> libapache2-mod-php5 is already the >> >newest version. >> >> libapache2-mod-php5 set to manually >> >installed. >> >> php5-cli is already the newest version. >> >> >> >php5-cli set to manually installed. >> >> php5-common is alr

Re: [PHP] Mysqli Extension

2013-08-19 Thread Matijn Woudt
kage lists... Done > >> Building dependency tree > >> Reading > >state information... Done > >> libapache2-mod-php5 is already the > >newest version. > >> libapache2-mod-php5 set to manually > >installed. > >> php5-cli is already the newest ver

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
y >installed. >> php5-cli is already the newest version. >> >php5-cli set to manually installed. >> php5-common is already the >newest version. >> php5-common set to manually installed. >> >0 upgraded, 0 newly installed, 0 to remove and 0 not upgrade

Re: [PHP] Mysqli Extension

2013-08-19 Thread Curtis Maurand
php5-common set to manually installed. > 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. > > It did not help. > > TIA > > Ethan > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

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

[PHP] Mysqli Extension

2013-08-19 Thread Ethan Rosenberg
-mod-php5 set to manually installed. php5-cli is already the newest version. php5-cli set to manually installed. php5-common is already the newest version. php5-common set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. It did not help. TIA Ethan -- PHP Gene

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

2013-08-19 Thread Larry Garfield
Far too much is made of BC breaks between PHP versions. Well-behaved code should still be working a decade later. The catch is that "well behaved" gets tighter each release. For example: $foo = "hello"; $bar = "world"; print $foo[$bar]; In PHP 5.3 and earlier

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

2013-08-19 Thread Tedd Sperling
#x27;s a wonder that anyone receives an education these days. Cheers, tedd ___ tedd sperling tedd.sperl...@gmail.com -- 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 Stuart Dallas
gt;> >> -Stuart >> >> >> 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 go-to method, d

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

2013-08-19 Thread Matijn Woudt
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 >> >> > You might wa

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

2013-08-19 Thread Stuart Dallas
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 > > > You might want to explain how you convert form data to JSON without > javascript? PHP can do it. Ruby can do it. .

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
le of small hosting companies who had sites across several ISP's and various versions of PHP ( and ASP thrown in for good measure ). Every site required a day or so's work to tidy up, and little problems thrown in like the ISP 'upgraded' PHP to the problem version. But

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

2013-08-19 Thread Sebastian Krebs
om 95 to 98. I am an AS400 programmer and I have legacy > programs written in RPG II, which died 20 years ago, and they still run > fine > on the newest version of AS400 or iSeries or Power System or whatever the > heck it is called now. I also have PHP scripts that are many years old that &

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

2013-08-19 Thread Jeff Burcher
egacy programs written in RPG II, which died 20 years ago, and they still run fine on the newest version of AS400 or iSeries or Power System or whatever the heck it is called now. I also have PHP scripts that are many years old that work just fine the way they are, if a new version doesn't come

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

2013-08-19 Thread Lester Caine
-- Lester Caine - G8HFL - Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.

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

2013-08-19 Thread Stuart Dallas
t;>> 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! >>> aesbovis >>> >>> -- >>>

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

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
ime? > > Thank you! > aesbovis > > -- > *Anywhere @aesbovis!* -- 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 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

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

2013-08-18 Thread 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! aesbovis -- *Anywhere @aesbovis!*

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

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:

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 Exten

[PHP] how old is this version of PHP?

2013-08-17 Thread Tamara Temple
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 220060519 Just how old is this version of PHP?? -- PHP General Mailing List

Re: [PHP] Finally....

2013-08-17 Thread Daniel
friend bites the dust *sniffle*. > > > -- > E-Mail Disclaimer: Information contained in this message and any > attached documents is considered confidential and legally protected. > This message is intended solely for the addressee(s). Disclosure, > copying, and distribution are p

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 |

Re: [PHP] Finally....

2013-08-16 Thread Robert Cummings
and legally protected. This message is intended solely for the addressee(s). Disclosure, copying, and distribution are prohibited unless authorized. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

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-

[PHP] Finally....

2013-08-16 Thread Daniel Brown
# 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 services" autoreplies from the Belgacom Webteam. Sorry

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 bu

Re: [PHP] Session_unset - session_destroy issue

2013-08-15 Thread Stuart Dallas
lling session_start will populate it with an existing session, and when the request ends the contents will be stored. Once you've closed or destroyed the session it does not stop working because it's nothing more than a superglobal variable, it just won't be stored at the end of the request. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Session_unset - session_destroy issue

2013-08-15 Thread dealTek
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 - however it shows both for me... how do I UNSET - DESTROY S

[PHP] Re: Why the difference in email transit times?

2013-08-13 Thread Ian
one 'set'. All speculation of course ;) Feel free to send the headers off list and I'll take a look. Regards Ian -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Why the difference in email transit times?

2013-08-13 Thread Tedd Sperling
other domain I own), the email literally takes hours (up to 12) to arrive. Any idea of why there is a difference of email transit times between the two domains? Cheers, tedd PS: Note, my receiving email addresses are handled by gmail.com. ___ tedd sperling t...@sperling.com -

[PHP] filesize() fails on file and works on it's copy (same permissions, same directory)

2013-08-13 Thread Michał Kochanowicz
a.michal.waw.pl/gallery3-3.0.x/test.php on line 13 /home/services/httpd/html.galeria.XXX/gallery/var/albums/988_Rok-2013/333_Rydzewo-04-06.08.2013/Sobota/DSC_5196_fx-1553725666.JPG: /home/services/httpd/html.galeria.XXX/gallery/var/albums/988_Rok-2013/333_Rydzewo-04-06.08.2013/Sobota/DSC_5196_fx-1

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

2013-08-12 Thread David Robley
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 guide to

[PHP] How to upstream code changes to php community

2013-08-12 Thread Shahina Rabbani
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 guide to upstream the code to php. Please help me by providing the

Re: [PHP] sessions working? not working?

2013-08-12 Thread Tedd Sperling
ovice so any help would be appreciated.. > > > > > session_start(); > > error_reporting (E_ALL ^ E_NOTICE); > > $userid = $_SESSION['userid']; > > $username = $_SESSION['username']; > > print_r($_SESSION); > > ?> > Ok, but when ar

[PHP] Re: gibberish output when using the loadHTMLFile() function.

2013-08-12 Thread Maciek Sokolewicz
self states its encoding is UTF-8 (usually done using a If your output conforms to all three of these, it will work. It probably does not conform to it however. - Tul - Tul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] sessions working? not working?

2013-08-12 Thread Clifford Shuker
Hi List, 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 to see the page and all its contents - session var

[PHP] [php-general] gibberish output when using the loadHTMLFile() function.

2013-08-11 Thread atar
ow to solve this problem? NOTE: the document itself is encoded in utf-8 character set. Thanks in advance!! atar. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] 'buffer sizes' ?

2013-08-10 Thread Lester Caine
L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] fpdf problem?

2013-08-09 Thread Jim Giner
35, Update version 10.0.7, W7 Pro 64-bits. Adobe Reader XI, version 11.0.3. Jan I have since my last post discovered that XI does indeed solve the problem completely. Too bad M$ doesn't post that info on all the many forum topics complaining about this. -- PHP General Mailing List (htt

Re: [PHP] fpdf problem?

2013-08-09 Thread Jan Ehrhardt
10.0.9200.16635, Update version 10.0.7, W7 Pro 64-bits. Adobe Reader XI, version 11.0.3. Jan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] fpdf problem?

2013-08-09 Thread Jim Giner
ry to print one of these pdfs created by my php scripts. The pdf files that I create seem fine. If I bring one up in IE and then save it to my drive, I can then exit IE and go open the pdf and print it just fine. I have removed my pdf printer drivers from my system and that hasn't improved my

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 m

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

[PHP] fpdf problem?

2013-08-09 Thread Jim Giner
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 seem fine. If I bring one up in IE and then save

Re: [PHP] Ambiguous?

2013-08-09 Thread richard gray
uery needs to specify from which table you are selecting the data. foreach($varenr_inn_pa_lager as $vnr){ include('../../tilkobling.php'); $sql = "SELECT * FROM exan,dynamit WHERE varenr = '$vnr' LIMIT do you really need to include the file 'ti

Re: [PHP] Ambiguous?

2013-08-09 Thread Floyd Resler
gt; What means with "ambiguous" here? > > Thanks. > Karl Your field "varenr" is in both tables you are joining. Therefore, MySQL doesn't know which table it should use the field from. So, you need to qualify it by putting the table name in front of the field. Su

Re: [PHP] Ambiguous?

2013-08-09 Thread Stuart Dallas
ans with "ambiguous" here? The field exists in both tables, so you need to specify which one you mean. Please learn how to use Google, it knows the answer to almost everything! -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Ambiguous?

2013-08-09 Thread Karl-Arne Gjersøyen
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()); 2) Result: Column 'varenr' in where clause is am

[PHP] List problem again...

2013-08-09 Thread Karl-Arne Gjersøyen
In my HTML5/PHP form I have this two rows.. 0082Exan ELEXE25NO200 0081Dynamit - papirpatron - 22x180EDY22X180K100 Then I have this in PHP source to handle it... $antall_varenr = count

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

2013-08-08 Thread Jim Giner
$rad = mysql_fetch_array($resultat, MYSQL_ASSOC); and write it tis way can perhaps make someting more correct? For example $variable[$i] ? Karl Not sure what your question is now. But - $rad will contain a single row of values here, all in an array such as $rad['field_name1'],$rad[&#x

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
var. What is the other var? Thank you very much! Now I know the error.. One of those variables are NULL! When I fix it I think it work! Karl actually, the null is ok I think. The array is wrong - you can't 'add' an array to a scalar variable, which an integer or null is. -

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
s for your good advice! Karl You do a var_dump on each variable to see what type they were defined as. NULL array(2) { [0]=> string(3) "100" [1]=> string(3) "340" } That is one var. What is the other var? -- PHP General Mailing List (http://www.php.net/) To un

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

[PHP] Re: Operand error...

2013-08-08 Thread Jim Giner
type they were defined as. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Operand error...

2013-08-08 Thread Karl-Arne Gjersøyen
$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 *I have also tried this: $kg_pa_lager += $kg_fra_transportdokument_inn_pa_valgt_lager; Both o

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
Can we then postulate that the value of $GLOBALS['hello'] will also be revealed in $hello, even though $hello was never formally declared? I know that $GLOBALS['hello'] has a universal scope, and $hello (wherever it comes from) needs to be global-ized inside functions. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Class Auto-Assigning to Variable

2013-08-07 Thread Ashley Sheridan
't necessarily get hung up on this being the exact code, it's just a proof of concept of how it /might/ be happening. Like I said, there are probably other ways too. > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php Thanks, Ash -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Class Auto-Assigning to Variable

2013-08-07 Thread Brian Smither
$GLOBALS['hello'] will, at the same time, also create $hello (without a statement declaring such)? This: http://php.net/manual/en/reserved.variables.globals.php implies the opposite direction. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Class Auto-Assigning to Variable

2013-08-07 Thread Ashley Sheridan
27; of the actual > > application. There is much, much more code. None of it is an apparent > > likely suspect in causing this behavior. > > > > I am hoping for a, "Oh, yeah! I've seen that happen before. It's caused > > by..." > > > &g

Re: [PHP] Class Auto-Assigning to Variable

2013-08-07 Thread Stuart Dallas
suspect in causing this behavior. > > I am hoping for a, "Oh, yeah! I've seen that happen before. It's caused by..." > > Let us focus on the central question: > > Would there be a PHP function that would do [what the example describes] as a > side-effect? Y

Re: [PHP] Class Auto-Assigning to Variable

2013-08-07 Thread Brian Smither
caused by..." Let us focus on the central question: Would there be a PHP function that would do [what the example describes] as a side-effect? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Class Auto-Assigning to Variable

2013-08-07 Thread Ashley Sheridan
nt_r($hello,true); > > Output: > The variable $hello is object > Hello Object > ( > [_world:Hello:private] => World > ) > > There is no statement in my application that assigns an instance of the class > to another variable, the name being a lowercase va

Re: [PHP] Class Auto-Assigning to Variable

2013-08-07 Thread Brian Smither
in my application that assigns an instance of the class to another variable, the name being a lowercase variant of the class name. Would there be a PHP function that would do this as a side-effect? I am more interested in learning what is happening as opposed to rolling back to a previous versi

Re: [PHP] Class Auto-Assigning to Variable

2013-08-07 Thread Sebastian Krebs
vate $_world = 'World'; __construct(){} } > This isn't even valid PHP $ php -a Interactive shell php > class Hello { private $_world = 'World'; __construct(){} } PHP Parse error: syntax error, unexpected '__construct' (T_STRING), expecting function (T_FUNCTION

[PHP] Class Auto-Assigning to Variable

2013-08-07 Thread Brian Smither
iable, the name being a lowercase variant of the class name. Would there be a PHP function that would do this as a side-effect? I am more interested in learning what is happening as opposed to rolling back to a previous version. (A backup copy functions fine. A file compare does not reveal any lik

[PHP] add call_func() syntax instead call_user_func_array()

2013-08-07 Thread Szopen Xiao
https://bugs.php.net/bug.php?id=65410 above feate bug my implement the syntax think, request master of PHP internals developer help complete my submit code learn the foreach -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Stripe Connect in the UK + PHP Integration.

2013-08-06 Thread Richard Quadling
On 19 July 2013 16:22, Richard Quadling wrote: > Hi. > > Simple question. > > Has anyone got Stripe Connect, Stripe.js and Stripe PHP SDK operational in > the UK. > > I'm struggling getting the UK Beta to accept a new account/customer set > for a UK business or in

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

2013-08-05 Thread Alessandro Pellizzari
tes something. You absolutely need javascript. You just need to find out how to connect to the server. Have a look at socket.io, and find a php library that supports it. I think it is the easiets way. Be aware that the load on your server will be huge, growing exponentially with the number o

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

2013-08-04 Thread Paul M Foster
nuine, but I'm not *that* > unpopular! I'm sorry. Were you saying something? As soon as I saw "Ashley Sheridan" in my email client, it closed and my computer rebooted for some strange reason. ;-} Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- P

[PHP] Re: What the hell is Begacom?

2013-08-04 Thread Jonesy
On Sun, 4 Aug 2013 14:02:07 +0200, Camilo Sperberg wrote: > > Sent from my iPhone 6 Beta [Confidential use only] You need not apologize. :-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2013-08-04 Thread Ashley Sheridan
ay >the >> >online users, check where the timestamp is between now and a few >> >minutes ago. Note that without javascript (or flash/java/etc) there >is >> >no way to truly know if the user left or not. The session will stay >> >active for a long time, depend

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

2013-08-04 Thread Farzan Dalaee
he >> >online users, check where the timestamp is between now and a few >> >minutes ago. Note that without javascript (or flash/java/etc) there is >> >no way to truly know if the user left or not. The session will stay >> >active for a long time, depending

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

2013-08-04 Thread Matijn Woudt
to truly know if the user left or not. The session will stay > >active for a long time, depending on your php.ini settings. > >>> > > >>> > - Matijn > >>> > > >> > >> Like Matijn said, unless you're using some kind of clie

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

2013-08-04 Thread Ashley Sheridan
ithout javascript (or flash/java/etc) there is >no way to truly know if the user left or not. The session will stay >active for a long time, depending on your php.ini settings. >>> > >>> > - Matijn >>> > >> >> Like Matijn said, unless you

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 a

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
gt; > the user left or not. The session will stay active for a long time, >> > depending on your php.ini settings. >> > >> > - Matijn >> > > > Like Matijn said, unless you're using some kind of client-side method to > continually poll the server, y

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

2013-08-04 Thread Ashley Sheridan
> > browser. There are Javascript events for exiting a page, but they don't > > work correctly on Safari and iOS Safari. > > onbeforeunload works fine in Safari; I use it all the time. > > -- > Cheers -- Tim > > -- > PHP General Mailing List (

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

2013-08-04 Thread Tim Streater
on't > work correctly on Safari and iOS Safari. onbeforeunload works fine in Safari; I use it all the time. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What the hell is Begacom?

2013-08-04 Thread Camilo Sperberg
's why I was getting those emails as well xD Sent from my iPhone 6 Beta [Confidential use only] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What the hell is Begacom?

2013-08-04 Thread Ashley Sheridan
up ... > We all get every bounce message as a result of posting to PHP lists since WE > are > set as the reply-to address. This apparently is the right way of doing email > lists ;) > > -- > Lester Caine - G8HFL > - > Contact - http://lsces.co.

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

[PHP] What the hell is Begacom?

2013-08-04 Thread Ashley Sheridan
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

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

2013-08-04 Thread Ashley Sheridan
Matijn > > 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 events for exiting a page, but they don't work correctly on Safari and iOS Safari.

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