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

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] 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 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] 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] 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 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] 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 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: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

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 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 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( ($

[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] 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] 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] 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

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

[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] 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

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] 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] 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] 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] 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

[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] 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] 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] 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.

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 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 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] 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

[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] 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

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] 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] 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] 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 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] 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 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 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 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] 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

[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] 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

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] 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] 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] 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] 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] 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] 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] 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] 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] 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.

[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

[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] 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

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

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

[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] 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

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] 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

[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

[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

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

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

[PHP] popups, parents, parameters, and php

2003-09-19 Thread Rich Fox
I have been asking specific questions, and getting helpful answers, but I realized I am getting ahead of myself and thinking about the trees when I don't see the forest yet. I would like to describe what it is I want to do in general, and then hopefully you can point me in the right direction so I

Re: [PHP] um...

2003-09-19 Thread Comex
<[EMAIL PROTECTED]> R'Twick Niceorgaw: because of the new PHP virus (PHP.virdrus) and opussoft's anti >virus program decided not to accept any mails that contains the > word php. $result = str_ireplace("PHP","P*HP",$mail); -- begin theend -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] um...

2003-09-19 Thread R'twick Niceorgaw
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. Violation Information: The subject violated the content filtering rule PHP as subject is a malacious code - Not Allowed. No attempt

[PHP] Re: um...

2003-09-19 Thread Comex
> Guess what, I got another one. From posting this. Never mind, I see another thread. sorry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: um...

2003-09-19 Thread Comex
<[EMAIL PROTECTED]> Comex: > <[EMAIL PROTECTED]> > [EMAIL PROTECTED]: >> Please contact your system administrator. >> >> >> The scanned document was deleted. >> >> >> Violation Information: >> The subject violated the content filtering rule PHP as subject is a >>> malacious code - Not Allowed. No

[PHP] um...

2003-09-19 Thread Comex
<[EMAIL PROTECTED]> [EMAIL PROTECTED]: > Please contact your system administrator. > > > The scanned document was deleted. > > > Violation Information: > The subject violated the content filtering rule PHP as subject is a >> malacious code - Not Allowed. No attempt was made to repair. umm... since

Re: [PHP] Web server file perms || More than I can chew.....

2003-09-19 Thread CF High
Thanks for the informative post, Lowell & Marek. Our host suggested chmod-ing necessary directories via ftp. Completely defeats the purpose of my app which is supposed to allow the client to maintain the site themselves; not have me mess around with directory/file perms -- ugggh In any c

Re: [PHP] Session and Server variable problem

2003-09-19 Thread CPT John W. Holmes
From: "Stephen Schneider" <[EMAIL PROTECTED]> > Have an interesting problem. Worked on a web site for a client. They > have the server (IIS) set up and we are using php. Have been working > with their domain with a .net extension. To go live, they repointed > their .com domain to the web folde

Re: [PHP] Opening new browser window

2003-09-19 Thread Brent Baisley
Why use a javascript to create a new window? Any link can be directed to a new window with a simple target=. "Industry" would be the reference name of the window. For instance, if you wanted to refer to it from another window. PHP is server side, all it does is serve up a resulting page to a

Re: [PHP] Opening new browser window

2003-09-19 Thread R'twick Niceorgaw
Rich Fox said the following on 9/19/2003 12:33 PM>> I would like to open a new browser window from within my php script (edit.php), a window in which another php page is run (search.php). search.php should be able to receive $_POST vars etc. from edit.php. I am not sure that the javascript solution

[PHP] Session and Server variable problem

2003-09-19 Thread Stephen Schneider
Hi all, Have an interesting problem. Worked on a web site for a client. They have the server (IIS) set up and we are using php. Have been working with their domain with a .net extension. To go live, they repointed their .com domain to the web folder. Same spot the .net points to. But now ser

Re: [PHP] Opening new browser window

2003-09-19 Thread Rich Fox
And if you are not in a form? My current code is: where popup is my javascript function. But as I said below, the popup doesn't work as expected and I do not want to use javascript. I can also not be in a form. Suggestions? Rich "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message >

[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] Attention: List Administrator

2003-09-19 Thread Jennifer Goodie
> And I get this: > > [snip] > Violation Information: > The subject violated the content filtering rule PHP as subject is a > malacious code - Not Allowed. No attempt was made to repair. > [/snip] > > How can PHP be a code so powerfull it is not even allowed in the > subject? I thought PHP was

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.

Re: [PHP] config file

2003-09-19 Thread CPT John W. Holmes
From: "Payne" <[EMAIL PROTECTED]> > I have a project that I need to write and in the past I would hard code > a lot of information in pages that I should have put into a config file. > I am wanting to know if there a website that example how to write a > config file and how to the php call them. Y

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

2003-09-19 Thread Scott Fletcher
But Jay Blanchard situation wasn't the only one. It's the same for other people. "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Well, I'm using Outlook Express and it looked fine for an hour or so now. > But not with the ones earlier in the morning. Strange though

Re: [PHP] Web server file perms || More than I can chew.....

2003-09-19 Thread Marek Kilimajer
You can use ftp functions to create the files, so permissions won't be problem anymore. CF High wrote: Hey all. Got a problem with a site builder app I've spent three months developing. On my local machine (win2k pro, apache), no problems -- everything works just as designed. Today I began tes

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

2003-09-19 Thread Scott Fletcher
Well, I'm using Outlook Express and it looked fine for an hour or so now. But not with the ones earlier in the morning. Strange though! Scott F. "Jonathan Duncan" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Perhaps it is just Outlook Express but many of your replies are showing

Re: [PHP] Web server file perms || More than I can chew.....

2003-09-19 Thread Lowell Allen
> On my local machine (win2k pro, apache), no problems -- everything works > just as designed. > > Today I began testing on the live server; i.e. my client's hosting company > (linux, apache 1.3.27, php 4.3.1) -- that's when the trouble started. > > The site builder app builds static pages based

[PHP] Media Presentations

2003-09-19 Thread Vail, Warren
I wanted to create web based slideshow and audio media presentations and was disappointed by two PHP function sets. I would love to hear of any others that might be available. Tried MING, and discovered that there were at least 3 different versions (all numbered version 0.2a) that were incomp

Re: [PHP] Attention: List Administrator

2003-09-19 Thread Don Mc Nair
I got 21 emails with attachments today from Microsoft. Don "Payne" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Raquel Rice wrote: > > >On Fri, 19 Sep 2003 15:39:12 + > >Curt Zirzow <[EMAIL PROTECTED]> wrote: > > > > > > > >>* Thus wrote Chris Sherwood ([EMAIL PROTECTED]):

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

2003-09-19 Thread Jonathan Duncan
Perhaps it is just Outlook Express but many of your replies are showing as ophans. Jonathan "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] [snip] Try replying to the group so that your contributions stay with the thread instead of being orphaned and lost. [/snip] I

Re: [PHP] Opening new browser window

2003-09-19 Thread Marek Kilimajer
Rich Fox wrote: I would like to open a new browser window from within my php script (edit.php), a window in which another php page is run (search.php). search.php should be able to receive $_POST vars etc. from edit.php. I am not sure that the javascript solution to popup a window is correct, be

RE: [PHP] Attention: List Administrator

2003-09-19 Thread Dan Joseph
Hi, > s/Norton/linux+qmail/ haha.. that be a good solution for sure! -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Attention: List Administrator

2003-09-19 Thread R'twick Niceorgaw
David T-G said the following on 9/19/2003 12:25 PM>> Dan, et al -- ...and then Dan Joseph said... % % the computer web server. Kinda hilarious if you ask me. Good excuse to % install Norton also. s/Norton/linux+qmail/ *grin* :-D s/linux+qmail/linux+qmail+spamassassin+tmda+f-prot/ :) -- PHP

