Re: [PHP] Returns..

2003-09-19 Thread Comex
<[EMAIL PROTECTED]> Marek Kilimajer: > The space is there so it does not break some old browsers which could > thing it is "BR/" tag (yes, it does not exists). Change your logic or > do preg_replace(array("\r\n","\n","\r"), '', $string) instead - > not > tested Why not use str_replace instead of

RE: [PHP] popups, parents, parameters, and php

2003-09-19 Thread Jay Blanchard
[snip] Those are the requirements. Should be easy, but I am finding it very difficult to tie the pieces together. Any advice or url of a relevant tutorial would be greatly appreciated. Thanks, [/snip] phpmyadmin (http://www.phpmyadmin.php) does an admirable job of tying the pieces together. Have

[PHP] Re: popups, parents, parameters, and php

2003-09-19 Thread Rich Fox
my colleague just suggested that my popup, on the form submit, can call another page which just registers the items selected as session variables. This seems like a good idea. Of course, I will have to reload the original calling page, edit.php, so it can check those session varibles and amend the

[PHP] fopen() || Execute read file as php page; not plain text

2003-09-19 Thread CF High
Any ideas here? was able to use an absolute reference on my local machine to execute read file contents; e.g. fopen('http://www.mysite.com/index.php', 'a'), but on the host webserver no such luck. Administrator said I can only use relative paths. Problem is, when I use a relative path, I just ge

Re: [PHP] Re: Header won't redirect

2003-09-19 Thread Curt Zirzow
* Thus wrote Jonathan Duncan ([EMAIL PROTECTED]): > Jay, > > Try replying to the group so that your contributions stay with the thread > instead of being orphaned and lost. he did. Curt -- "I used to think I was indecisive, but now I'm not so sure." -- PHP General Mailing List (http://www.php

RE: [PHP] fopen() || Execute read file as php page; not plain text

2003-09-19 Thread Jay Blanchard
[snip] was able to use an absolute reference on my local machine to execute read file contents; e.g. fopen('http://www.mysite.com/index.php', 'a'), but on the host webserver no such luck. Administrator said I can only use relative paths. Problem is, when I use a relative path, I just get plain te

Re: [PHP] fopen() || Execute read file as php page; not plain text

2003-09-19 Thread CF High
Hey Jay. Yes, the file is php code. Um, why not use include()? I'm ashamed, and very pleased, to admit that I had no idea I could set a var = to an include file! Well, one learns something new each day, often with much head banging ;--) Thanks for clueing me in. --Noah "Jay Blanchar

[PHP] forcing variable expansion

2003-09-19 Thread Eugene Lee
If I have a block of text saved in an external text file, e.g.: All {$badstuff} and no {$goodstuff} makes {$name} a dull {$type}. after reading the text into a string, is there a way to force variable expansion? In a sense, it's like having a heredoc for multiline strings with variable e

Re: [PHP] um...

2003-09-19 Thread Raquel Rice
On Thu, 18 Sep 2003 15:37:38 -0400 "R'twick Niceorgaw" <[EMAIL PROTECTED]> wrote: > Comex said the following on 9/19/2003 3:33 PM>> > > > <[EMAIL PROTECTED]> > > [EMAIL PROTECTED]: > > > >>Please contact your system administrator. > >> > >> > >>The scanned document was deleted. > >> > >> > >>Vio

RE: [PHP] forcing variable expansion

2003-09-19 Thread Jay Blanchard
[snip] If I have a block of text saved in an external text file, e.g.: All {$badstuff} and no {$goodstuff} makes {$name} a dull {$type}. after reading the text into a string, is there a way to force variable expansion? In a sense, it's like having a heredoc for multiline strings with var

[PHP] A test for a Yahoo autoresponder...

2003-09-19 Thread Jay Blanchard
Now I am getting a Yahoo autoresponder -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] ming problem

2003-09-19 Thread Shmuel
I'm trying to use ming and I get the following: Fatal error: Cannot instantiate non-existent class: swfmovie in C:\Apache\test\flash\index.php on line 3 I'm using w2k and php 4 - latest from snaps.php.net and I have uncommented the extension, etc. Any help would be appreciated. -- PHP General

[PHP] Re: ming problem

2003-09-19 Thread Shmuel
this is the code: $flash = new SWFMovie; also tried something like this: $f = new SWFFont("fonts/Verdana.fdb"); $t = new SWFText(); $t->setFont($f); $t->moveTo(200, 2400); $t->setColor(0xff, 0xff, 0); $t->setHeight(1200); $t->addString("PHP generates Flash with Ming!!"); $m = new SWFMov

Re: [PHP] um...

2003-09-19 Thread Curt Zirzow
* Thus wrote Raquel Rice ([EMAIL PROTECTED]): > On Thu, 18 Sep 2003 15:37:38 -0400 > "R'twick Niceorgaw" <[EMAIL PROTECTED]> > wrote: > > > Comex said the following on 9/19/2003 3:33 PM>> > > > > > <[EMAIL PROTECTED]> > > > [EMAIL PROTECTED]: > > > > > >>Please contact your system administrator.

RE: [PHP] Re: ming problem

2003-09-19 Thread Jay Blanchard
[snip] $flash = new SWFMovie; [/snip] where is the require line to include the class definition? require("/the/path/to/the/namespace/holding/the/class/definition.foo"); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] popups, parents, parameters, and php

