Re: [PHP] refernces, arrays, and why does it take up so much memory?

2013-09-03 Thread Stuart Dallas
from the original array, which appears to be what you describe. unset($this-tmp_results[$k]); Doing this for every loop is likely very inefficient. I don't know how the inner workings of PHP process something like this, but I wouldn't be surprised if it's allocating a new

RE: [PHP] refernces, arrays, and why does it take up so much memory? [SOLVED]

2013-09-03 Thread Daevid Vincent
EUREKA! -Original Message- From: Stuart Dallas [mailto:stu...@3ft9.com] Sent: Tuesday, September 03, 2013 6:31 AM To: Daevid Vincent Cc: php-general@lists.php.net Subject: Re: [PHP] refernces, arrays, and why does it take up so much memory? On 3 Sep 2013, at 02:30, Daevid

Re: [PHP] refernces, arrays, and why does it take up so much memory? [SOLVED]

2013-09-03 Thread Stuart Dallas
was to not store the $g as ['g'] -- which would seem to be the more efficient way of doing this once and re-use the array over and over, but instead I am forced to inline rip through and explode() in three different places of my code. Consider what you're asking PHP to do. You're taking an element

RE: [PHP] refernces, arrays, and why does it take up so much memory? [SOLVED]

2013-09-03 Thread Daevid Vincent
-Original Message- From: Stuart Dallas [mailto:stu...@3ft9.com] Sent: Tuesday, September 03, 2013 2:37 PM To: Daevid Vincent Cc: php-general@lists.php.net; 'Jim Giner' Subject: Re: [PHP] refernces, arrays, and why does it take up so much memory? [SOLVED] On 3 Sep 2013, at 21:47

RE: [PHP] refernces, arrays, and why does it take up so much memory? [SOLVED]

2013-09-03 Thread Daevid Vincent
-Original Message- From: Daevid Vincent [mailto:dae...@daevid.com] Sent: Tuesday, September 03, 2013 4:03 PM To: php-general@lists.php.net Cc: 'Stuart Dallas' Subject: RE: [PHP] refernces, arrays, and why does it take up so much memory? [SOLVED] $this-tmp_results[$k]['g

Re: [PHP] Re: PHP-5.5.2 +opcache segfaults with Piwik

2013-09-03 Thread Daniel
://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 Mailing List (http://www.php.net/) To unsubscribe

php-general Digest 2 Sep 2013 08:57:25 -0000 Issue 8352

2013-09-02 Thread php-general-digest-help
php-general Digest 2 Sep 2013 08:57:25 - Issue 8352 Topics (messages 322017 through 322020): Re: PHP-5.5.2 +opcache segfaults with Piwik 322017 by: Lester Caine 322018 by: Jan Ehrhardt 322019 by: Jan Ehrhardt 322020 by: Jan Ehrhardt Administrivia

php-general Digest 3 Sep 2013 01:31:03 -0000 Issue 8353

2013-09-02 Thread php-general-digest-help
php-general Digest 3 Sep 2013 01:31:03 - Issue 8353 Topics (messages 322021 through 322023): Re: PHP-5.5.2 +opcache segfaults with Piwik 322021 by: Jan Ehrhardt 322022 by: Lester Caine refernces, arrays, and why does it take up so much memory? 322023 by: Daevid

[PHP] Re: PHP-5.5.2 +opcache segfaults with Piwik

2013-09-02 Thread Jan Ehrhardt
Grant in php.general (Sun, 25 Aug 2013 02:31:29 -0700): I've tried php-5.5.2 and 5.5.3 but both segfault with piwik unless the opcache is disabled. Someone filed a piwik bug but was told it's a php bug: http://dev.piwik.org/trac/ticket/4093 Could you try to add a function_exists check to libs

[PHP] Re: PHP-5.5.2 +opcache segfaults with Piwik

2013-09-02 Thread Jan Ehrhardt
. This patch, together with upgrading to the latest OPcache from github solved my segfaults and fatal errors. Jan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: PHP-5.5.2 +opcache segfaults with Piwik

2013-09-02 Thread Lester Caine
=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.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] refernces, arrays, and why does it take up so much memory?

2013-09-02 Thread Daevid Vincent
as a wild guess, I also added 'g' to my SQL so that PHP would already have a placeholder variable there in tmp_results, but that made no difference. And still used up nearly double the memory as above. SELECT DISTINCT `id`, sag.`genres`, 'g' FROM.

