php-general Digest 2 Dec 2010 03:44:30 -0000 Issue 7065

2010-12-01 Thread php-general-digest-help
php-general Digest 2 Dec 2010 03:44:30 - Issue 7065 Topics (messages 309787 through 309808): Re: $_POST issues 309787 by: Richard Quadling 309788 by: Daniel P. Brown 309789 by: Bundhoo M Nadim 309790 by: Jay Blanchard 309791 by: Marc Guay

RE: [PHP] LDAP, Active Directory, and permissions

2010-12-01 Thread Bob McConnell
From: Chris Knipe I've found various sources and are successfully manipulating Active Directory from PHP on our Domain Controller - frankly, things works much better than I expected :) I have now reached the point where I need to set permissions on objects in Active Directory, i.e. to

[PHP] $_POST issues

2010-12-01 Thread Bundhoo M Nadim
Hello, Can someone explain me what this piece of code basically does ? ?php header(Expires: . gmdate(D, d M Y H:i:s, time() + (0*60)) . GMT); header(Pragma: no-cache); print REDIRECT=http://www.domaine.com/page.php?;; $param = http_build_query($_POST); print $param;

Re: [PHP] $_POST issues

2010-12-01 Thread Richard Quadling
On 1 December 2010 14:50, Bundhoo M Nadim na...@alienworkers.com wrote: Hello, Can someone explain me what this piece of code basically does ? ?php    header(Expires: . gmdate(D, d M Y H:i:s, time() + (0*60)) . GMT);    header(Pragma: no-cache);    print

Re: [PHP] $_POST issues

2010-12-01 Thread Daniel P. Brown
On Wed, Dec 1, 2010 at 09:50, Bundhoo M Nadim na...@alienworkers.com wrote: If I just put only this piece of code: ?php    var_dump($_POST); ? i get nothing. But the above codes is successfully redirecting me to page.php with a properly constructed query string - which means that $_POST

Re: [PHP] $_POST issues

2010-12-01 Thread Bundhoo M Nadim
On 01/12/2010 19:01, Daniel P. Brown wrote: On Wed, Dec 1, 2010 at 09:50, Bundhoo M Nadimna...@alienworkers.com wrote: If I just put only this piece of code: ?php var_dump($_POST); ? i get nothing. But the above codes is successfully redirecting me to page.php with a properly constructed

Re: [PHP] $_POST issues

2010-12-01 Thread Marc Guay
?php    var_dump($_POST); ? Where exactly are you putting this line? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] $_POST issues

2010-12-01 Thread Jay Blanchard
[snip] If I just put only this piece of code: ?php var_dump($_POST); ? i get nothing. [/snip] Where are you putting this var_dump? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] $_POST issues

2010-12-01 Thread Richard Quadling
On 1 December 2010 15:18, Marc Guay marc.g...@gmail.com wrote: ?php    var_dump($_POST); ? Where exactly are you putting this line? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php If a script is ran via a url like ...

Re: [PHP] $_POST issues

2010-12-01 Thread Nadim Attari
On 12/01/2010 07:18 PM, Jay Blanchard wrote: [snip] If I just put only this piece of code: ?php var_dump($_POST); ? i get nothing. [/snip] Where are you putting this var_dump? That's the only code on the page. Otherwise, the other codes - header(), print, etc. are on the page.

Re: [PHP] $_POST issues

2010-12-01 Thread Marc Guay
The function http_build_query() is turning your $_POST array into a query string ($_GET), so the answer to this really depends where you're trying to dump the array. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] $_POST issues

2010-12-01 Thread Richard Quadling
On 1 December 2010 14:50, Bundhoo M Nadim na...@alienworkers.com wrote: Hello, Can someone explain me what this piece of code basically does ? ?php    header(Expires: . gmdate(D, d M Y H:i:s, time() + (0*60)) . GMT);    header(Pragma: no-cache);    print

RE: [PHP] $_POST issues

