php-general Digest 19 May 2008 06:39:58 -0000 Issue 5467

2008-05-19 Thread php-general-digest-help
php-general Digest 19 May 2008 06:39:58 - Issue 5467 Topics (messages 274490 through 274500): Re: Loading 2M array crashes program .. but only some of the time 274490 by: Ólafur Waage Re: fsockopen + fputs 274491 by: Stut sql syntax using sprintf 274492 by:

[PHP] Re: Job: Wanted, Dead or Alive: PHP/Drupal programmers in Chicago

2008-05-19 Thread Manuel Lemos
Hello, You may want to look here at this PHP professionals directory. You can even narrow your search for professionals that have the PHP specific skills you need, like Drupal experience: http://www.phpclasses.org/professionals/country/us/ on 05/18/2008 10:09 PM Larry Garfield said the

[PHP] Trying to install imagick PECL module

2008-05-19 Thread mike
It doesn't appear to -need- this MagickWand stuff, yet configure keeps failing on it. Anyone here use it, know for sure? Thanks. It looks and it sees imagemagick and such, but why it -requires- this API is confusing me. [EMAIL PROTECTED]:/usr/src/build/imagick-2.2.0b2# ./configure checking for

Re: [PHP] Trying to install imagick PECL module

2008-05-19 Thread Chris
mike wrote: It doesn't appear to -need- this MagickWand stuff, yet configure keeps failing on it. I guess it really does need the api stuff then ;) Which parts of imagemagick have you got installed or how did you install imagemagick? for configuring php (and other software) you need the

Re: [PHP] problem with htmlspecialchars in version5.2.5

2008-05-19 Thread Sanjeev N
which special characters dint converted? this function converts only few special characters. try to use htmlentities function instead -- Regards, Sanjeev http://www.sanchanworld.com | http://webdirectory.sanchanworld.com - submit your site On 5/17/08, It flance [EMAIL PROTECTED] wrote: Hi,

Re: [PHP] Improving development process / help with developer setup

2008-05-19 Thread robert mena
Hi, Thanks for all answers. Please let me add that I do use CVS (migrating to SVN) and the reason to use samba is that doing this allows the developer machine (windows) to access the shares hosted in a linux server so when he/she tests it will be run in the 'same' environment that the staging

Re: [PHP] Semi-OT: PHP Login with client security

2008-05-19 Thread Eric Butera
On Mon, May 19, 2008 at 1:14 AM, Tim Thorburn [EMAIL PROTECTED] wrote: Hi all, Having a slight problem with a demo I gave at a clients last week - looking for a little advise. Part of my demo involved a password protected area - the simplified process is: client enters password on login page

Re: [PHP] Improving development process / help with developer setup

2008-05-19 Thread Zoltán Németh
Hi, Thanks for all answers. Please let me add that I do use CVS (migrating to SVN) and the reason to use samba is that doing this allows the developer machine (windows) to access the shares hosted in a linux server so when he/she tests it will be run in the 'same' environment that the

Re: [PHP] Semi-OT: PHP Login with client security

2008-05-19 Thread Wolf
Tim Thorburn [EMAIL PROTECTED] wrote: Hi all, Having a slight problem with a demo I gave at a clients last week - looking for a little advise. Part of my demo involved a password protected area - the simplified process is: client enters password on login page if login/password

Re: [PHP] Improving development process / help with developer setup

2008-05-19 Thread Richard Heyes
Thanks for all answers. Please let me add that I do use CVS (migrating to SVN) and the reason to use samba is that doing this allows the developer machine (windows) to access the shares hosted in a linux server so when he/she tests it will be run in the 'same' environment that the staging and

Re: [PHP] Improving development process / help with developer setup

2008-05-19 Thread Jason Pruim
On May 19, 2008, at 8:45 AM, Zoltán Németh wrote: Hi, Thanks for all answers. Please let me add that I do use CVS (migrating to SVN) and the reason to use samba is that doing this allows the developer machine (windows) to access the shares hosted in a linux server so when he/she tests

Re: [PHP] Improving development process / help with developer setup

2008-05-19 Thread Richard Heyes
Or depending on your budget, Switch the developers to Macintosh computers, install windows via parallels, and then you can test in Mac/Unix/Windows all from 1 computer :) And watch everyone quit... :-) -- Richard Heyes ++ | Access SSH with a Windows

Re: [PHP] Semi-OT: PHP Login with client security