[PHP] Re: refernces, arrays, and why does it take up so much memory?

2013-09-02 Thread Jim Giner
: (78,118,912) MEMORY USED FOR array_combine: 8,050,376 PEAK: (86,507,520) Just as a wild guess, I also added 'g' to my SQL so that PHP would already have a placeholder variable there in tmp_results, but that made no difference. And still used up nearly double the memory as above. SELECT DISTINCT `id`, sag

RE: [PHP] Re: refernces, arrays, and why does it take up so much memory?

2013-09-02 Thread Daevid Vincent
-Original Message- From: Jim Giner [mailto:jim.gi...@albanyhandball.com] Sent: Monday, September 02, 2013 8:14 PM To: php-general@lists.php.net Subject: [PHP] Re: refernces, arrays, and why does it take up so much memory? On 9/2/2013 9:30 PM, Daevid Vincent wrote: I'm confused

php-general Digest 1 Sep 2013 09:14:01 -0000 Issue 8351

2013-09-01 Thread php-general-digest-help
php-general Digest 1 Sep 2013 09:14:01 - Issue 8351 Topics (messages 322016 through 322016): Re: PHP-5.5.2 +opcache segfaults with Piwik 322016 by: Grant Administrivia: To subscribe to the digest, e-mail: php-general-digest-subscr...@lists.php.net To unsubscribe from

[PHP] Re: PHP-5.5.2 +opcache segfaults with Piwik

2013-09-01 Thread Grant
I've tried php-5.5.2 and 5.5.3 but both segfault with piwik unless the opcache is disabled. Someone filed a piwik bug but was told it's a php bug: http://dev.piwik.org/trac/ticket/4093 - Grant Is this a known issue? - Grant -- PHP General Mailing List (http://www.php.net

Re: [PHP] Re: PHP-5.5.2 +opcache segfaults with Piwik

2013-09-01 Thread Lester Caine
Grant wrote: I've tried php-5.5.2 and 5.5.3 but both segfault with piwik unless the opcache is disabled. Someone filed a piwik bug but was told it's a php bug: http://dev.piwik.org/trac/ticket/4093 Is this a known issue? I'm running my own port of piwik in production with eaccelerator

Re: [PHP] Re: PHP-5.5.2 +opcache segfaults with Piwik

2013-09-01 Thread Jan Ehrhardt
Lester Caine in php.general (Sun, 01 Sep 2013 12:59:18 +0100): Grant wrote: I've tried php-5.5.2 and 5.5.3 but both segfault with piwik unless the opcache is disabled. Someone filed a piwik bug but was told it's a php bug: http://dev.piwik.org/trac/ticket/4093 Is this a known issue

[PHP] Re: PHP-5.5.2 +opcache segfaults with Piwik

2013-09-01 Thread Jan Ehrhardt
Grant in php.general (Sun, 1 Sep 2013 02:13:54 -0700): I've tried php-5.5.2 and 5.5.3 but both segfault with piwik unless the opcache is disabled. Someone filed a piwik bug but was told it's a php bug: http://dev.piwik.org/trac/ticket/4093 Is this a known issue? I changed the PHP on my

php-general Digest 30 Aug 2013 21:00:13 -0000 Issue 8350

2013-08-30 Thread php-general-digest-help
php-general Digest 30 Aug 2013 21:00:13 - Issue 8350 Topics (messages 322015 through 322015): Strange url session behavior after upgrade to 4.3 322015 by: Tobiah Administrivia: To subscribe to the digest, e-mail: php-general-digest-subscr...@lists.php.net To unsubscribe

[PHP] Strange url session behavior after upgrade to 4.3

2013-08-30 Thread Tobiah
(); The session is there! But why isn't php taking the cookie as the id all by itself? Regular pages (not curled) all work as before. All of our websites work fine on the new version, except for this one curl call. I could update 100's of websites to fix them with the added lines, but I'd really rather find

php-general Digest 29 Aug 2013 23:30:10 -0000 Issue 8349

2013-08-29 Thread php-general-digest-help
php-general Digest 29 Aug 2013 23:30:10 - Issue 8349 Topics (messages 322012 through 322014): Re: Basic Auth 322012 by: Jim Giner 322013 by: Stuart Dallas IMAP Metadata support 322014 by: list.airstreamcomm.net Administrivia: To subscribe to the digest, e-mail

[PHP] IMAP Metadata support

2013-08-29 Thread list
Does PHP IMAP have any support for Metadata? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