2010-12-01 Thread Jay Blanchard
[snip] Where are you putting this var_dump? That's the only code on the page. Otherwise, the other codes - header(), print, etc. are on the page. [/snip] var_dumping the POST on the same page from which the data originates will not yield anything. Page A - contains data to be posted. Page B

Re: [PHP] code quest

2010-12-01 Thread Jim Lucas
On 11/26/2010 4:03 PM, Kirk Bailey wrote: Hello all, my name is Kirk Bailey, and I am new to php, so please be forbearing. I code in python, and am trying to learn this language as our new client runs a web business based in it. I need a routine that will return a list of every directory

Re: [PHP] $_POST issues

2010-12-01 Thread Marc Guay
This thread is a really good example of how difficult it can be to both explain and understand a problem. The original poster might want to restate the question from scratch with a more explicit and complete example. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] $_POST issues

2010-12-01 Thread Steve Staples
On Wed, 2010-12-01 at 20:18 +0400, Nadim Attari wrote: On 12/01/2010 07:18 PM, Jay Blanchard wrote: [snip] If I just put only this piece of code: ?php var_dump($_POST); ? i get nothing. [/snip] Where are you putting this var_dump? That's the only code on the

[PHP] Re: $_POST issues

2010-12-01 Thread Nadim Attari
On 12/01/2010 08:56 PM, Nadim Attari wrote: On 12/01/2010 06:50 PM, Bundhoo M Nadim wrote: Hello, Can someone explain me what this piece of code basically does ? ?php header(Expires: . gmdate(D, d M Y H:i:s, time() + (0*60)) . GMT); header(Pragma: no-cache); print

Re: [PHP] Re: $_POST issues

2010-12-01 Thread Nadim Attari
On 12/01/2010 10:08 PM, Daniel P. Brown wrote: On Wed, Dec 1, 2010 at 12:15, Nadim Attarina...@alienworkers.com wrote: where does receipt.php gets the $_GET data ? Isn't it from response.php where the $_POST data are being http_build_query()'ed ?? $param = http_build_query($_POST);-

Re: [PHP] Re: $_POST issues

2010-12-01 Thread Daniel P. Brown
On Wed, Dec 1, 2010 at 16:32, Nadim Attari na...@alienworkers.com wrote: Thank you Daniel for this detailed post of yours. Really appreciated. Quite welcome. Saving the $_POST data (in response.php) in a file will serve nothing. - And you said this was an unnecessary step from the

RE: [PHP] LDAP, Active Directory, and permissions

2010-12-01 Thread Tommy Pham
-Original Message- From: Bob McConnell [mailto:r...@cbord.com] Sent: Wednesday, December 01, 2010 5:23 AM To: Chris Knipe; php-general@lists.php.net Subject: RE: [PHP] LDAP, Active Directory, and permissions From: Chris Knipe I've found various sources and are successfully

Re: [PHP] code quest

2010-12-01 Thread Kirk Bailey
Daniel, this is so close to bang on it's unbelivable. Only prob is my host provided me with this $^@%^^$! dir which is named .smileys, which holds icons for use in the control panel. It should NOT list it, nor list the /cgi-bin, nor /images. Can it somehow exclude those 3, or maybe a list of

Re: [PHP] code quest

2010-12-01 Thread Kirk Bailey
OK, answered my own question; no, an ssi statement inside a php echo statement is simply sent out as is, unparxsed. But if it is external to the php area, it works fine, so we have to include a function in there that will read anything I want to spew- like the 1 line contents of a desciptor

Re: [PHP] code quest

2010-12-01 Thread Kirk Bailey
OK, the quest thus far: html head TITLEphp experimental page/TITLE style TYPE=text/css body { margin-left: 5%; margin-right: 5%; } A:link, A:visited, A:active { text-decoration:none; } A:hover { text-decoration:underline; } /style /head BODY text=00 bgcolor=FF h2 align=centerSubdirectory