2008-05-19 Thread Bastien Koert
[snip] It sounds like your code is hokey, since IE is more stringent then other browsers, the code looks to be at fault. What browsers did you test this with before taking it to the client? Firewalls shouldn't be any type of issue at all in this case, unless your browser is trying to

Re: [PHP] Semi-OT: PHP Login with client security

2008-05-19 Thread tedd
At 8:44 AM -0400 5/19/08, Wolf wrote: It sounds like your code is hokey, since IE is more stringent then other browsers, the code looks to be at fault. The term stringent isn't what comes to mind when I think about IE's. Tim: Did other browsers work? Cheers, tedd -- ---

Re: [PHP] XML file locking

2008-05-19 Thread Iv Ray
Kaja wrote: Does anyone know if any of the PHP 5 XML libraries use flock() internally? I'd like to use XMLReader and XMLWriter but I need to make sure theres no writing going on while reading and no more than one writer at time. And if I have to use DOM, does DOM lock the file when it calls

RE: [PHP] XML file locking

2008-05-19 Thread bruce
Regarding the XML/flock file locking question... Couldn't you also create a rather simple test to determine if the locking of the file takes place?? -Original Message- From: Iv Ray [mailto:[EMAIL PROTECTED] Sent: Monday, May 19, 2008 6:38 AM To: Kaja Cc: php-general@lists.php.net

Re: [PHP] Improving development process / help with developer setup

2008-05-19 Thread robert mena
Hi Zoltan, If the windows would be used just for IE I think it's cheaper to have one windows machine (server 2003/2008), have the users connect via terminal service (rdesktop). I think it's easier than having to install/maintain than multiple windows installations, even if it is a virtual

Re: [PHP] Improving development process / help with developer setup

2008-05-19 Thread robert mena
Unfortunately this is not an option due to budget :) I use Mac myself (with VMWare fusion) but would not be feasible to depoly this with all the devel team. Or depending on your budget, Switch the developers to Macintosh computers, install windows via parallels, and then you can test in

Re: [PHP] XML file locking

2008-05-19 Thread Iv Ray
bruce wrote: Couldn't you also create a rather simple test to determine if the locking of the file takes place? I personally do not trust file system level locks. Even if a software is not intended to be portable across operating systems, it is possible to use different file systems under

[PHP] Dead code

2008-05-19 Thread Aschwin Wesselius
Hello list, Is there anyone having experience with finding dead code in their library / application? Dead code as in unused variables, uncalled methods, uncalled functions, undeclared classes etc. Any help on examples, resources etc. is much appreciated. -- Aschwin Wesselius /'What you

Re: [PHP] Dead code

2008-05-19 Thread Eric Butera
On Mon, May 19, 2008 at 11:06 AM, Aschwin Wesselius [EMAIL PROTECTED] wrote: Hello list, Is there anyone having experience with finding dead code in their library / application? Dead code as in unused variables, uncalled methods, uncalled functions, undeclared classes etc. Any help on

RE: [PHP] XML file locking

2008-05-19 Thread bruce
i seriously 2nd what Ivy has stated... i recently had a short situation where i was dealing with an nfs shared folder, and had to roll my own locking process... also, keep in mind that if you have multiple processes accessing the targeted file, then you really need to test various situations

Re: [PHP] Improving development process / help with developer setup

2008-05-19 Thread Brady Mitchell
On May 19, 2008, at 520AM, robert mena wrote: So, in order to allow phpunit to be ran, have the firefox/IE support and use xdebug I have two basic options: a) stay with windows, install XAMPP (or any other all-in-one). And live with the fact that some things will have to be taken care of

Re: [PHP] Improving development process / help with developer setup

2008-05-19 Thread Zoltán Németh
Hi Zoltan, If the windows would be used just for IE I think it's cheaper to have one windows machine (server 2003/2008), have the users connect via terminal service (rdesktop). I think it's easier than having to install/maintain than multiple windows installations, even if it is a virtual

Re: [PHP] Semi-OT: PHP Login with client security

2008-05-19 Thread Per Jessen
Wolf wrote: ... since IE is more stringent then other browsers ... You are either using a very unusual IE or you are on another planet. /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Semi-OT: PHP Login with client security

2008-05-19 Thread Per Jessen
Tim Thorburn [EMAIL PROTECTED] wrote: Hi all, Having a slight problem with a demo I gave at a clients last week - looking for a little advise. Part of my demo involved a password protected area - the simplified process is: client enters password on login page if login/password match