php-general Digest 28 Aug 2013 10:15:58 -0000 Issue 8348

2013-08-28 Thread php-general-digest-help
php-general Digest 28 Aug 2013 10:15:58 - Issue 8348 Topics (messages 322011 through 322011): Re: php seg faults on creation pdf 322011 by: KAs Coenen Administrivia: To subscribe to the digest, e-mail: php-general-digest-subscr...@lists.php.net To unsubscribe from

[PHP] RE: php seg faults on creation pdf

2013-08-28 Thread KAs Coenen
Hi, Some more info. I ran gdb on the core file (after reinstalling with debug mode): # /usr/local/gdb/bin/gdb /usr/local/php5/bin/php-cgi /opt/apache/htdocs/wachtlijst/core GNU gdb (GDB) 7.6 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http

Re: [PHP] Basic Auth

2013-08-28 Thread Jim Giner
a signoff. And yes - I've taken the proper precautions to hash the incoming password value before submission and storing in my db that way. Thanks again. It's help like this that makes this group such a great resource. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Basic Auth

2013-08-28 Thread Stuart Dallas
On 27 Aug 2013, at 18:45, Jim Giner jim.gi...@albanyhandball.com wrote: From your latest missive I gleaned that I needed to have a script on my server One last time: YOU DON'T NEED TO CHANGE ANYTHING ON THE SERVER-SIDE! Ok, I see that you've decided to use another method, which is great; HTTP

php-general Digest 27 Aug 2013 06:45:12 -0000 Issue 8346

2013-08-27 Thread php-general-digest-help
php-general Digest 27 Aug 2013 06:45:12 - Issue 8346 Topics (messages 321971 through 321985): Re: exec and system do not work 321971 by: Jim Giner 321973 by: marco.behnke.biz 321976 by: Tamara Temple 321978 by: Ethan Rosenberg, PhD 321979 by: Tim

[PHP] Re: Permissions

