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: http://www.php.net

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

php-general Digest 15 Aug 2013 18:16:40 -0000 Issue 8332

2013-08-15 Thread php-general-digest-help
php-general Digest 15 Aug 2013 18:16:40 - Issue 8332 Topics (messages 321843 through 321847): Re: How to upstream code changes to php community 321843 by: David Robley filesize() fails on file and works on it's copy (same permissions, same directory) 321844 by: MichaÅ

[PHP] Session_unset - session_destroy issue

2013-08-15 Thread dealTek
SESSIONS? ?php session_start(); $_SESSION['var1'] = 'test1'; echo 'br / test1 '. $_SESSION['var1'].' '; session_unset(); session_destroy(); $_SESSION = array(); $_SESSION['var1'] = 'test2'; echo 'br / test2 ' . $_SESSION['var1']; ? -- Thanks, Dave - DealTek deal...@gmail.com [db-3]

Re: [PHP] Session_unset - session_destroy issue

2013-08-15 Thread Stuart Dallas
on test2 - however it shows both for me... how do I UNSET - DESTROY SESSIONS? ?php session_start(); $_SESSION['var1'] = 'test1'; echo 'br / test1 '. $_SESSION['var1'].' '; session_unset(); session_destroy(); $_SESSION = array(); $_SESSION['var1'] = 'test2'; echo 'br

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

