Re: [PHP] code quest

2010-12-01 Thread Kirk Bailey
OK, the quest thus far: php experimental page body { margin-left: 5%; margin-right: 5%; } A:link, A:visited, A:active { text-decoration:none; } A:hover { text-decoration:underline; } Subdirectory listing experimental menuing page '.$d.''.PHP_EOL; } } ?>   The results may be seen on

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 fil

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

Re: [PHP] Re: $_POST issues

2010-12-01 Thread Daniel P. Brown
On Wed, Dec 1, 2010 at 16:32, Nadim Attari 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 payment gateway - All i n

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 Attari 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);<- According to cU

Re: [PHP] Re: $_POST issues

2010-12-01 Thread Daniel P. Brown
On Wed, Dec 1, 2010 at 12:15, Nadim Attari 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); <- According to cURL, it's never even hitting response.php to

Re: [PHP] Re: $_POST issues

2010-12-01 Thread Daniel P. Brown
On Wed, Dec 1, 2010 at 11:56, Nadim Attari wrote: >> >> My problem is not the redirection; but all I want is to get the data in >> $_POST Again: there is no $_POST data. Why does receipt.php work while response.php doesn't? THERE IS NO $_POST DATA. Your code in receipt.php even use

Re: [PHP] Re: $_POST issues

2010-12-01 Thread Nadim Attari
On 12/01/2010 09:15 PM, Daniel P. Brown wrote: On Wed, Dec 1, 2010 at 11:56, Nadim Attari wrote: My problem is not the redirection; but all I want is to get the data in $_POST Again: there is no $_POST data. Why does receipt.php work while response.php doesn't? THERE IS NO $_POST

[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 ? http://www.domaine.com/page.php?";; $param = http_build_query($_POST); print $param; exit(0); ?> Well, the code is redirecting to s

[PHP] Re: $_POST issues

2010-12-01 Thread Nadim Attari
On 12/01/2010 06:50 PM, Bundhoo M Nadim wrote: Hello, Can someone explain me what this piece of code basically does ? http://www.domaine.com/page.php?";; $param = http_build_query($_POST); print $param; exit(0); ?> Well, the code is redirecting to some page with query string constructed using

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: > >>> > >>> >>> var_dump($_POST); > >>> ?> > >>> > >>> i get nothing. > > [/snip] > > > > Where are you putting this var_dump? > > > >

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: http:/

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 dir

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

Re: [PHP] $_POST issues

2010-12-01 Thread Richard Quadling
On 1 December 2010 14:50, Bundhoo M Nadim wrote: > Hello, > > Can someone explain me what this piece of code basically does ? > >    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?";; >

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 Nadim Attari
On 12/01/2010 07:18 PM, Jay Blanchard wrote: [snip] If I just put only this piece of code: 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. nadim -- PHP General Mailing L

Re: [PHP] $_POST issues

2010-12-01 Thread Richard Quadling
On 1 December 2010 15:18, Marc Guay wrote: >>>    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 ... http://www.site.co

RE: [PHP] $_POST issues

2010-12-01 Thread Jay Blanchard
[snip] >> If I just put only this piece of code: >> >> > 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 Marc Guay
>>> >>    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 Bundhoo M Nadim
On 01/12/2010 19:01, Daniel P. Brown wrote: On Wed, Dec 1, 2010 at 09:50, Bundhoo M Nadim wrote: If I just put only this piece of code: i get nothing. But the above codes is successfully redirecting me to page.php with a properly constructed query string -> which means that $_POST was never

Re: [PHP] $_POST issues

2010-12-01 Thread Daniel P. Brown
On Wed, Dec 1, 2010 at 09:50, Bundhoo M Nadim wrote: > > If I just put only this piece of code: > >    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 > was never empty.

Re: [PHP] $_POST issues

2010-12-01 Thread Richard Quadling
On 1 December 2010 14:50, Bundhoo M Nadim wrote: > Hello, > > Can someone explain me what this piece of code basically does ? > >    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?";; >

[PHP] $_POST issues

2010-12-01 Thread Bundhoo M Nadim
Hello, Can someone explain me what this piece of code basically does ? 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] 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