2013-08-27 Thread David Robley
Aug 26 20:26 www I had set the S bit [probably a nasty mistake] and I thought I was able to remove the bit. [it doesn't show above] How do I extricate myself from the hole into which I have planted myself? TIA Ethan This is in no way a php question, as the same result will happen

Re: [PHP] Re: Permissions

2013-08-27 Thread Ashley Sheridan
Ethan This is in no way a php question, as the same result will happen no matter what you ask apache to serve from that directory. You have the directory permissions set to 776 not 777. -- Cheers David Robley Steal this tagline and I'll tie-dye your cat! 776 won't matter

Re: [PHP] Re: Permissions

2013-08-27 Thread David Robley
planted myself? TIA Ethan This is in no way a php question, as the same result will happen no matter what you ask apache to serve from that directory. You have the directory permissions set to 776 not 777. -- Cheers David Robley Steal this tagline and I'll tie-dye your cat

[PHP] How to do PHP build test

2013-08-27 Thread Shahina Rabbani
Hi, Can anybody help me answering my doubt. I wanted to check if there are any errors with the php compilation and build. I have ran make, make test. make test didnt give any errors to me. Is there any other method or command to run through which we can see if there are any errors in building

Re: [PHP] exec and system do not work

2013-08-27 Thread Jim Giner
are likely working just fine, but that the commands you've passed to them may not be. -- Marco Behnke Dipl. Informatiker (FH), SAE Audio Engineer Diploma Zend Certified Engineer PHP 5.3 Tel.: 0174 / 9722336 e-Mail: ma...@behnke.biz Softwaretechnik Behnke Heinrich-Heine-Str. 7D 21218 Seevetal

[PHP] Basic Auth

2013-08-27 Thread Jim Giner
the PHP_AUTH_USER and _PW vars. Can someone explain to me why this doesn't suffice? The signon process expects them to be there, so when they are not (after the 'unset'), how come my signon process still detects them and their values? -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Basic Auth

2013-08-27 Thread Stuart Dallas
which sends an XMLHttpRequest with an invalid username and password. The server will return a 401 which you ignore and then take the user to whatever URL you want them to see after they log off. Not pretty, but it works. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing

Re: [PHP] Basic Auth

2013-08-27 Thread Jim Giner
value appears. Very confusing! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Basic Auth

2013-08-27 Thread Stuart Dallas
the value to 'xxx' and show it having that value, but when the script is called again the old value appears. Very confusing! I didn't say you couldn't change it, I said doing so will have no effect on the browser. It's not really confusing so long as you understand how PHP works. Each request

Re: [PHP] Basic Auth

2013-08-27 Thread Jim Giner
On 8/27/2013 10:14 AM, Stuart Dallas wrote: It's not really confusing so long as you understand how PHP works. Each request is brand new - nothing is retained from previous requests. The two variable you're changing are set by PHP when the request comes in from the browser. The fact you

Re: [PHP] Basic Auth

2013-08-27 Thread Stuart Dallas
On 27 Aug 2013, at 15:18, Jim Giner jim.gi...@albanyhandball.com wrote: On 8/27/2013 10:14 AM, Stuart Dallas wrote: It's not really confusing so long as you understand how PHP works. Each request is brand new - nothing is retained from previous requests. The two variable you're changing

Re: [PHP] Basic Auth

2013-08-27 Thread Jim Giner
On 8/27/2013 10:39 AM, Stuart Dallas wrote: On 27 Aug 2013, at 15:18, Jim Giner jim.gi...@albanyhandball.com wrote: On 8/27/2013 10:14 AM, Stuart Dallas wrote: It's not really confusing so long as you understand how PHP works. Each request is brand new - nothing is retained from previous

Re: [PHP] Basic Auth

2013-08-27 Thread Stuart Dallas
On 27 Aug 2013, at 15:51, Jim Giner jim.gi...@albanyhandball.com wrote: On 8/27/2013 10:39 AM, Stuart Dallas wrote: On 27 Aug 2013, at 15:18, Jim Giner jim.gi...@albanyhandball.com wrote: On 8/27/2013 10:14 AM, Stuart Dallas wrote: It's not really confusing so long as you understand how PHP

Re: [PHP] Basic Auth

2013-08-27 Thread Jim Giner
not really confusing so long as you understand how PHP works. Each request is brand new - nothing is retained from previous requests. The two variable you're changing are set by PHP when the request comes in from the browser. The fact you changed them in a previous request is irrelevant because 1

Re: [PHP] Off the wall - sub-domain question

2013-08-27 Thread Daniel Brown
On Wed, Aug 21, 2013 at 5:16 PM, Jim Giner jim.gi...@albanyhandball.com wrote: I have a main domain (of course) and a sub domain. I'm really trying to steer my personal stuff away from the main one and have focused all of my php development to the sub-domain. Lately I noticed that google

Fwd: [PHP] Basic Auth

2013-08-27 Thread Stuart Dallas
Oops, sent this message from the wrong email address, so the list rejected it. Begin forwarded message: From: Stuart Dallas stu...@3ft9.com Subject: Re: [PHP] Basic Auth Date: 27 August 2013 16:36:27 BST To: jim.gi...@albanyhandball.com Cc: php-general@lists.php.net On 27 Aug 2013, at 15

Re: [PHP] Re: Permissions

2013-08-27 Thread Daniel Brown
' notation, that's either a bitmask of 0400 or 0200, which are for setuid and setgid, respectively. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Fwd: [PHP] Basic Auth

2013-08-27 Thread Jim Giner
On 8/27/2013 11:56 AM, Stuart Dallas wrote: Oops, sent this message from the wrong email address, so the list rejected it. Begin forwarded message: From: Stuart Dallas stu...@3ft9.com Subject: Re: [PHP] Basic Auth Date: 27 August 2013 16:36:27 BST To: jim.gi...@albanyhandball.com Cc: php

Re: [PHP] How to send post-variables in a Location header

2013-08-27 Thread Daniel Brown
). -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Basic Auth

2013-08-27 Thread B. Aerts
-estimating your knowledge (and over-estimating mine) of HTTP-requests in PHP - but here it goes. I see two options of bypassing the JavaScript option. The first one is to use the default authorization, and error pages of your HTTP server. (For example, in Apache: http://httpd.apache.org/docs

Re: [PHP] exec and system do not work

2013-08-27 Thread Daniel Brown
)); { $out = system(touch /var/www/orders.txt, $ret); $out2 = system(chmod 766 /var/www/orders.txt, $ret); echo 'file2br /'; echo file_exists(/var/www/orders.txt); } ?php echo `whoami`; ? -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List

Re: [PHP] Basic Auth

2013-08-27 Thread Stuart Dallas
On 27 Aug 2013, at 17:28, Jim Giner jim.gi...@albanyhandball.com wrote: On 8/27/2013 11:56 AM, Stuart Dallas wrote: Oops, sent this message from the wrong email address, so the list rejected it. Begin forwarded message: From: Stuart Dallas stu...@3ft9.com Subject: Re: [PHP] Basic Auth