2013-08-13 Thread Michał Kochanowicz
/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-1553725666_X.JPG: 1907383 Regards Michał -- PHP General Mailing List (http

[PHP] Why the difference in email transit times?

2013-08-13 Thread Tedd Sperling
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

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

2013-08-13 Thread Ian
a look. Regards Ian -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

php-general Digest 12 Aug 2013 11:36:06 -0000 Issue 8330

2013-08-12 Thread php-general-digest-help
php-general Digest 12 Aug 2013 11:36:06 - Issue 8330 Topics (messages 321837 through 321840): [PHP-GENERAL] gibberish output when using the loadHTMLFile() function. 321837 by: atar gibberish output when using the loadHTMLFile() function. 321838 by: atar 321840

php-general Digest 13 Aug 2013 04:38:44 -0000 Issue 8331

2013-08-12 Thread php-general-digest-help
php-general Digest 13 Aug 2013 04:38:44 - Issue 8331 Topics (messages 321841 through 321842): Re: sessions working? not working? 321841 by: Tedd Sperling How to upstream code changes to php community 321842 by: Shahina Rabbani Administrivia: To subscribe to the digest, e

[PHP] sessions working? not working?

2013-08-12 Thread Clifford Shuker
is tested in the URL my warning comes up 'you need to login to see this page' which is what I want but, I've tried numerous avenues to reconcile my problem to no avail.. I'm a novice so any help would be appreciated.. ?php session_start(); error_reporting (E_ALL ^ E_NOTICE); $userid = $_SESSION

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

2013-08-12 Thread Maciek Sokolewicz
encoding is UTF-8 (usually done using a meta http-equiv=Content-Type content=text/html; charset=utf8/ 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

Re: [PHP] sessions working? not working?

2013-08-12 Thread Tedd Sperling
.. ?php session_start(); error_reporting (E_ALL ^ E_NOTICE); $userid = $_SESSION['userid']; $username = $_SESSION['username']; print_r($_SESSION); ? Ok, but when are you populating the SESSION's? Such as: $_SESSION['userid'] = $userid; Also, have a look at this: http

[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

[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 upstream the code to php

php-general Digest 11 Aug 2013 22:10:16 -0000 Issue 8329

2013-08-11 Thread php-general-digest-help
php-general Digest 11 Aug 2013 22:10:16 - Issue 8329 Topics (messages 321836 through 321836): [php-general] gibberish output when using the loadHTMLFile() function. 321836 by: atar Administrivia: To subscribe to the digest, e-mail: php-general-digest-subscr

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

2013-08-11 Thread atar
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-general Digest 10 Aug 2013 14:42:50 -0000 Issue 8328

2013-08-10 Thread php-general-digest-help
php-general Digest 10 Aug 2013 14:42:50 - Issue 8328 Topics (messages 321825 through 321835): Ambiguous? 321825 by: Karl-Arne Gjersøyen 321826 by: Stuart Dallas 321827 by: Floyd Resler 321828 by: richard gray fpdf problem? 321829 by: Jim Giner

[PHP] 'buffer sizes' ?

2013-08-10 Thread Lester Caine
://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

php-general Digest 9 Aug 2013 10:25:32 -0000 Issue 8327

2013-08-09 Thread php-general-digest-help
php-general Digest 9 Aug 2013 10:25:32 - Issue 8327 Topics (messages 321817 through 321824): Re: Operand error... 321817 by: Jim Giner 321818 by: Karl-Arne Gjersøyen 321819 by: Jim Giner 321820 by: Karl-Arne Gjersøyen 321821 by: Jim Giner

[PHP] List problem again...

2013-08-09 Thread Karl-Arne Gjersøyen
In my HTML5/PHP form I have this two rows.. trtd align=left valign=top0082/tdtd align=left valign=topExan E/tdtd align=left valign=topLEXE25NO/tdtd align=left valign=top200/td td align=center valign=topinput type=hidden name=leverandor value=Oricainput type=hidden name

[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

Re: [PHP] Ambiguous?

2013-08-09 Thread Stuart Dallas
, 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

Re: [PHP] Ambiguous?

2013-08-09 Thread Floyd Resler
which table it should use the field from. So, you need to qualify it by putting the table name in front of the field. Such as: SELECT * FROM exan,dynamit WHERE exan.varenr='$vnr' LIMIT 1 Take care, Floyd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Ambiguous?

2013-08-09 Thread richard gray
($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 'tilkobling.php' repeatedly for each iteration over $varenr_inn_pa_lager?? Rich -- PHP General Mailing List

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

Re: [PHP] fpdf problem?

2013-08-09 Thread Jim Giner
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 situation. No luck

Re: [PHP] fpdf problem?

2013-08-09 Thread Jim Giner
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 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

Re: [PHP] fpdf problem?

2013-08-09 Thread Jan Ehrhardt
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
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 (http://www.php.net

php-general Digest 8 Aug 2013 17:32:46 -0000 Issue 8326

2013-08-08 Thread php-general-digest-help
php-general Digest 8 Aug 2013 17:32:46 - Issue 8326 Topics (messages 321812 through 321816): Re: Class Auto-Assigning to Variable 321812 by: Brian Smither 321813 by: Ashley Sheridan 321814 by: Brian Smither 321815 by: Ashley Sheridan Operand error

[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

[PHP] Re: Operand error...

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

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
this time? Thanks 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 unsubscribe, visit: http

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
} That is one 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. -- PHP

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
'],$rad['field_name2'],$rad['field_name3'], . -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

php-general Digest 7 Aug 2013 08:47:24 -0000 Issue 8324

2013-08-07 Thread php-general-digest-help
php-general Digest 7 Aug 2013 08:47:24 - Issue 8324 Topics (messages 321804 through 321804): add call_func() syntax instead call_user_func_array() 321804 by: Szopen Xiao Administrivia: To subscribe to the digest, e-mail: php-general-digest-subscr...@lists.php.net

php-general Digest 7 Aug 2013 21:15:54 -0000 Issue 8325

2013-08-07 Thread php-general-digest-help
php-general Digest 7 Aug 2013 21:15:54 - Issue 8325 Topics (messages 321805 through 321811): Class Auto-Assigning to Variable 321805 by: Brian Smither 321806 by: Sebastian Krebs 321807 by: Brian Smither 321808 by: Ashley Sheridan 321809 by: Brian

[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] Class Auto-Assigning to Variable

2013-08-07 Thread Brian Smither
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 likely suspects.) PHP5.4.17-NTS-VC9

Re: [PHP] Class Auto-Assigning to Variable

2013-08-07 Thread Sebastian Krebs
= '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) in php shell code on line 1 php $clsHello

Re: [PHP] Class Auto-Assigning to Variable

2013-08-07 Thread Brian Smither
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 version. (A backup copy functions fine

Re: [PHP] Class Auto-Assigning to Variable

2013-08-07 Thread Ashley Sheridan
( [_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 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

Re: [PHP] Class Auto-Assigning to Variable

2013-08-07 Thread Brian Smither
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 Stuart Dallas
! 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? Yes: $hello = $clsHello; There are only a few variables that get assigned as side effects of functions

Re: [PHP] Class Auto-Assigning to Variable

2013-08-07 Thread Ashley Sheridan
likely 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? Yes: $hello = $clsHello

Re: [PHP] Class Auto-Assigning to Variable

2013-08-07 Thread Brian Smither
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
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
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
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

php-general Digest 6 Aug 2013 16:10:17 -0000 Issue 8323

2013-08-06 Thread php-general-digest-help
php-general Digest 6 Aug 2013 16:10:17 - Issue 8323 Topics (messages 321802 through 321803): Re: how to see all sessions sets in server 321802 by: Alessandro Pellizzari Re: Stripe Connect in the UK + PHP Integration. 321803 by: Richard Quadling Administrivia: To subscribe

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

2013-08-06 Thread Richard Quadling
On 19 July 2013 16:22, Richard Quadling rquadl...@gmail.com 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 individual, accepting

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

2013-08-05 Thread Alessandro Pellizzari
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 of online users. You can't escape it, except

php-general Digest 4 Aug 2013 10:13:26 -0000 Issue 8321

2013-08-04 Thread php-general-digest-help
php-general Digest 4 Aug 2013 10:13:26 - Issue 8321 Topics (messages 321782 through 321783): how to see all sessions sets in server 321782 by: Farzan Dalaee 321783 by: Alessandro Pellizzari Administrivia: To subscribe to the digest, e-mail: php-general-digest

php-general Digest 5 Aug 2013 03:24:04 -0000 Issue 8322

2013-08-04 Thread php-general-digest-help
php-general Digest 5 Aug 2013 03:24:04 - Issue 8322 Topics (messages 321784 through 321801): Re: how to see all sessions sets in server 321784 by: Matijn Woudt 321785 by: Farzan Dalaee 321786 by: Ashley Sheridan 321791 by: Tim Streater 321792

[PHP] how to see all sessions sets in server

2013-08-04 Thread Farzan Dalaee
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? foreach($_SESSION as $k = $v) { echo $k.--.$v; } or how i handle online

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

2013-08-04 Thread Alessandro Pellizzari
to save all the sessions in the database, and give access to that table to one user. Bye. -- 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 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
. You don't have to actually save anything to the DB manually, just instruct PHP to use the DB for its own sessions, rather than files. Do you really need to inspect each visitors session in detail, or do you just need a way to determine how many unique visitors are on the site at any one time

[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] supp...@skynet.be Thanks, Ash http://www.ashleysheridan.co.uk

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

Re: [PHP] What the hell is Begacom?

2013-08-04 Thread Ashley Sheridan
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.uk/wiki/?page=contact L.S.Caine Electronic Services - http

Re: [PHP] What the hell is Begacom?

2013-08-04 Thread Camilo Sperberg
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

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

2013-08-04 Thread Tim Streater
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] Re: how to see all sessions sets in server

2013-08-04 Thread Ashley Sheridan
. 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 (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 Farzan Dalaee
and iOS Safari. You don't have to actually save anything to the DB manually, just instruct PHP to use the DB for its own sessions, rather than files. Do you really need to inspect each visitors session in detail, or do you just need a way to determine how many unique visitors are on the site

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 indicators

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

2013-08-04 Thread Ashley Sheridan
correctly on Safari and iOS Safari. You don't have to actually save anything to the DB manually, just instruct PHP to use the DB for its own sessions, rather than files. Do you really need to inspect each visitors session in detail, or do you just need a way to determine how many unique visitors

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

2013-08-04 Thread Matijn Woudt
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. You don't have to actually save anything to the DB manually, just instruct PHP to use the DB for its own sessions, rather than files. Do you

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

2013-08-04 Thread Farzan Dalaee
, 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. You don't have to actually save anything to the DB manually, just instruct PHP to use the DB for its own sessions, rather than files

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

2013-08-04 Thread Ashley Sheridan
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. You don't have to actually save anything to the DB manually, just instruct PHP to use the DB for its own

[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 Paul M Foster
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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

php-general Digest 3 Aug 2013 09:32:30 -0000 Issue 8319

2013-08-03 Thread php-general-digest-help
php-general Digest 3 Aug 2013 09:32:30 - Issue 8319 Topics (messages 321772 through 321777): Re: OT - Internet Troubles?… 321772 by: Bastien 321773 by: Daniel suhosin and 5.4 onwards 321774 by: Nick Edwards 321775 by: Daniel 321776 by: Lester Caine

php-general Digest 3 Aug 2013 21:47:14 -0000 Issue 8320

2013-08-03 Thread php-general-digest-help
php-general Digest 3 Aug 2013 21:47:14 - Issue 8320 Topics (messages 321778 through 321781): Re: Sending headers to server 321778 by: Karim Geiger 321781 by: Matijn Woudt Session Vars not staying active 321779 by: dealTek 321780 by: Daniel P. Brown

[PHP] suhosin and 5.4 onwards

2013-08-03 Thread Nick Edwards
Ok, so I know this might start flame wars, but... here goes ;) It seems suhosin is dead as far as 5.4 goes, now, some make allegations that it is no longer needed since php has allegedly incorporated much of its safe guards, but these claims are from self proclaimed experts (a term i use very

Re: [PHP] suhosin and 5.4 onwards

2013-08-03 Thread Daniel
Well I do not use suhosin as I can lock down PHP with things like disable_function, disable_classes along with more advance function such as chroot and mod_security. On 8/3/13, Nick Edwards nick.z.edwa...@gmail.com wrote: Ok, so I know this might start flame wars, but... here goes ;) It seems

Re: [PHP] suhosin and 5.4 onwards

2013-08-03 Thread Lester Caine
Nick Edwards wrote: So, is the general opinion here, from actual factual experience and not because you read the same trashy bloggers as I did, in agreeance? is it genuinely true that suhosin is now irrelevant with 5.4 upwards and php is now much safer on its own? Practical experience

Re: [PHP] suhosin and 5.4 onwards

2013-08-03 Thread Res
taken over by someone else, I think the jury is out on if it will ever revive, in meantime, php 5.3 works fine. if only php devs would stop fscking changing everything every time they release a new version, frustrating to many. And people who reply on mod_security are no more protected than what

Re: [PHP] Sending headers to server

2013-08-03 Thread Karim Geiger
Am 02.08.13 18:03, schrieb Miguel Guedes: This is strange. I've just found out that the headers are sent correctly if I access the website outside of localhost. I don't understand why. I also don't. I've tried the exactly same code you posted on my localhost as well and it worked all

[PHP] Session Vars not staying active

2013-08-03 Thread dealTek
Hi all, I am having trouble with session vars. I'm trying to implement the credit card direct pay method outlined here... http://developer.authorize.net/api/dpm/ - Basically, page 1 is my form that goes outside my site to the cc gateway company then comes back with a result... (PG2)

Re: [PHP] Session Vars not staying active

2013-08-03 Thread Daniel P. Brown
On Aug 3, 2013 3:03 PM, dealTek deal...@gmail.com wrote: Hi all, I am having trouble with session vars. I'm trying to implement the credit card direct pay method outlined here... http://developer.authorize.net/api/dpm/ - Basically, page 1 is my form that goes outside my site to the cc

Re: [PHP] Sending headers to server

2013-08-03 Thread Matijn Woudt
On Sat, Aug 3, 2013 at 11:46 AM, Karim Geiger gei...@b1-systems.de wrote: Am 02.08.13 18:03, schrieb Miguel Guedes: This is strange. I've just found out that the headers are sent correctly if I access the website outside of localhost. I don't understand why. I also don't. I've tried the

php-general Digest 2 Aug 2013 09:00:27 -0000 Issue 8317

2013-08-02 Thread php-general-digest-help
php-general Digest 2 Aug 2013 09:00:27 - Issue 8317 Topics (messages 321750 through 321756): Re: Sending headers to server 321750 by: Karim Geiger 321756 by: Miguel Guedes Re: POST action 321751 by: Larry Garfield 321752 by: Paul M Foster 321755

Re: [PHP] Sending headers to server

2013-08-02 Thread Miguel Guedes
Hi Karim, On 01/08/13 15:40, Karim Geiger wrote: Works for me. What happens exactly? Do you get a 200? That's exactly right - I always get a 200. How can I diagnose this? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How to delete 3 months old records in my database?

2013-08-02 Thread Karl-Arne Gjersøyen
Hello again, folks! I wish to delete records in my database that is older than 3 months. $todays_date = date('Y-m-d'); $old_records_to_delete = ??? if($old_records_to_delete){ include(connect.php); $sql = DELETE FROM table WHERE date = '$old_records_to_delete'; mysql_query($sql, $connect_db) or

Re: [PHP] How to delete 3 months old records in my database?

2013-08-02 Thread Dušan Novaković
$query = DELECT FROM `__table_name__` WHERE `__date__` BETWEEN NOW() - INTERVAL 3 MONTH AND NOW() On Fri, Aug 2, 2013 at 12:58 PM, Karl-Arne Gjersøyen karlar...@gmail.comwrote: Hello again, folks! I wish to delete records in my database that is older than 3 months. $todays_date =

Re: [PHP] How to delete 3 months old records in my database?

2013-08-02 Thread Simon Griffiths
()); } Thank you very much for your help to understand also this question :) Karl -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to delete 3 months old records in my database?

2013-08-02 Thread Karl-Arne Gjersøyen
2013/8/2 Dušan Novaković ndu...@gmail.com $query = DELECT FROM `__table_name__` WHERE `__date__` BETWEEN NOW() - INTERVAL 3 MONTH AND NOW() This delete everything from now and 3months backwards. I want to store 3 months from now and delete OLDER than 3 months old records. Karl

Re: [PHP] How to delete 3 months old records in my database?

2013-08-02 Thread Simon Schick
it should've been DELETE, right? Bye Simon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to delete 3 months old records in my database?

2013-08-02 Thread Dušan Novaković
records. Karl Hi, Karl You're right, but restructuring, to get it the way you want, isn't be that hard, is it? :) $query = DELETE FROM `__table_name__` WHERE `__date__` NOW() - INTERVAL 3 MONTH @Dusan, Btw: What is DELECT? I assume it should've been DELETE, right? Bye Simon -- PHP

Re: [PHP] Sending headers to server

2013-08-02 Thread Matijn Woudt
On Thu, Aug 1, 2013 at 4:04 PM, Miguel Guedes miguel.a.gue...@gmail.comwrote: Hello List, I'm running PHP 5.4.9 as CGI (via apache 2.2.22) and can't seem to be able to send headers to the server. Both, header('Status: 500 Internal Server Error'); and, header('HTTP/1.1 500 Internal

[PHP] Re: How to delete 3 months old records in my database?

2013-08-02 Thread Jim Giner
= '$old_records_to_delete'; mysql_query($sql, $connect_db) or die(mysql_error()); } Thank you very much for your help to understand also this question :) Karl So close! BUT - you need to reverse your test. where date = '$old_records_to_delete' -- PHP General Mailing List (http://www.php.net

Re: [PHP] Sending headers to server

2013-08-02 Thread Miguel Guedes
On 02/08/13 14:10, Matijn Woudt wrote: Did you print some data before using header? No, not at all. I've PHP configured to complain about notices, warnings and errors; would've got a warning about headers already sent, which I don't get. -- PHP General Mailing List (http://www.php.net

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