Re: [PHP] Semi-OT: PHP Login with client security

2008-05-19 Thread robert
On May 18, 2008, at 10:14 PM, Tim Thorburn wrote: Hi all, Having a slight problem with a demo I gave at a clients last week - looking for a little advise. Part of my demo involved a password protected area - the simplified process is: client enters password on login page if

Re: [PHP] Semi-OT: PHP Login with client security

2008-05-19 Thread Per Jessen
robert wrote: try to use a full url instead of relative. e.g. header('location: thankyou.php'); vs. header('location: http://www.mysite.com/thankyou.php'); You should _always_ use an absolute URL in a redirect. I know it quite often works with a relative too. /Per Jessen, Zürich

[PHP] pg_update and PGSQL_DML_STRING

2008-05-19 Thread J. Manuel Velasco - UBILIBET
Hello, The option PGSQL_DML_STRING doesn't work with pg_update to me. I try the same option with pg_insert and it worked as I expected, but with pg_update I can't see the query and it is executed. I have an error in the query and I need to debug, so watch it is imperative. Anybody can help

Re: [PHP] Semi-OT: PHP Login with client security

2008-05-19 Thread Richard Heyes
You should _always_ use an absolute URL in a redirect. I know it quite often works with a relative too. Why? -- Richard Heyes Employ me http://www.phpguru.org/cv ++ | Access SSH with a Windows mapped drive | |

Re: [PHP] Semi-OT: PHP Login with client security

2008-05-19 Thread Eric Butera
On Mon, May 19, 2008 at 12:52 PM, Richard Heyes [EMAIL PROTECTED] wrote: You should _always_ use an absolute URL in a redirect. I know it quite often works with a relative too. Why? -- Richard Heyes Employ me http://www.phpguru.org/cv

[PHP] Still not getting Includes right.

2008-05-19 Thread Tyson Vanover
So have developed some nice tools for generating forms, connecting to databases, things that I do repeatedly. When I run test pages that include these utility files in the same directory as the utility files it works fine. The are included no problem. As soon as I have scripts in other

Re: [PHP] Still not getting Includes right.

2008-05-19 Thread Jim Lucas
Tyson Vanover wrote: Am I missing something blatently obvious? Maybe open_basedir or safe_mode restrictions? -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V by William Shakespeare

[PHP] Re: Still not getting Includes right.

2008-05-19 Thread Tyson Vanover
Nevermind, working. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Still not getting Includes right.

2008-05-19 Thread robert
i just saw this last message and forgive me if I'm missing something but why not use $_SERVER['DOCUMENT_ROOT'] as a prefix to any of the paths? On May 19, 2008, at 10:49 AM, Tyson Vanover wrote: So have developed some nice tools for generating forms, connecting to databases, things

[PHP] Re: Still not getting Includes right.

2008-05-19 Thread Tyson Vanover
nevermind. It is working now. Thanks all! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RES: [PHP] Threads PHP

2008-05-19 Thread Thiago Pojda
http://pecl.php.net/get/threads File not found ;P Atenciosamente, www.softpartech.com.br Thiago Henrique Pojda Desenvolvimento Web +55 41 3033-7676 [EMAIL PROTECTED] Excelência em Softwares Financeiros -Mensagem original- De: Per Jessen [mailto:[EMAIL PROTECTED] Enviada em: sábado, 17

Re: [PHP] Semi-OT: PHP Login with client security

2008-05-19 Thread Wolf
Per Jessen [EMAIL PROTECTED] wrote: Wolf wrote: ... since IE is more stringent then other browsers ... You are either using a very unusual IE or you are on another planet. Nope IE and Opera both wait for full page before displaying (while firefox displays as output) and IE has

Re: [PHP] Semi-OT: PHP Login with client security

2008-05-19 Thread Tim Thorburn
Wolf wrote: Tim Thorburn [EMAIL PROTECTED] wrote: Hi all, Having a slight problem with a demo I gave at a clients last week - looking for a little advise. Part of my demo involved a password protected area - the simplified process is: client enters password on login page if

Re: [PHP] Semi-OT: PHP Login with client security

2008-05-19 Thread Tim Thorburn
robert wrote: On May 18, 2008, at 10:14 PM, Tim Thorburn wrote: Hi all, Having a slight problem with a demo I gave at a clients last week - looking for a little advise. Part of my demo involved a password protected area - the simplified process is: client enters password on login page