Re: [PHP] Basic Auth

2013-08-27 Thread Jim Giner
...@3ft9.com Subject: Re: [PHP] Basic Auth Date: 27 August 2013 16:36:27 BST To: jim.gi...@albanyhandball.com Cc: php-general@lists.php.net On 27 Aug 2013, at 15:59, Jim Giner jim.gi...@albanyhandball.com wrote: On 8/27/2013 10:55 AM, Stuart Dallas wrote: On 27 Aug 2013, at 15:51, Jim Giner jim.gi

Re: [PHP] Re: Permissions

2013-08-27 Thread Ethan Rosenberg
into which I have planted myself? TIA Ethan This is in no way a php question, as the same result will happen no matter what you ask apache to serve from that directory. You have the directory permissions set to 776 not 777. -- Cheers David Robley Steal this tagline and I'll tie-dye your cat

Re: [PHP] Re: Permissions

2013-08-27 Thread Ethan Rosenberg
] How do I extricate myself from the hole into which I have planted myself? TIA Ethan This is in no way a php question, as the same result will happen no matter what you ask apache to serve from that directory. You have the directory permissions set to 776 not 777. -- Cheers David Robley

[PHP] Re: Permissions

2013-08-27 Thread Ethan Rosenberg
On 08/27/2013 03:31 PM, Steven Post wrote: On Tue, 2013-08-27 at 13:43 -0400, Ethan Rosenberg wrote: Dear List - I apologize for this needle in a haystack but... This was originally posted on the PHP list, but has changed into a Debian question... Tried to run the program, that we have

php-general Digest 26 Aug 2013 18:41:27 -0000 Issue 8345

2013-08-26 Thread php-general-digest-help
php-general Digest 26 Aug 2013 18:41:27 - Issue 8345 Topics (messages 321966 through 321970): Re: exec and system do not work 321966 by: Sorin Badea 321967 by: Robert Cummings 321968 by: Tamara Temple 321969 by: marco.behnke.biz 321970 by: Ethan

Re: [PHP] exec and system do not work

2013-08-26 Thread Robert Cummings
file_exists(/var/www/orders.txt); } Ethan Hi Ethan, Is there a reason you're using shell commands to achieve the following: ?php $path = '/var/www/orders.txt'; if( !file_exists( $path ) ) { if( !touch( $path ) ) { echo 'Failed to touch file into existence

Re: [PHP] exec and system do not work

2013-08-26 Thread Tamara Temple
/www/orders.txt); echo 'file2br /'; echo file_exists(/var/www/orders.txt); } Ethan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php When you say does not work, can you show what is actually not working? I believe the exec

Re: [PHP] exec and system do not work

2013-08-26 Thread ma...@behnke.biz
/www/orders.txt); } Ethan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php When you say does not work, can you show what is actually not working? I believe the exec and system functions are likely working just fine

Re: [PHP] exec and system do not work

2013-08-26 Thread Ethan Rosenberg
Engineer Diploma Zend Certified Engineer PHP 5.3 Tel.: 0174 / 9722336 e-Mail: ma...@behnke.biz Softwaretechnik Behnke Heinrich-Heine-Str. 7D 21218 Seevetal http://www.behnke.biz Tamara - Please show the output of the directory listing. Please us ls -la echo exec('ls -la orders.txt'); -rw-rw

Re: [PHP] exec and system do not work

2013-08-26 Thread Jim Giner
not be. -- Marco Behnke Dipl. Informatiker (FH), SAE Audio Engineer Diploma Zend Certified Engineer PHP 5.3 Tel.: 0174 / 9722336 e-Mail: ma...@behnke.biz Softwaretechnik Behnke Heinrich-Heine-Str. 7D 21218 Seevetal http://www.behnke.biz Tamara - Please show the output of the directory listing. Please us

[PHP] How to send post-variables in a Location header

2013-08-26 Thread Ajay Garg
Hi all. I have a scenario, wherein I need to do something like this :: ### $original_url = /autologin.php; $username = ajay; $password = garg; header('Location: ' . $original_url);

Re: [PHP] exec and system do not work

2013-08-26 Thread ma...@behnke.biz
. Especially the rights for . and .. Maybe you don't have write permissions on the folder? If I perform the touch and chmod from the command line, everything works. cli and ww are different users. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to send post-variables in a Location header

