php-general Digest 28 Apr 2006 09:34:56 -0000 Issue 4097

2006-04-28 Thread php-general-digest-help
php-general Digest 28 Apr 2006 09:34:56 - Issue 4097 Topics (messages 234961 through 234980): credit card purchase and downloads 234961 by: siavash1979.telus.net 234962 by: Stut 234963 by: siavash1979.telus.net 234964 by: Stut 234965 by: Stut

Re: [PHP] we are looking for experienced php programmers full time freelance...

2006-04-28 Thread Sumeet
Robert Cummings wrote: quote your charges and the time that you will be available. also mention msn or yahoo ids. skype id is more welcome. What about a MUD? I'm usually logged into a mud. It's a great place for telnet wocmud.org 4000 hi robert, thanks for the info... but a MUD?

Re: [PHP] Need help in identifying a PHP application.

2006-04-28 Thread Ananth Kesari
Hi, Thanks a lot for all the inputs. I will take it further from here. Thanks, Ananth. Richard Lynch [EMAIL PROTECTED] 4/27/2006 4:06:03 pm On Thu, April 27, 2006 4:21 am, Ananth Kesari wrote: I have a need for an idea management PHP application that gives me an UI with multiple fields

Re: [PHP] Re: php - js (was Javascript Navigation)

2006-04-28 Thread Barry
Robert Cummings schrieb: On Thu, 2006-04-27 at 11:09, Barry wrote: tedd schrieb: Hi gang: Gang? You know... Scooby, Shaggy, and Mary-Jane. ah, ic. 1. A way to send information from js to php and have php act upon it. Java ... Sucks. Because? 2. A way to send information from php

Re: [PHP] Re: php - js (was Javascript Navigation)

2006-04-28 Thread Barry
tedd schrieb: At 5:09 PM +0200 4/27/06, Barry wrote: tedd schrieb: Hi gang: Gang? Gang, group, clan, community, organization, hive, pod, assembly, biocenosis -- what do you want to be called? By my name normally. And if you adress everyone i prefer everyone Show me. function

[PHP] converting nested hash to xml