2003-09-19 Thread Curt Zirzow
* Thus wrote Jay Blanchard ([EMAIL PROTECTED]): > [snip] > Those are the requirements. Should be easy, but I am finding it very > difficult to tie the pieces together. > > Any advice or url of a relevant tutorial would be greatly appreciated. > Thanks, > [/snip] > > phpmyadmin (http://www.phpmyad

Re: [PHP] fopen() || Execute read file as php page; not plain text

2003-09-19 Thread CF High
Hm.. Looks like I was deluding myself. The only data returned by setting a var = include $include_path, is 0 or 1. I'm looking for a few hundred lines of evaluated text. Back to the drawing board. Christ, this is a pain in the. --Noah "Jay Blanchard" <[EMAIL PROTECTED]> wrote in

Re: [PHP] Re: ming problem

2003-09-19 Thread Shmuel
> where is the require line to include the class definition? > require("/the/path/to/the/namespace/holding/the/class/definition.foo"); Not following. I don't understand what class defĂ­nition I need. I'm using windows php extension. I'm using a class that is in the dll ? -- PHP General Mailing L

RE: [PHP] popups, parents, parameters, and php

2003-09-19 Thread Jay Blanchard
[snip] > Have a pleasant and educational weekend! I'm leaning more towards pleasant. cheers. [/snip] Cheers to you as well, I am departing for the neighborhood watering hole momentarily, and I will lift a pint of Black & Tan to you all! -- PHP General Mailing List (http://www.php.net/) To unsub

Re: [PHP] um...

2003-09-19 Thread Raquel Rice
On Fri, 19 Sep 2003 21:07:50 + Curt Zirzow <[EMAIL PROTECTED]> wrote: > * Thus wrote Raquel Rice ([EMAIL PROTECTED]): > > On Thu, 18 Sep 2003 15:37:38 -0400 > > > > > > > its because of the new PHP virus (PHP.virdrus) and opussoft's > > > anti virus > > >program decided not to accept any

RE: [PHP] Re: ming problem

2003-09-19 Thread Jay Blanchard
[snip] > where is the require line to include the class definition? > require("/the/path/to/the/namespace/holding/the/class/definition.foo"); Not following. I don't understand what class defĂ­nition I need. I'm using windows php extension. I'm using a class that is in the dll ? [/snip] My bad. I s

Re: [PHP] Re: ming problem

2003-09-19 Thread Shmuel
> My bad. I should have spotted this...you have > $flash = new SWFMovie; > it should be > $flash = new SWFMovie(); No, it's no that. It doesn't work. comlains the same: the missing of the class: Fatal error: Cannot instantiate non-existent class: swfmovie in C:\Apache\test\flash\index.php on

Re: [PHP] um...

2003-09-19 Thread Ryan A
Hey comon nowwith a cute name like Raquel let the lady do whatever she wants ;-D Cheers, Ryan. /* If we are here to help others...what th @#$% are the others here for??? */ > > > > > > > > > its because of the new PHP virus (PHP.virdrus) and opussoft's > > > > anti virus > > > >

Re: [PHP] forcing variable expansion

2003-09-19 Thread Eugene Lee
On Fri, Sep 19, 2003 at 03:50:40PM -0500, Jay Blanchard wrote: : : Eugene Lee asked: : > : > If I have a block of text saved in an external text file, e.g.: : > : > All {$badstuff} and no {$goodstuff} makes {$name} a dull : > {$type}. : > : > after reading the text into a string, is there a

[PHP] Need to convert seconds to DD:HH:MM:SS

2003-09-19 Thread Daevid Vincent
So clearly I'm being stupid and this seemingly basic math is beyond my abilities at the moment. I've tried various things, but can't seem to figure out how to get the number of days integrated in here for $hh that are > 24. I've googled for code fragments and can't find one. All seem to deal with t

RE: [PHP] Need to convert seconds to DD:HH:MM:SS

2003-09-19 Thread Jennifer Goodie
>can't seem to figure > out how to get the number of days integrated in here for $hh that > are > 24. > to days:hours:minutes:seconds... This function works for what it > does, can > someone embelish it to handle days too? > > function convertToHHMMSS($seconds) > { > $hoursPerDay

Re: [PHP] fopen() || Execute read file as php page; not plain text

2003-09-19 Thread andu
On Fri, 19 Sep 2003 17:05:47 -0700 "CF High" <[EMAIL PROTECTED]> wrote: > Hm.. > > Looks like I was deluding myself. The only data returned by setting a var = > include $include_path, is 0 or 1. I'm looking for a few hundred lines of > evaluated text. Back to the drawing board. Christ

RE: [PHP] um...

2003-09-19 Thread Chris W. Parker
Ryan A on Friday, September 19, 2003 2:36 PM said: > Hey comon nowwith a cute name like Raquel let the lady do > whatever she wants Raquel eh? Reminds me of Raquel Welch, and as I recall Seinfeld made it pretty clear that Raquel Welch is very mean. I'd be ca

Re: [PHP] fopen() || Execute read file as php page; not plain text

2003-09-19 Thread CF High
Because I need to write $include_path content to file; not display it in the browser... --Noah "Andu" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Fri, 19 Sep 2003 17:05:47 -0700 > "CF High" <[EMAIL PROTECTED]> wrote: > > > Hm.. > > > > Looks like I was deluding m

Re: [PHP] um...

2003-09-19 Thread Curt Zirzow
* Thus wrote Raquel Rice ([EMAIL PROTECTED]): > On Fri, 19 Sep 2003 21:07:50 + > Curt Zirzow <[EMAIL PROTECTED]> wrote: > > > * Thus wrote Raquel Rice ([EMAIL PROTECTED]): > > > On Thu, 18 Sep 2003 15:37:38 -0400 > > > > > > > > > its because of the new PHP virus (PHP.virdrus) and opussoft's

RE: [PHP] fopen() || Execute read file as php page; not plain text

2003-09-19 Thread Roger B.A. Klorese
> Because I need to write $include_path content to file; not > display it in the > browser... Then you're not INCLUDEing it inline to the source, are you? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Need to convert seconds to DD:HH:MM:SS

2003-09-19 Thread Kevin Stone
"Jennifer Goodie" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > >can't seem to figure > > out how to get the number of days integrated in here for $hh that > > are > 24. > > to days:hours:minutes:seconds... This function works for what it > > does, can > > someone embelish it to h

Re: [PHP] fopen() || Execute read file as php page; not plain text

2003-09-19 Thread CF High
Could you explain what you mean by: "Then you're not INCLUDEing it inline to the source" --Noah "Roger B.A. Klorese" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Because I need to write $include_path content to file; not > > display it in the > > browser... > > Then you're

Re: [PHP] um...

2003-09-19 Thread Raquel Rice
On Fri, 19 Sep 2003 15:15:21 -0700 "Chris W. Parker" <[EMAIL PROTECTED]> wrote: > Ryan A > on Friday, September 19, 2003 2:36 PM said: > > > Hey comon nowwith a cute name like Raquel let the lady do > > whatever she wants > > Raquel eh? Reminds me of Raquel

Re: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread John Nichel
Frank Tudor wrote: Thanks for the response. Ok with php.ini in the ect directory I get a Call to undefined function: mysql_connect() Without the php.ini file all my functions fail, because Mandrake linux has all the latest and greatest apache php and mysql stuff. so during that build (which d

Re: [PHP] fopen() || Execute read file as php page; not plain text

2003-09-19 Thread andu
On Fri, 19 Sep 2003 18:20:01 -0700 "CF High" <[EMAIL PROTECTED]> wrote: > Because I need to write $include_path content to file; not display it in the > browser... So you want to read from a file and write back to it? I don't understand what you're trying to accomplish, execute a script and w

[PHP] Reading URL is changed

2003-09-19 Thread Dan J. Rychlik
I am trying to figure out the best way to accomplish this task. I have one file that performs a certain amount of functions based on a user link choice. All the links point to the same document. I know I need a control structure that reads what link was read but Im not sure how to do this.

Re: [PHP] um...

2003-09-19 Thread Ryan A
Hey, Never really liked Seinfeld, although he wrote a lot of the stuff he was the only idiot in that serial, the others were always much funnier and has stand up comendy stinks too... As for the mean thing...dont you remember your school days??? let me remind you...ALL GIRLS ARE MEAN. :-D Cheers

RE: [PHP] Reading URL is changed

2003-09-19 Thread Vail, Warren
Not sure if this is what you are looking for, but have you tried; First Link Second Link and then in this.php $link = $_GET["L"]; Warren Vail -Original Message- From: Dan J. Rychlik [mailto:[EMAIL PROTECTED] Sent: Friday, September 19, 2003 5:11 PM To: [EMAIL PROTECTED] Subject: [PHP]

Re: [PHP] Reading URL is changed

2003-09-19 Thread andu
On Fri, 19 Sep 2003 19:10:46 -0500 "Dan J. Rychlik" <[EMAIL PROTECTED]> wrote: > I am trying to figure out the best way to accomplish this task. I have one file > that performs a certain amount of functions based on a user link choice. All > the links point to the same document. I know I need a

Re: [PHP] Reading URL is changed

2003-09-19 Thread Dan J. Rychlik
That seems to work pretty good. Thank you for this technique. -Dan - Original Message - From: "Vail, Warren" <[EMAIL PROTECTED]> To: "Dan J. Rychlik" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, September 19, 2003 7:32 PM Subject: RE: [PHP] Reading URL is changed > Not sure

Re: [PHP] Reading URL is changed

2003-09-19 Thread Dan Anderson
First of all, you can use Javascript to submit a form when the link is pressed. Andu has a good idea too, but I figured I'd elaborate: If you create a form like: The browser visits the URL: http://www.foo.com?foo=bar&bar=foo This is called GET method in a form. Do a google search.

[PHP] Clear ALL Cookies previously set

2003-09-19 Thread Stevie D Peele
How can I clear all cookies that have been previously set? I want this in an if statement so something like if ($value == $blue){ clear all cookies; setcookie("name",time()+3600); } Thanks

Re: [PHP] fopen() || Execute read file as php page; not plain text

2003-09-19 Thread CF High
Re: "So you want to read from a file and write back to it? I don't understand what you're trying to accomplish, execute a script and write the result to file?" Yes, the read file is a nested set of queries that populates a js pop up menu, the site navigational structure. That's why I need the rea

[PHP] How can I populate or bypass the mod_auth_mysql prompt

2003-09-19 Thread Daevid Vincent
I am using mod_auth_mysql to protect some directories. All works great. However, when someone joins up, I send them a username/pw for them to login with. What I'd like is in addition, to shoot them into the protected section so they don't have to login with these credentials (the first time). I tri

Re: [PHP] How can I populate or bypass the mod_auth_mysql prompt

2003-09-19 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 19 September 2003 09:36 pm, Daevid Vincent wrote: > I am using mod_auth_mysql to protect some directories. All works great. > However, when someone joins up, I send them a username/pw for them to login > with. What I'd like is in addition, to

RE: [PHP] How can I populate or bypass the mod_auth_mysql prompt

2003-09-19 Thread Daevid Vincent
Thanks for the reply, however that seems extremely insecure as both user and pw are in the url. Got any other suggestions to try? > -Original Message- > From: Paul Nicholson [mailto:[EMAIL PROTECTED] > Sent: Friday, September 19, 2003 6:46 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP]

Re: [PHP] fopen() || Execute read file as php page; not plain text

2003-09-19 Thread andu
On Fri, 19 Sep 2003 21:29:50 -0700 "CF High" <[EMAIL PROTECTED]> wrote: > Re: "So you want to read from a file and write back to it? I don't > understand what you're trying to accomplish, execute a script and write the > result to file?" > > Yes, the read file is a nested set of queries that popu

Re: [PHP] fopen() || Execute read file as php page; not plain text

2003-09-19 Thread Curt Zirzow
* Thus wrote CF High ([EMAIL PROTECTED]): > Re: "So you want to read from a file and write back to it? I don't > understand what you're trying to accomplish, execute a script and write the > result to file?" > > Yes, the read file is a nested set of queries that populates a js pop up > menu, the s

Re: [PHP] How can I populate or bypass the mod_auth_mysql prompt

2003-09-19 Thread Curt Zirzow
* Thus wrote Daevid Vincent ([EMAIL PROTECTED]): > Thanks for the reply, however that seems extremely insecure as both user and > pw are in the url. Got any other suggestions to try? It isn't much less secure than if the browser sends them. The only way to secure this method is using ssl on all pa

RE: [PHP] Reading URL is changed

2003-09-19 Thread Warren Vail
What Dan says is true,,, IF there are other form fields on the form where your user is making his choices. Since the hotlink fakes a "Get" type of header, and does NOT cause the other fields be submitted as well, any last minute changes to those formfields will be ignored by your form processing r

[PHP] Do PHP boolean operators short circuit?

2003-09-19 Thread Dan Anderson
I am learning perl and my book describes "boolean short circuiting". Basically: function1() OR function2(); (function2 never is evaluated if function1 is true). Will this work in PHP for any function? Thanks in advance, -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscrib

Re: [PHP] Do PHP boolean operators short circuit?

2003-09-19 Thread John W. Holmes
Dan Anderson wrote: I am learning perl and my book describes "boolean short circuiting". Basically: function1() OR function2(); (function2 never is evaluated if function1 is true). Will this work in PHP for any function? Yes. From my experience, it will work that way. I don't know if it's t

Re: [PHP] Session with various Browser.

2003-09-19 Thread Harry Yau
Thanks Marek!~ I have solved this problem with the exactly suggestion from you. session_cache_limiter("private_no_expire"); Marek Kilimajer wrote: > Experiment with session_cache_limiter(), for example try to set it to > private_no_expire. > > Harry Yau wrote: > > > Hi all, > > I am new to ph

[PHP] Problem with getting non-blocking data from stdin

2003-09-19 Thread Robert Cummings
I wanted t play around with the CGI (not CLI) version of PHP and get a feel for the I/O stuff, specifically STDIN. So I whipped up the following script: /// #!/usr/bin/php -qC http://www.interjinn.com | :-

Re: [PHP] Warning during File uploading

2003-09-19 Thread Binay
Hi ! Sorry ... but yesterday couldn't get over it ... Sorry for inconvinience caused .. Binay - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 19, 2003 12:18 PM Subject: Re: [PHP] Warning during File uploading > On Friday 19 S

[PHP] [Newbie Guide] For the benefit of new members

2003-09-19 Thread tech
= This message is for the benefit of new subscribers and those new to PHP. Those who do not want to be bothered just filter out the [Newbie Guide] mails. Please feel free to add more points and send to the list. ===

Re: [PHP] Problem with getting non-blocking data from stdin

2003-09-19 Thread Dan Anderson
Why are you using php:// below? If stdin is a file './stdin' will suffice (or the path instead of ./). If you want to run the PHP script in stdin you should use one of the following: include() include_once() require() require_once() See the manual at php.net for pertinent sections... > if( ($

Re: [PHP] Problem with getting non-blocking data from stdin

2003-09-19 Thread Dan Anderson
One more thing: gdb doesn't do a damned thing for debugging PHP scripts. Look for the errors and warnings output to the browser. (or tty if you're using /usr/bin/php). -Dan On Sat, 2003-09-20 at 00:33, Robert Cummings wrote: > I wanted t play around with the CGI (not CLI) version of PHP and

Re: [PHP] Problem with getting non-blocking data from stdin

2003-09-19 Thread Robert Cummings
On Sat, 2003-09-20 at 00:59, Dan Anderson wrote: > Why are you using php:// below? If stdin is a file './stdin' will Because it is the correct way to retrieve input from standard input. http://www.php.net/wrappers.php > suffice (or the path instead of ./). If you want to run the PHP script

Re: [PHP] Problem with getting non-blocking data from stdin

2003-09-19 Thread Robert Cummings
On Sat, 2003-09-20 at 01:01, Dan Anderson wrote: > One more thing: > > gdb doesn't do a damned thing for debugging PHP scripts. Look for the > errors and warnings output to the browser. (or tty if you're using > /usr/bin/php). Oh you had to tie another on on. I guess I look really stupid. Hmm

[PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread Frank Tudor
I have installed Mandrake Linux and it comes standard with Apache PHP and MySQL. You can install all these rpms through the server selectionAnyway. In my test environment it is function city and of course register globals were on. Now I have Taked my PHP.INI-DIST set the globals to on and c

RE: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread Jay Blanchard
[snip] I have installed Mandrake Linux and it comes standard with Apache PHP and MySQL. You can install all these rpms through the server selectionAnyway. In my test environment it is function city and of course register globals were on. Now I have Taked my PHP.INI-DIST set the globals to o

RE: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread Frank Tudor
I can run mysql from a command line. What I create a connection string using my php.ini file I get failure. mysql_connect() errors My connection string code is very simple: "; $result2 = mysql_list_tables($db_data[0]); $num_rows2 = mysql_num_rows($result2);

Re: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread Frank Tudor
When I remane my php.ini file I get /var/lib/mysql/mysql.sock When I take the .old of the the end of my php.ini.old and put in my etc directory i don't see any mysql stuff listed. Frank --- Marek Kilimajer <[EMAIL PROTECTED]> wrote: > check your mysql.default_socket setting in php.ini > > Fra

Re: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread Frank Tudor
I did set my php.ini file in the etc dir and it worked fine. But there was no mysql listed when I did a phpinfo.php page. So more specifically, when I ude my php.ini file i have globals on but mysql_connect failures When I don't use php.ini files I get globals set to off and mysql access in ref

RE: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread Jay Blanchard
[snip] ...please snip replies [/snip] Your php.ini should be in /etc/apache/ Once you have it there restart your Apache server. Now, let's creat a MySQL connection string in a seperate file (not in the php.ini, which acording to some of the stuff I have read you have done. Also there should n

Re: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread Frank Tudor
Thanks for the response. Ok with php.ini in the ect directory I get a Call to undefined function: mysql_connect() Without the php.ini file all my functions fail, because Mandrake linux has all the latest and greatest apache php and mysql stuff. so during that build (which doesn't use the php.

[PHP] Re: [PHP-WIN] Re: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread Frank Tudor
Also, On the phpinfo.php MYSQL_SOCKET /var/lib/mysql/mysql.sock MYSQL_INCLUDE -I/usr/include/mysql MYSQL_LIBS -L/usr/lib/mysql -lmysqlclient ARE MISSING. When I run a phpinfo.php page I get all my config info with my php.ini file put in the etc dir i get no mention of the above mysql info

Re: [PHP] Problem with getting non-blocking data from stdin

2003-09-19 Thread Curt Zirzow
* Thus wrote Robert Cummings ([EMAIL PROTECTED]): > I wanted t play around with the CGI (not CLI) version of PHP and get a > feel for the I/O stuff, specifically STDIN. So I whipped up the > following script: > > /// > > #!/usr/bin/p

Re: [PHP] Problem with getting non-blocking data from stdin

2003-09-19 Thread Robert Cummings
On Sat, 2003-09-20 at 01:52, Curt Zirzow wrote: > * Thus wrote Robert Cummings ([EMAIL PROTECTED]): > > I wanted t play around with the CGI (not CLI) version of PHP and get a > > feel for the I/O stuff, specifically STDIN. So I whipped up the > > following script: > > > > /

Re: [PHP] Problem with getting non-blocking data from stdin

2003-09-19 Thread Dan Anderson
I find your responses to my e-mails quite humorous. Upon review -- aside from a single WTF -- I don't think I was condescending in any way shape or form. I was just trying to offer help. After reading about wrappers, I find it doubly humorous that you didn't just disregard my e-mail when I asked

Re: [PHP] Do PHP boolean operators short circuit?

2003-09-19 Thread Jason Wong
On Saturday 20 September 2003 10:57, John W. Holmes wrote: [snip] > From my experience, it will work that way. I don't know if it's that > way for every version or not, though. manual > Migrating from PHP/FI 2 to PHP 3 -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Softw

Re: [PHP] Problem with getting non-blocking data from stdin

2003-09-19 Thread Curt Zirzow
hmm.. on second thought... * Thus wrote Robert Cummings ([EMAIL PROTECTED]): > [...] > if( ($char = fread( $stdin, 1 )) !== false ) How are you calling this script? I'm not sure how cgi will handle fread With a traditional CGI script is what is read on POST data from a form, and php t

Re: [PHP] Problem with getting non-blocking data from stdin

2003-09-19 Thread Curt Zirzow
* Thus wrote Dan Anderson ([EMAIL PROTECTED]): > I find your responses to my e-mails quite humorous. Upon review -- hmm... its almost (is) saturday lets all drop it. cheers. Curt -- "I used to think I was indecisive, but now I'm not so sure." -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Do PHP boolean operators short circuit?

2003-09-19 Thread Curt Zirzow
* Thus wrote Jason Wong ([EMAIL PROTECTED]): > On Saturday 20 September 2003 10:57, John W. Holmes wrote: > > [snip] > > > From my experience, it will work that way. I don't know if it's that > > way for every version or not, though. > > manual > Migrating from PHP/FI 2 to PHP 3 heh... i havn'

Re: [PHP] Problem with getting non-blocking data from stdin

2003-09-19 Thread Robert Cummings
On Sat, 2003-09-20 at 02:02, Curt Zirzow wrote: > hmm.. on second thought... > > * Thus wrote Robert Cummings ([EMAIL PROTECTED]): > > [...] > > if( ($char = fread( $stdin, 1 )) !== false ) > > How are you calling this script? I'm not sure how cgi will handle > fread > > With a traditi

Re: [PHP] Problem with getting non-blocking data from stdin

2003-09-19 Thread Robert Cummings
On Sat, 2003-09-20 at 01:53, Dan Anderson wrote: > I find your responses to my e-mails quite humorous. Upon review -- > aside from a single WTF -- I don't think I was condescending in any way > shape or form. I was just trying to offer help. The particular shape of your help was non newbie frien

<    1   2