2013-08-26 Thread ma...@behnke.biz
headers http://forums.phpfreaks.com/topic/84480-solved-how-to-send-authorization-basic-header/ Looking forward to a reply :) -- Regards, Ajay -- Marco Behnke Dipl. Informatiker (FH), SAE Audio Engineer Diploma Zend Certified Engineer PHP 5.3 Tel.: 0174 / 9722336 e-Mail: ma...@behnke.biz

Re: [PHP] How to send post-variables in a Location header

2013-08-26 Thread Matijn Woudt
On Mon, Aug 26, 2013 at 9:48 PM, Ajay Garg ajaygargn...@gmail.com wrote: Hi all. I have a scenario, wherein I need to do something like this :: ### $original_url = /autologin.php; $username = ajay;

Re: [PHP] exec and system do not work

2013-08-26 Thread Tamara Temple
just fine, but that the commands you've passed to them may not be. -- Marco Behnke Dipl. Informatiker (FH), SAE Audio Engineer Diploma Zend Certified Engineer PHP 5.3 Tel.: 0174 / 9722336 e-Mail: ma...@behnke.biz Softwaretechnik Behnke Heinrich-Heine-Str. 7D 21218 Seevetal http

Re: [PHP] How to send post-variables in a Location header

2013-08-26 Thread Tamara Temple
a step back for us and say what is it you're hoping to accomplish by this. Maybe there's a better way to get you what you need that is possible, and also will be good PHP. Describe your scenario in higher level terms, not how you'd implement it, but what the outcome you need is, and what the design

Re: [PHP] exec and system do not work

2013-08-26 Thread Ethan Rosenberg, PhD
you've passed to them may not be. -- Marco Behnke Dipl. Informatiker (FH), SAE Audio Engineer Diploma Zend Certified Engineer PHP 5.3 Tel.: 0174 / 9722336 e-Mail: ma...@behnke.biz Softwaretechnik Behnke Heinrich-Heine-Str. 7D 21218 Seevetal http://www.behnke.biz Tamara - Please show

[PHP] Re: exec and system do not work

2013-08-26 Thread Tim Streater
/orders.txt, $ret); echo system(chmod 766 /var/www/orders.txt, $ret); echo 'file2br /'; echo file_exists(/var/www/orders.txt); } If you would point out my syntax errors, I will fix them. See above. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] exec and system do not work

2013-08-26 Thread David Robley
not be. -- Marco Behnke Dipl. Informatiker (FH), SAE Audio Engineer Diploma Zend Certified Engineer PHP 5.3 Tel.: 0174 / 9722336 e-Mail: ma...@behnke.biz Softwaretechnik Behnke Heinrich-Heine-Str. 7D 21218 Seevetal http://www.behnke.biz Tamara - Please show the output of the directory

Re: [PHP] exec and system do not work

2013-08-26 Thread Ethan Rosenberg, PhD
you say does not work, can you show what is actually not working? I believe the exec and system functions are likely working just fine, but that the commands you've passed to them may not be. -- Marco Behnke Dipl. Informatiker (FH), SAE Audio Engineer Diploma Zend Certified Engineer PHP 5.3 Tel

Re: [PHP] exec and system do not work

2013-08-26 Thread Jasper Kips
passed to them may not be. -- Marco Behnke Dipl. Informatiker (FH), SAE Audio Engineer Diploma Zend Certified Engineer PHP 5.3 Tel.: 0174 / 9722336 e-Mail: ma...@behnke.biz Softwaretechnik Behnke Heinrich-Heine-Str. 7D 21218 Seevetal http://www.behnke.biz Tamara

Re: [PHP] exec and system do not work

2013-08-26 Thread David Robley
), SAE Audio Engineer Diploma Zend Certified Engineer PHP 5.3 Tel.: 0174 / 9722336 e-Mail: ma...@behnke.biz Softwaretechnik Behnke Heinrich-Heine-Str. 7D 21218 Seevetal http://www.behnke.biz Tamara - Please show the output of the directory listing. Please us ls -la echo exec

[PHP] Permissions