2006-04-28 Thread Anthony Ettinger
Is there a standard way of converting a nested hash/multidimensional array to an xml tree? My hash looks like: $foo = array( bar1 = array( baz1 = array( title = Some Title, text = Some Text, ), bazN = array(...), ), bar2 = array (...), barN = array(...),

[PHP] Includes and paths confusion

2006-04-28 Thread Nick Wilson
Hello all, Im having some problems understanding why some requires() are failing. Let me see if i can describe what's going on clearly... I have this: [EMAIL PROTECTED] ls ads/ config.inc db.inc funcs.inc init.inc where ads/ is a whole huge set of scripts from an existing setup. ads/ was

Re: [PHP] Includes and paths confusion

2006-04-28 Thread Jochem Maas
Nick Wilson wrote: Hello all, Im having some problems understanding why some requires() are failing. Let me see if i can describe what's going on clearly... I have this: [EMAIL PROTECTED] ls ads/ config.inc db.inc funcs.inc init.inc where ads/ is a whole huge set of scripts from an

Re: [PHP] converting nested hash to xml

2006-04-28 Thread chris smith
On 4/28/06, Anthony Ettinger [EMAIL PROTECTED] wrote: Is there a standard way of converting a nested hash/multidimensional array to an xml tree? http://www.php.net/manual/en/ref.dom.php would be a good start, or http://www.php.net/manual/en/ref.simplexml.php (I think this is more for reading

Re: [PHP] Includes and paths confusion

2006-04-28 Thread Nick Wilson
* and then Jochem Maas declared Nick Wilson wrote: Hello all, Im having some problems understanding why some requires() are failing. Let me see if i can describe what's going on clearly... I have this: [EMAIL PROTECTED] ls ads/ config.inc db.inc funcs.inc init.inc where ads/ is

Re: [PHP] Includes and paths confusion

2006-04-28 Thread Jochem Maas
Nick Wilson wrote: * and then Jochem Maas declared Nick Wilson wrote: ... use something *like* the following: $oldincpath = ini_get('include_path'); ini_set('include_path', 'path/to/ads/stuff:etc'); // do your 'ads' requires ini_set('include_path', $oldincpath); Unfortunately

[PHP] getting current page url

2006-04-28 Thread Schalk
Greetings All, Possibly a very simple question but here goes. How would I code the following in PHP? if(window.location == ((http://www.epda.cc/index.php;) || (http://www.epda.cc/;))) { $current_nav = includes/home_nav.php; } else { $current_nav = includes/inside_nav.php;

Re: [PHP] getting current page url

2006-04-28 Thread Jochem Maas
do a search $_SERVER['PHP_SELF'] - it should answer all your question. if in doubt a var_dump() can do wonders (in this finding out what kind of info is generally available, e.g.: ?php echo 'pre'; var_dump($_SERVER, $_REQUEST, $_ENV, $_POST, $_GET); Schalk wrote: Greetings All, Possibly a

Re: [PHP] Includes and paths confusion

2006-04-28 Thread Nick Wilson
* and then Jochem Maas declared check directory permission, check the include_path is being set, check the include path is actually correct (I take it you have a good understanding how include_path works). Good call on dir perms, but yes, they appear to be fine. I *think* i have a good

Re: [PHP] Includes and paths confusion

2006-04-28 Thread Jochem Maas
dirs named in include_path should not have a slash at the end. and don't forget to include the DOT as one of your include pathes e.g. ini_set('include_path', '.:/the/rest'); can you send the list of requires you do [again] (and state where the files are actually living on disk) - I'm on 3

Re: [PHP] getting current page url [RESOLVED]

2006-04-28 Thread Schalk
Jochem Maas wrote: do a search $_SERVER['PHP_SELF'] - it should answer all your question. if in doubt a var_dump() can do wonders (in this finding out what kind of info is generally available, e.g.: ?php echo 'pre'; var_dump($_SERVER, $_REQUEST, $_ENV, $_POST, $_GET); Thanks Jochem, A

Re: [PHP] New Help with Javascript Navigation

2006-04-28 Thread Jochem Maas
Robert Cummings wrote: On Thu, 2006-04-27 at 12:36, Weber Sites LTD wrote: I know I'm going to get heat for this example So cool down, it's just an example :) Do you mean something like : http://msdn.microsoft.com/msdntv/episode.aspx?xml=episodes/en/20060119AtlasN K/manifest.xml Only for

[PHP] Help!

2006-04-28 Thread Dave Goodchild
Hi all - I am attempting to solve some maddening behaviour that has me totally stumped and before I take a blade to my throat I thought I would pick the brains of the group/hive/gang. I am working on a viral marketing application that uses multipart emails to notify entrants of their progress in

[PHP] Re: Help!

2006-04-28 Thread Barry
Dave Goodchild schrieb: Hi all - I am attempting to solve some maddening behaviour that has me totally stumped and before I take a blade to my throat I thought I would pick the brains of the group/hive/gang. I am working on a viral marketing application that uses multipart emails to notify

[PHP] Help!

2006-04-28 Thread Dave Goodchild
Hi all - I am attempting to solve some maddening behaviour that has me totally stumped and before I take a blade to my throat I thought I would pick the brains of the group/hive/gang. I am working on a viral marketing application that uses multipart emails to notify entrants of their progress in

Re: [PHP] Help!

2006-04-28 Thread T.Lensselink
A blade? come on :) Seems to me it's just an error in : /home/friend/public_html/process1.php line 158 that mangles up your email output. Try and fix this undefined constant. Hi all - I am attempting to solve some maddening behaviour that has me totally stumped and before I take a blade to my

Re: [PHP] Help!

2006-04-28 Thread T.Lensselink
Well there is an undefined constant prize somewhere.. well it's just a notice but it really looks like the problem.. Try setting error_reporting(0) and see if it runs... process1.php only has 64 lines. On 28/04/06, T.Lensselink [EMAIL PROTECTED] wrote: A blade? come on :) Seems to me it's

Re: [PHP] we are looking for experienced php programmers full time freelance...

2006-04-28 Thread John Nichel
Sumeet wrote: we are looking for experienced php/mysql programmers full time freelance... should be at least 1 year experienced, knowing pear libraries and having worked on several projects. please contact me at [EMAIL PROTECTED] quote your charges and the time that you will be available.

Re: [PHP] Help!

2006-04-28 Thread T.Lensselink
Hey Dave, Besides from example two being the correct way to call array elements. I think it has something todo with error reporting. It's the only thing that comes to mind right now. Maybe you demo server doesn't echo notices... Maybe i'm wrong .. it's friday and my brain don't work that good :)

Re: [PHP] Help!

2006-04-28 Thread Dave Goodchild
Thanks - now the parameters reach the function intact but the mailer still does not work. Basically, the form is a self-reloader. If the form has been submitted and the data validated (including emails sent) it displays a thank you message. Otherwise it shows the starter form. All that happens

[PHP] cgi.fix_pathinfo and iis 5

2006-04-28 Thread Mariano Guadagnini
Hi people, I have the following issue: I´m using PHP 5 on IIS 5 and Windows XP Pro, and when trying to pass values through the path to my scripts, iis rejects them. After some googling, I found an advice to set AllowPathInfoForScriptMappings variable in iis, but it didn't work either.

Re: [PHP] Help!

2006-04-28 Thread T.Lensselink
Maybe show some code... Think some error inside a class / function causes that no output is send... Thanks - now the parameters reach the function intact but the mailer still does not work. Basically, the form is a self-reloader. If the form has been submitted and the data validated

Re: [PHP] Help!

2006-04-28 Thread Dave Goodchild
I would do but there are 5000+ lines and no indication of where the error is occurring. I have just copied the demo version into the same dir and it works fine - and that version calls the same classes (includes). On 28/04/06, T.Lensselink [EMAIL PROTECTED] wrote: Maybe show some code... Think

Re: [PHP] getting current page url [RESOLVED]

2006-04-28 Thread Jochem Maas
Schalk wrote: Jochem Maas wrote: do a search $_SERVER['PHP_SELF'] - it should answer all your question. if in doubt a var_dump() can do wonders (in this finding out what kind of info is generally available, e.g.: ?php echo 'pre'; var_dump($_SERVER, $_REQUEST, $_ENV, $_POST, $_GET);

Re: [PHP] Help!

2006-04-28 Thread Barry
Dave Goodchild schrieb: I would do but there are 5000+ lines and no indication of where the error is occurring. I have just copied the demo version into the same dir and it works fine - and that version calls the same classes (includes). The problem is without code we neither can give any

Re: [PHP] Help!

2006-04-28 Thread T.Lensselink
Without code it is hard to give an indication... Try and match php.ini's.. Anyway i go home now. Maybe in the evening have some time to think.. Or maybe some other bright mind on the list has an idea.. goodluck, Thijs I would do but there are 5000+ lines and no indication of where the error

Re: [PHP] Help!

2006-04-28 Thread Dave Goodchild
Thanks all. Worst case scenario I can rebuild from the demo as it works (really don't want to do that). Was loathe to plaster your screens with miles of code but understand it's hard to assit without it. Just wanted to know I wasn't alone! Have a great weekend! On 28/04/06, Barry [EMAIL

Re: [PHP] getting current page url

2006-04-28 Thread Wolf
You could also use $self =explode(/, $_SERVER['PHP_SELF']); and then parse along those lines. Wolf Schalk wrote: Greetings All, Possibly a very simple question but here goes. How would I code the following in PHP? if(window.location == ((http://www.epda.cc/index.php;) ||

Re: [PHP] Help!

2006-04-28 Thread Wolf
Dump some code to the list, just the inside function in and of itself SHOULD give enough to find the bug. It is PROBABLY how you are snagging your data inside from out, or you left out a somewhere and it is catching it. Believe me, I have had a heck of a time due to a single missing somewhere

Re: [PHP] Re: php - js (was Javascript Navigation)

2006-04-28 Thread tedd
At 9:03 AM +0200 4/28/06, Barry wrote: tedd schrieb: At 5:09 PM +0200 4/27/06, Barry wrote: tedd schrieb: Hi gang: Gang? Gang, group, clan, community, organization, hive, pod, assembly, biocenosis -- what do you want to be called? By my name normally. And if you adress everyone i prefer

Re: [PHP] Help!

2006-04-28 Thread Martin Alterisio
2006/4/28, Dave Goodchild [EMAIL PROTECTED]: Hi all - I am attempting to solve some maddening behaviour that has me totally stumped and before I take a blade to my throat I thought I would pick the brains of the group/hive/gang. I am working on a viral marketing application that uses multipart

Re: [PHP] we are looking for experienced php programmers full time freelance...

2006-04-28 Thread cajbecu
$300 / hr 8 hr minimum per day available 0800 - 0900EST it`s a joke, right? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help!

2006-04-28 Thread Barry
Martin Alterisio schrieb: 2006/4/28, Dave Goodchild [EMAIL PROTECTED]: Hi all - I am attempting to solve some maddening behaviour that has me totally stumped and before I take a blade to my throat I thought I would pick the brains of the group/hive/gang. I am working on a viral marketing

Re: [PHP] php - js (was Javascript Navigation)

2006-04-28 Thread tedd
At 5:54 PM -0700 4/27/06, Paul Novitski wrote: At 04:39 PM 4/27/2006, tedd wrote: What I don't get is how php can pass variables to js and cause it to run at will. Do you mean the way one function can call another function within the same program? No, I realize that php are two different

Re: [PHP] we are looking for experienced php programmers full time freelance...

2006-04-28 Thread John Nichel
cajbecu wrote: $300 / hr 8 hr minimum per day available 0800 - 0900EST it`s a joke, right? Not at all. Ready to sign the contract? Oh yeah, my available time is only on the second and fourth Monday of the month. -- John C. Nichel IV Programmer/System Admin (ÜberGeek) Dot Com

[PHP] RegExp for preg_split()

2006-04-28 Thread Weber Sites LTD
Hi I'm looking for the RegExp that will split a search string into search keywords. while taking into account. From what I managed to find I can get all of the words into an array but I would like all of the words inside to be in the same array cell. NE1? thanks berber

[PHP] Re: we are looking for experienced php programmers full time freelance...

2006-04-28 Thread Barry
Sumeet schrieb: we are looking for experienced php/mysql programmers full time freelance... What the hell is a full time freelance? Why don't you just give aprogrammer the job? I dont' get it. Please enlight me/us :) should be at least 1 year experienced, knowing pear libraries and having

[PHP] Beginner's php/mysql connection probs

2006-04-28 Thread sathyashrayan
Dear group, (I am a very beginner so please bear with me for a simple question) I am a self thought php beginner. I wrote my first toy code for database connection in php/mysql. The connection is successful but iam getting a warning and my rows/columns are not showing. I am getting a

[PHP] Re: Beginner's php/mysql connection probs

2006-04-28 Thread Barry
sathyashrayan schrieb: Dear group, (I am a very beginner so please bear with me for a simple question) I read that sentence somewhere before *mmh* I am a self thought php beginner. I wrote my first toy code for database connection in php/mysql. The connection is successful but iam

[PHP] Question for PHP Arrays

2006-04-28 Thread Saul Rennison
Hi, I'm making a PHP Installer that is customizable by using plugins, I haven't used PHP for a while and which I have forgotten some things about PHP *eek*.. Anyway, I want to know how to add things to an array. Like this: $foobar = array() $foobar['rar']['miaw'] Would that output come out

Re: [PHP] Question for PHP Arrays

2006-04-28 Thread Richard Davey
On 27 Apr 2006, at 20:51, Saul Rennison wrote: Anyway, I want to know how to add things to an array. Like this: $foobar = array() $foobar['rar']['miaw'] Would that output come out (for the array) as: array( 'rar' = 'miaw' ) No, it would create a multi-dimensional array that contains

Re: [PHP] Beginner's php/mysql connection probs

2006-04-28 Thread John Nichel
sathyashrayan wrote: Dear group, (I am a very beginner so please bear with me for a simple question) I am a self thought php beginner. I wrote my first toy code for database connection in php/mysql. The connection is successful but iam getting a warning and my rows/columns are not

RE: [PHP] Beginner's php/mysql connection probs

2006-04-28 Thread sathyashrayan
-Original Message- From: John Nichel [mailto:[EMAIL PROTECTED] Sent: Friday, April 28, 2006 9:11 PM To: Php-General Subject: Re: [PHP] Beginner's php/mysql connection probs sathyashrayan wrote: Dear group, (I am a very beginner so please bear with me for a simple question) I am

Re: [PHP] RegExp for preg_split()

2006-04-28 Thread tedd
At 6:16 PM +0200 4/28/06, Weber Sites LTD wrote: Hi I'm looking for the RegExp that will split a search string into search keywords. while taking into account. From what I managed to find I can get all of the words into an array but I would like all of the words inside to be in the same

Re: [PHP] Beginner's php/mysql connection probs

2006-04-28 Thread John Nichel
sathyashrayan wrote: -Original Message- From: John Nichel [mailto:[EMAIL PROTECTED] Sent: Friday, April 28, 2006 9:11 PM To: Php-General Subject: Re: [PHP] Beginner's php/mysql connection probs sathyashrayan wrote: Dear group, (I am a very beginner so please bear with me for a

Re: [PHP] RegExp for preg_split()

2006-04-28 Thread tedd
At 6:16 PM +0200 4/28/06, Weber Sites LTD wrote: Hi I'm looking for the RegExp that will split a search string into search keywords. while taking into account. From what I managed to find I can get all of the words into an array but I would like all of the words inside to be in the same

[PHP] display_errors off and custom error pages

2006-04-28 Thread IG
I've spent the last couple of hours trying to work this out to no avail. I have recently moved over to a managed dedi server and no can ask my host to change my php.ini. I have found out that the 'display_errors' in the php.ini is set to off and error file logging is off. I would like to

RE: [PHP] RegExp for preg_split()

2006-04-28 Thread Weber Sites LTD
This is part of what I need. You found all of the phrases (e.g. all of the strings inside ) But I also need all of the words that are not inside . thanks -Original Message- From: tedd [mailto:[EMAIL PROTECTED] Sent: Friday, April 28, 2006 6:46 PM To: Weber Sites LTD;

Re: [PHP] how to get the absolute path of an included file?

2006-04-28 Thread Bing Du
Thanks all who replied. So the include path used in file2.php should be relative to the working directory where file2.php is located. Yes, I have error_reporting=E_ALL in my php.ini. The log shows include_path=.|. But in my situation, it took me a while to figure out what that '.' really

Re: [PHP] we are looking for experienced php programmers full time freelance...

2006-04-28 Thread Robert Cummings
On Fri, 2006-04-28 at 02:18, Sumeet wrote: Robert Cummings wrote: quote your charges and the time that you will be available. also mention msn or yahoo ids. skype id is more welcome. What about a MUD? I'm usually logged into a mud. It's a great place for telnet wocmud.org

Re: [PHP] Re: php - js (was Javascript Navigation)

2006-04-28 Thread Robert Cummings
On Fri, 2006-04-28 at 02:59, Barry wrote: Robert Cummings schrieb: On Thu, 2006-04-27 at 11:09, Barry wrote: tedd schrieb: Hi gang: Gang? You know... Scooby, Shaggy, and Mary-Jane. ah, ic. Are you sure? 1. A way to send information from js to php and have php act upon it.

RE: [PHP] Beginner's php/mysql connection probs

2006-04-28 Thread sathyashrayan
-Original Message- From: John Nichel [mailto:[EMAIL PROTECTED] Sent: Friday, April 28, 2006 10:14 PM To: Php-General Subject: Re: [PHP] Beginner's php/mysql connection probs sathyashrayan wrote: -Original Message- From: John Nichel [mailto:[EMAIL PROTECTED] Sent: Friday,

[PHP] encoding problem when inserting into database

2006-04-28 Thread Zouari Fourat
Hello, Am having days trying to solve my problem : Using PostgreSQL database with server and client encoding set to utf8. I can enter any accentuated data on PHPPgAdmin interface and can see it stored like i entered it. The problem that when using a php script, it throw an error when trying to

Re: [PHP] Re: we are looking for experienced php programmers full time freelance...

2006-04-28 Thread Sumeet
Barry wrote: Sumeet schrieb: What the hell is a full time freelance? Why don't you just give aprogrammer the job? I dont' get it. Please enlight me/us :) most freelancers are working and hence not available during office hours... a full time freelance is a person who does not have a regular

Re: [PHP] we are looking for experienced php programmers full time freelance...

2006-04-28 Thread Sumeet
John Nichel wrote: cajbecu wrote: $300 / hr 8 hr minimum per day available 0800 - 0900EST it`s a joke, right? Not at all. Ready to sign the contract? hmm...$300 sorry my budget is only $299 per hour. -- Thanking You Sumeet Shroff http://www.prateeksha.com Web Designers and

Re: [PHP] we are looking for experienced php programmers full time freelance...

2006-04-28 Thread John Nichel
Sumeet wrote: John Nichel wrote: cajbecu wrote: $300 / hr 8 hr minimum per day available 0800 - 0900EST it`s a joke, right? Not at all. Ready to sign the contract? hmm...$300 sorry my budget is only $299 per hour. That's an insult to an ÜberGeek. -- John C. Nichel IV

Re: [PHP] Question for PHP Arrays

2006-04-28 Thread Jochem Maas
Saul Rennison wrote: Hi, I'm making a PHP Installer that is customizable by using plugins, I haven't used PHP for a while and which I have forgotten some things about PHP *eek*.. $hiddenKnowledge = unforgetPHP(); Anyway, I want to know how to add things to an array. Like this: $foobar =

RE: [PHP] Re: php - js (was Javascript Navigation)

2006-04-28 Thread Chrome
snip Java ... Sucks. Because? You know why! /snip Um I don't... Would you mind explaining for the hard of thinking please? (that's me by the way :) ) Cheers Dan -- http://chrome.me.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] cgi.fix_pathinfo and iis 5

2006-04-28 Thread Mariano Guadagnini
Mariano Guadagnini wrote: Hi people, I have the following issue: I´m using PHP 5 on IIS 5 and Windows XP Pro, and when trying to pass values through the path to my scripts, iis rejects them. After some googling, I found an advice to set AllowPathInfoForScriptMappings variable in iis, but it

RE: [PHP] Re: php - js (was Javascript Navigation)

2006-04-28 Thread Robert Cummings
On Fri, 2006-04-28 at 13:58, Chrome wrote: snip Java ... Sucks. Because? You know why! /snip Um I don't... Would you mind explaining for the hard of thinking please? (that's me by the way :) ) I'm too busy :P Cheers, Rob. --

Re: [PHP] we are looking for experienced php programmers full time freelance...

2006-04-28 Thread tg-php
Damn.. tough crowd here.. hah.. glad everyone has a sense of humor at least. hah.. -TG = = = Original message = = = Sumeet wrote: John Nichel wrote: cajbecu wrote: $300 / hr 8 hr minimum per day available 0800 - 0900EST it`s a joke, right? Not at all. Ready to sign the contract?

[PHP] [JOB] PHP developered needed in Largo, MD

2006-04-28 Thread tg-php
Ok.. my turn for the $300/hr jokes (no, we're not paying that.. nor are we paying $299/hr.. sorry John) Here's the skinny.. more details available upon request. Should have a more-than-decent grasp on the following: PHP4 MySql4 Javascript (AJAX experience is nice but not necessary) HTML and CSS

Re: [PHP] we are looking for experienced php programmers full time freelance...

2006-04-28 Thread Jochem Maas
RANTING SEASON HAS OPENED - lets shoot some wabbits. has anyone else noticed?? all our jobs go to India and now they are starting to hire us back. (because they don't have the skills? and probably at rates that equate to being able to buy 1 cheese sandwich a month with change leftover to play a

[PHP] Multi-threaded port listener

2006-04-28 Thread René Fournier
Anyone find any good tutorials, code samples, etc. on such a thing? Basically, I want to write server (in PHP) that listeners on a particular port, and spins off a thread/process (essentially, execute a separate script) for each incoming connection. There won't be a lot of data to process,

Re: [PHP] cgi.fix_pathinfo and iis 5

2006-04-28 Thread John Wells
On 4/28/06, Mariano Guadagnini [EMAIL PROTECTED] wrote: Mariano Guadagnini wrote: Hi people, I have the following issue: I´m using PHP 5 on IIS 5 and Windows XP Pro, and when trying to pass values through the path to my scripts, iis rejects them. After some googling, I found an advice to

Re: [PHP] Multi-threaded port listener

2006-04-28 Thread Alister Bulman
On 28/04/06, René Fournier [EMAIL PROTECTED] wrote: Anyone find any good tutorials, code samples, etc. on such a thing? Basically, I want to write server (in PHP) that listeners on a particular port, and spins off a thread/process (essentially, execute a separate script) for each incoming

[PHP] GD text proc via php OK for local strings, but NOT for SESSION-passed strings. why?

2006-04-28 Thread OpenMacNews
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 hi all, php-5.1.2 built from src on OSX 10.4.6. GD-2.0.33 + libpng-1.2.10 are built/enabled. GD is working fine ... locally. in a given php file, this returns an image as expected: ... $word=blah; imagefttext($im,

RE: [PHP] PHP Standard style of writing your code

2006-04-28 Thread Chris W. Parker
Richard Lynch mailto:[EMAIL PROTECTED] on Monday, April 24, 2006 11:50 PM said: So no matter what was actually typed, *I* would see: function foo ($x) { //body } but some heretic who doesn't know any better would see: function foo($x) { //body } Now *THAT* would be a

Re: [PHP] Multi-threaded port listener

2006-04-28 Thread Edwin Barrios
Hi. If you want a separate script execution, you can use inetd o xinetd to listen for you that port. When inetd got a connection execute your php script, one execution by connection. I think that it is more usefull to create your own responser server with php using forks !. But using inetd has

[PHP] Possible?

2006-04-28 Thread René Fournier
Simple problem: Many client apps need to send data to a server. By default each client will open a persistent TCP socket connection to a common IP address:port (10.10.10.10:1234) and write to it (which the server will save/log, etc.). My question is, what should be ready to listen at the

Re: [PHP] strange php url (CORRECTION)

2006-04-28 Thread Kevin Kinsey
Kevin Kinsey wrote: Pretty good thoughts, there. Some years ago, Tim Perdue (of PHPBuilder and SourceForge fame) had a popular article on Search Engine Friendly URL's (or some such), in which he described use of the Apache ForceLocal directive to make a site just One Big Script, parsing the

RE: [PHP] PHP Standard style of writing your code

2006-04-28 Thread Robert Cummings
On Fri, 2006-04-28 at 18:18, Chris W. Parker wrote: Richard Lynch mailto:[EMAIL PROTECTED] on Monday, April 24, 2006 11:50 PM said: So no matter what was actually typed, *I* would see: function foo ($x) { //body } but some heretic who doesn't know any better would see:

Re: [PHP] Possible?

2006-04-28 Thread René Fournier
Anyway, I've started looking at this, but I'm not quite sure if it's even possible. I mean, can something send a request to Apache, and continue to write data along that TCP socket? Normally, HTTP requests include GET or POST for such data, but this is not a a web browser that's opening

Re: [PHP] Possible?

2006-04-28 Thread John Hicks
René Fournier wrote: Simple problem: Many client apps need to send data to a server. By default each client will open a persistent TCP socket connection to a common IP address:port (10.10.10.10:1234) and write to it (which the server will save/log, etc.). My question is, what should be

Re: [PHP] display_errors off and custom error pages

2006-04-28 Thread chris smith
On 4/29/06, IG [EMAIL PROTECTED] wrote: I've spent the last couple of hours trying to work this out to no avail. I have recently moved over to a managed dedi server and no can ask my host to change my php.ini. I have found out that the 'display_errors' in the php.ini is set to off and error

RE: [PHP] Possible?

2006-04-28 Thread Warren Vail
Have you considered implementing a http service? http://www.php.net/manual/en/ref.wddx.php I believe this will relieve you of all the connection management stuff and use the apache server to handle thread management. All your clients would perform something very similar to a post with their

Re: [PHP] RegExp for preg_split()

2006-04-28 Thread John Hicks
Weber Sites LTD wrote: Hi I'm looking for the RegExp that will split a search string into search keywords. while taking into account. From what I managed to find I can get all of the words into an array but I would like all of the words inside to be in the same array cell. You want

RE: [PHP] we are looking for experienced php programmers full timefreelance...

2006-04-28 Thread Nicolas Verhaeghe
Sumeet wrote: we are looking for experienced php/mysql programmers full time freelance... should be at least 1 year experienced, knowing pear libraries and having worked on several projects. please contact me at [EMAIL PROTECTED] quote your charges and the time that you will be

Re: [PHP] PHP Standard style of writing your code

2006-04-28 Thread Rafael
IMHO, vertical aligned brackets can be messy when nesting relatively-small blocks (and seems to me like a lot of wasted space) A couple of facts of my codding style: - I tend to always use brakets, so I ignore the fact that single lines/actions can be written without brackets, - I try

Re: [PHP] Help!

2006-04-28 Thread Martin Alterisio
2006/4/28, Barry [EMAIL PROTECTED]: Martin Alterisio schrieb: 2006/4/28, Dave Goodchild [EMAIL PROTECTED]: Hi all - I am attempting to solve some maddening behaviour that has me totally stumped and before I take a blade to my throat I thought I would pick the brains of the group/hive/gang.