}
}
$a = '1';
$b = '2';
$c = '3';
foo($a, $b, $c);
What I am doing is quite different than the above (and more complex), but I will be
able
to achieve what I want if I can get the above to work.
--
Alain Williams
#include
--
PHP General Mailing List (h
_arg($i);
> }
>
> $args = array_map (create_function ('$a','return($a+1);'), $args);
>
> return ($args);
> }
>
> list ($a, $b, $c) = foo(1, 2, 3);
>
> echo ("$a, $b, $c");
No, the reason that I want to do it is for the same
/configure option that I can set to get the original behaviour or
a command line switch to specify 'html on' or something ? I have looked but cannot
find anything.
Thanks in advance.
--
Alain Williams
#include
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
ction/test 'require'
gets the production/test version of a file.
Please CC me on any reply since I don't subscribe to this list.
Thanks
--
Alain Williams
#include
FATHERS-4-JUSTICE - Campaigning for equal rights for parents and the
best interests of our children. See http://
of which have any effect.
What should I do ?
Thanks
Merry Christmas.
--
Alain Williams
#include
FATHERS-4-JUSTICE - Campaigning for equal rights for parents and the
best interests of our children. See http://www.fathers-4-justice.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
path = "/tmp"
> session.name = PHPSESSID
Try changing the path to /var/lib/php/session
Are you being caught by selinux - try
setenforce off
and see if that makes it work.
--
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT
Lecturer
as examples, then it would be good if there were
plentiful comments that said what they were supposed to do, why, how ...
Regards
--
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT
Lecturer.
+44 (0) 787 668 0256 http://www.phcomp.co.uk/
Parliame
>
> Nothing LOOKS any different between the two repos, but I don't know how to
> tell beyond comparing ls outputs.
>
> Any help would be good.
Have you got SELinux switched on ? Try:
ls -lZ
getenforce
--
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, N
it really is PHP that
is messing the tty modes):
./myScript > /dev/null | (sleep 10;less)
However: PHP should not set the terminal to cooked mode in the first place
Is there any way in which I can get PHP to not do this ?
TIA
I am running PHP 5.3.3 on CentOS 6.
--
Alain Williams
Linu
On Wed, Sep 11, 2013 at 05:45:45PM +0100, Stuart Dallas wrote:
> On 11 Sep 2013, at 17:37, Alain Williams wrote:
> Make sure output buffering is off by putting this at the top of your script:
>
> while(ob_end_clean());
Sorry, that does not fix the problem - but thanks for trying
gt; can squeeze some identifiable error code out of PHP 4 to indicate it's
> hit PHP 5 code it doesn't understand?
Would your time not be better spent getting the system upgraded to PHP5 ?
PHP 4 was depricated some time ago.
--
Alain Williams
Linux/GNU Consultant - Mail systems, Web s
Form -- but that makes things slower.
Any help gratefully received.
I think that to do what I want PHP would need a syntax like:
$f2 = new $s Form();
or
$f2 = $s->new Form();
--
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT
Lecturer.
+44 (
On Sat, Oct 15, 2011 at 03:01:44PM +0100, Alain Williams wrote:
> Well, that is what I think that I need. Please let me explain what I am
> trying to do
> and tell me how to do it or a better way of doing it.
> ..
I have solved it. The problem is basically one of ensuring that pr
t in the code ... you then end up with the password stored in
several
places & then difficult to change.
--
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT
Lecturer.
+44 (0) 787 668 0256 http://www.phcomp.co.uk/
Parliament Hill Computers Ltd. Regist
date?
It is a good book -- easy to read, 1/2 day, and gives you a big picture.
--
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT
Lecturer.
+44 (0) 787 668 0256 http://www.phcomp.co.uk/
Parliament Hill Computers Ltd. Registration Information:
http
mpanies/... do it in
different ways.
If you really want to have fun look at the different 'norms' from different
countries.
--
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT
Lecturer.
+44 (0) 787 668 0256 http://www.phcomp.co.uk/
Parliament H
cally used to set it into single character at a time mode
(remove stty's icanon).
It could have decided that since it is a tty then that should be set.
You need a bit more info, get a backtrace with 'where'.
--
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networkin
e machine -- I cannot compile my own build of PHP
> because of this problem -> https://bugs.php.net/bug.php?id=60268 -- so I
> am completely stuck :(
The point is that you need to completely disassociate the process from the tty.
Install the daemonize program, then use it to run your PHP
ash_apply ()
> #10 0x00010a37d3dd in zend_startup_modules ()
> #11 0x00010a3287bf in php_module_startup ()
> #12 0x00010a3ef637 in php_cli_startup ()
This is done BEFORE your script starts - so nothing that you can do to stop it.
> #13 0x00010a3efff8 in main ()
Try the dae
ng a byte to screen, you've introduced too much complexity.
> I just finished up five weeks at a company where they were calling
> probably upwards of 100 files before printing anything on screen.
Have a look at smarty:
http://www.smarty.net/
I like it a lot ... helps with complicate
s communion with the devil.
IMHO: not so - if used sparingly.
--
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT
Lecturer.
+44 (0) 787 668 0256 http://www.phcomp.co.uk/
Parliament Hill Computers Ltd. Registration Information:
http://www.phcomp.co.
On Mon, Feb 06, 2012 at 09:28:10AM -0700, Larry Martell wrote:
> On Mon, Feb 6, 2012 at 9:23 AM, Alain Williams wrote:
> > If I survey my code I find that I use one GOTO in about 4,000 lines of code
> > -
> > that I do not find excessive.
> >
> > There are, howe
22 matches
Mail list logo