RE: [PHP] Attention: List Administrator

2003-09-19 Thread Javier Tacon
Yes, I have been flooded today too .. The virus is: Worm . Automat . AHB -Mensaje original- De: Chris Sherwood [mailto:[EMAIL PROTECTED] Enviado el: viernes, 19 de septiembre de 2003 17:15 Para: [EMAIL PROTECTED] Asunto: [PHP] Attention: List Administrator Importancia: Baja To Whom

[PHP] Opening new browser window

2003-09-19 Thread Rich Fox
I would like to open a new browser window from within my php script (edit.php), a window in which another php page is run (search.php). search.php should be able to receive $_POST vars etc. from edit.php. I am not sure that the javascript solution to popup a window is correct, because then the popu

Re: [PHP] Attention: List Administrator

2003-09-19 Thread Ryan A
Hey all, IMHO I think that sites selling you virus software (resellers for norton?) are sending most of those crappy messages saying that they recieved a mail from you that contained a virus and $insertVirusName has caught it. chances are if you are scared enought or dont know enough you will

Re: [PHP] Attention: List Administrator

2003-09-19 Thread David T-G
Dan, et al -- ...and then Dan Joseph said... % % the computer web server. Kinda hilarious if you ask me. Good excuse to % install Norton also. s/Norton/linux+qmail/ *grin* :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and no

  1   2   >