2013-08-26 Thread Ethan Rosenberg
the S bit [probably a nasty mistake] and I thought I was able to remove the bit. [it doesn't show above] How do I extricate myself from the hole into which I have planted myself? TIA Ethan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

php-general Digest 25 Aug 2013 09:31:34 -0000 Issue 8343

2013-08-25 Thread php-general-digest-help
php-general Digest 25 Aug 2013 09:31:34 - Issue 8343 Topics (messages 321960 through 321964): Re: Alternate list for eclipse ide support? 321960 by: Sebastian Krebs 321961 by: Lester Caine 321962 by: Sebastian Krebs 321963 by: Lester Caine PHP-5.5.2 +opcache

php-general Digest 26 Aug 2013 03:41:12 -0000 Issue 8344

2013-08-25 Thread php-general-digest-help
php-general Digest 26 Aug 2013 03:41:12 - Issue 8344 Topics (messages 321965 through 321965): exec and system do not work 321965 by: Ethan Rosenberg Administrivia: To subscribe to the digest, e-mail: php-general-digest-subscr...@lists.php.net To unsubscribe from

[PHP] PHP-5.5.2 +opcache segfaults with Piwik

2013-08-25 Thread Grant
I've tried php-5.5.2 and 5.5.3 but both segfault with piwik unless the opcache is disabled. Someone filed a piwik bug but was told it's a php bug: http://dev.piwik.org/trac/ticket/4093 - Grant -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] exec and system do not work

2013-08-25 Thread Ethan Rosenberg
); echo 'file2br /'; echo file_exists(/var/www/orders.txt); } and this does not - if( !file_exists(/var/www/orders.txt)); { exec(touch /var/www/orders.txt); exec(chmod 766 /var/www/orders.txt); echo 'file2br /'; echo file_exists(/var/www/orders.txt); } Ethan -- PHP General

Re: [PHP] exec and system do not work

2013-08-25 Thread Sorin Badea
/orders.**txt)); { exec(touch /var/www/orders.txt); exec(chmod 766 /var/www/orders.txt); echo 'file2br /'; echo file_exists(/var/www/orders.**txt); } Ethan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Sorin

php-general Digest 24 Aug 2013 11:45:26 -0000 Issue 8342

2013-08-24 Thread php-general-digest-help
php-general Digest 24 Aug 2013 11:45:26 - Issue 8342 Topics (messages 321955 through 321959): Re: windows files and folders permission 321955 by: Carlos Medina files and folders windows permission 321956 by: Emiliano Boragina 321957 by: Matijn Woudt 321958

[PHP] Alternate list for eclipse ide support?

2013-08-24 Thread Lester Caine
heading over to the plug-ins developers is the obvious step, what I'd actually prefer is a more general PHP/Eclipse list to discuss general IDE problems rather than even PDT biased discussions. Is there a suitable list? And if not is there any interest in setting one up? ... at the risk

Re: [PHP] Alternate list for eclipse ide support?

2013-08-24 Thread Sebastian Krebs
that. But it's not working as I expect, and while heading over to the plug-ins developers is the obvious step, what I'd actually prefer is a more general PHP/Eclipse list to discuss general IDE problems rather than even PDT biased discussions. Is there a suitable list? And if not is there any interest

Re: [PHP] Alternate list for eclipse ide support?

2013-08-24 Thread Lester Caine
as I expect, and while heading over to the plug-ins developers is the obvious step, what I'd actually prefer is a more general PHP/Eclipse list to discuss general IDE problems rather than even PDT biased discussions. Is there a suitable list? And if not is there any interest in setting one up

Re: [PHP] Alternate list for eclipse ide support?

2013-08-24 Thread Sebastian Krebs
that is supposed to handle that. But it's not working as I expect, and while heading over to the plug-ins developers is the obvious step, what I'd actually prefer is a more general PHP/Eclipse list to discuss general IDE problems rather than even PDT biased discussions. Is there a suitable list

Re: [PHP] Alternate list for eclipse ide support?

2013-08-24 Thread Lester Caine
? The vast number of different 'frameworks' add further to the dilution of effort. It's a pity that there is not a single universally accepted development base in addition to a single IDE into which support could be pooled. It's not going to happen as PHP now has too many diverse ways of doing the same

[PHP] Re: windows files and folders permission

2013-08-23 Thread Carlos Medina
© 2013 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] files and folders windows permission

2013-08-23 Thread Emiliano Boragina
© 2013 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] files and folders windows permission

2013-08-23 Thread Matijn Woudt
On Fri, Aug 23, 2013 at 4:03 PM, Emiliano Boragina emiliano.borag...@gmail.com wrote: Hi everyone, sorry my ugly english. I did an upload file form. Works very good. Upload the files in the right folder, with the right name. I use chmod 0644, and for try I use 0777. But always the files are