Re: [PHP] Semi-OT: PHP Login with client security

2008-05-19 Thread David Giragosian
On 5/19/08, Tim Thorburn [EMAIL PROTECTED] wrote: Wolf wrote: Tim Thorburn [EMAIL PROTECTED] wrote: Hi all, Having a slight problem with a demo I gave at a clients last week - looking for a little advise. Part of my demo involved a password protected area - the simplified

Re: [PHP] Re: fsockopen on ssl://

2008-05-19 Thread bob pilly
Hi Apache is serving php correctly and i can see this from a ?php phpinfo(); ? and everything else works fine just this one call to fsockopen using ssl://. Is there some sort of extra configuration required for apache to be able to do this that i am not aware of? Bob - Original Message

Re: [PHP] Semi-OT: PHP Login with client security

2008-05-19 Thread Per Jessen
Wolf wrote: Per Jessen [EMAIL PROTECTED] wrote: Wolf wrote: ... since IE is more stringent then other browsers ... You are either using a very unusual IE or you are on another planet. Nope IE and Opera both wait for full page before displaying (while firefox displays as output)

Re: [PHP] Semi-OT: PHP Login with client security

2008-05-19 Thread Richard Heyes
Because it is RFC. Since when has that mattered? :-) -- Richard Heyes Employ me http://www.phpguru.org/cv ++ | Access SSH with a Windows mapped drive | |http://www.phpguru.org/sftpdrive|

Re: [PHP] Semi-OT: PHP Login with client security

2008-05-19 Thread Robert Cummings
On Mon, 2008-05-19 at 21:03 +0100, Richard Heyes wrote: Because it is RFC. Since when has that mattered? :-) Always... unless you're one of the ignorant masses ;) Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHP -- PHP General Mailing List

Re: [PHP] Semi-OT: PHP Login with client security

2008-05-19 Thread Richard Heyes
Robert Cummings wrote: On Mon, 2008-05-19 at 21:03 +0100, Richard Heyes wrote: Because it is RFC. Since when has that mattered? :-) Always... unless you're one of the ignorant masses ;) Whatever works... :-) -- Richard Heyes Employ me

Re: [PHP] Semi-OT: PHP Login with client security

2008-05-19 Thread Wolf
--- Per Jessen [EMAIL PROTECTED] wrote: Wolf wrote: Per Jessen [EMAIL PROTECTED] wrote: Wolf wrote: ... since IE is more stringent then other browsers ... You are either using a very unusual IE or you are on another planet. Nope IE and Opera both wait for full page

Re: [PHP] Semi-OT: PHP Login with client security

2008-05-19 Thread Wolf
!-- snip -- It sounds like your code is hokey, since IE is more stringent then other browsers, the code looks to be at fault. What browsers did you test this with before taking it to the client? Firewalls shouldn't be any type of issue at all in this case, unless your browser is trying to

Re: [PHP] Semi-OT: PHP Login with client security

2008-05-19 Thread robert
On May 19, 2008, at 12:20 PM, Tim Thorburn wrote: robert wrote: On May 18, 2008, at 10:14 PM, Tim Thorburn wrote: Hi all, Having a slight problem with a demo I gave at a clients last week - looking for a little advise. Part of my demo involved a password protected area - the

Re: [PHP] Dead code

2008-05-19 Thread Shawn McKenzie
Eric Butera wrote: On Mon, May 19, 2008 at 11:06 AM, Aschwin Wesselius [EMAIL PROTECTED] wrote: Hello list, Is there anyone having experience with finding dead code in their library / application? Dead code as in unused variables, uncalled methods, uncalled functions, undeclared classes etc.

[PHP] 0T - Request for quick test

2008-05-19 Thread Ryan S
Hey guys, Just make a egreeting app and need people to just test the AJAXy upload that i have on the form, if you have any problems please tell me.. if it goes smooth please tell me... as usual, any comments and suggestions too would be appreciated. This is the form:

Re: [PHP] 0T - Request for quick test

2008-05-19 Thread Daniel Brown
On Tue, May 20, 2008 at 12:01 AM, Ryan S [EMAIL PROTECTED] wrote: Hey guys, Just make a egreeting app and need people to just test the AJAXy upload that i have on the form, if you have any problems please tell me.. if it goes smooth please tell me... as usual, any comments and