Re: [PHP] files and folders windows permission

2013-08-23 Thread Maciek Sokolewicz
, and for try I use 0777. But always the files are copyed blocked. I cant see them with windows preview for example. I read in forums that is Windows fault. How can I fix this? Thanks a lot. Code? On a sidenote, how the hell did you manage to chmod files on _windows_ ??? -- PHP General Mailing List (http

php-general Digest 22 Aug 2013 15:34:18 -0000 Issue 8340

2013-08-22 Thread php-general-digest-help
php-general Digest 22 Aug 2013 15:34:18 - Issue 8340 Topics (messages 321944 through 321952): Re: PHP vs JAVA 321944 by: David Harkness 321945 by: Sebastian Krebs 321952 by: David Harkness Re: Off the wall - sub-domain question 321946 by: Curtis Maurand

php-general Digest 23 Aug 2013 04:28:41 -0000 Issue 8341

2013-08-22 Thread php-general-digest-help
php-general Digest 23 Aug 2013 04:28:41 - Issue 8341 Topics (messages 321953 through 321954): PHP 5.4.19 and PHP 5.5.3 Released! 321953 by: Stas Malyshev windows files and folders permission 321954 by: Emiliano Boragina Administrivia: To subscribe to the digest, e-mail

Re: [PHP] Re: PHP vs JAVA

2013-08-22 Thread Sebastian Krebs
and look at what keys I'm trying to hit. Just a thought. I forgot about the concatenation operator which is + in Java/C# The PHP language developers were pretty stuck. Because of automatic string-to-numeric-conversion, they couldn't use + for string concatenation. Sadly, they chose . rather

Re: [PHP] Off the wall - sub-domain question

2013-08-22 Thread Curtis Maurand
Is the subdomain also in a subfolder of the main domain? Jim Giner wrote: I have a main domain (of course) and a sub domain. I'm really trying to steer my personal stuff away from the main one and have focused all of my php development to the sub-domain. Lately I noticed that google

Re: [PHP] Off the wall - sub-domain question

2013-08-22 Thread Jim Giner
On 8/22/2013 8:05 AM, Curtis Maurand wrote: Is the subdomain also in a subfolder of the main domain? Jim Giner wrote: I have a main domain (of course) and a sub domain. I'm really trying to steer my personal stuff away from the main one and have focused all of my php development

Re: [PHP] Off the wall - sub-domain question

2013-08-22 Thread Willie
: Is the subdomain also in a subfolder of the main domain? Jim Giner wrote: I have a main domain (of course) and a sub domain. I'm really trying to steer my personal stuff away from the main one and have focused all of my php development to the sub-domain. Lately I noticed

Re: [PHP] Off the wall - sub-domain question

2013-08-22 Thread Jim Giner
/22/2013 8:05 AM, Curtis Maurand wrote: Is the subdomain also in a subfolder of the main domain? Jim Giner wrote: I have a main domain (of course) and a sub domain. I'm really trying to steer my personal stuff away from the main one and have focused all of my php development

Re: [PHP] Off the wall - sub-domain question

2013-08-22 Thread Dan McCullough
? Jim Giner wrote: I have a main domain (of course) and a sub domain. I'm really trying to steer my personal stuff away from the main one and have focused all of my php development to the sub-domain. Lately I noticed that google catalogs my sub-domain site stuff

Re: [PHP] Off the wall - sub-domain question

2013-08-22 Thread Lester Caine
folders you do not want them to use. I have fun with them indexing the page histories if I forget to block that particular functions .php file. -- Lester Caine - G8HFL - Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk

Re: [PHP] Re: PHP vs JAVA

2013-08-22 Thread David Harkness
use of pointers required a way to access members through a pointer, and I suppose KR thought - looked like following a pointer (I agree). Since PHP was modeled on Perl and wouldn't implement objects or structs for another decade, it adopted . for string concatenation. It works fine, and I don't have

[PHP] PHP 5.4.19 and PHP 5.5.3 Released!

2013-08-22 Thread Stas Malyshev
Hello! The PHP development team announces the immediate availability of PHP 5.4.19 and PHP 5.5.3. These releases fix a bug in the patch for CVE-2013-4248 in OpenSSL module and compile failure with ZTS enabled in PHP 5.4, which were introduced in previously released 5.4.18 and 5.5.2. All PHP

[PHP] windows files and folders permission

2013-08-22 Thread Emiliano Boragina
» emiliano.borag...@gmail.com © 2013 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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