Re: [PHP] PHP interference in frames

2005-12-24 Thread Ron Rudman
this, and above all, my apologies to PHP! ""Albert"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >> On 12/22/05, Ron Rudman <[EMAIL PROTECTED]> wrote: >> >>>I've got this down to a bare bones test but am still stumped.

RE: [PHP] PHP interference in frames

2005-12-23 Thread Ron Rudman
rames are held back. Seems like the request is logged when it completes, so the logging process can't show us whether the client held back frame 3 or frame 3 was put on hold by the server. -Original Message- From: Jochem Maas [mailto:[EMAIL PROTECTED] Sent: Friday, December 23, 2005 6:21

[PHP] PHP interference in frames

2005-12-22 Thread Ron Rudman
I've got this down to a bare bones test but am still stumped. Can anyone explain why I get the behavior I do? I have a frameset with 3 frames: testing test1.php and test2.php are both simply: test3.php is simply: When I invoke the main frameset, the output from tes

Re: [PHP] Running CLI from a web page

2003-11-10 Thread Ron Rudman
s because then the code in foo might conflict with the context surrounding the include. I was hoping for a simpler solution, but I might be able to isolate the include in a function. "Chris Shiflett" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > --- Ron Rudman

Re: [PHP] Running CLI from a web page

2003-11-10 Thread Ron Rudman
There are already plenty of echo statements in foo! They DO show up when I run php foo. It's when I try to use system("php foo") that I don't get anything. "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] [snip] I have a php cli that creates a file. It works fine whe

[PHP] Running CLI from a web page

2003-11-10 Thread Ron Rudman
I have a php cli that creates a file. It works fine when I execute it from the Linux command line as "php foo > bar". I'm trying to also execute this by clicking a form button on a web page via "system('php foo > bar')". I can see that the file bar gets created but it's always empty. I've trie

Re: [PHP] Redirect

2003-04-05 Thread Ron Rudman
I believe you can also prevent the header error by using ob_start(); "Jean-Louis Letortorec" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > To work around that "headers already sent" problem, I use: > > if ($condition == true) { echo > "location.href=('http://...');"; } > > That wor

[PHP] Re: parse_str()

2003-04-02 Thread Ron Rudman
I think you mean: $example_string = '?action=kick&item=me'; "Jose" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I might be wrong here, but with the code below I would expect $_GET to be filled and the script to output the next line: // expected output: // // array(2) { ["acti

[PHP] Multiple DB Inits

2003-03-16 Thread Ron Rudman
I am using MySQL via PEAR:DB like this (these statements are executed for each SQL statement):: $dbc = DB::connect( $dsn ); $cmd = strtoupper(strtok( $str, " " )); if ( $cmd == "SELECT" || $cmd == "SHOW" ) $aRows = ( $queryparms == "" ) ? $dbc->getAll( $str ) : $dbc->getAll( $str, $queryparm

[PHP] Re: PHP url variables

2003-03-13 Thread Ron Rudman
Try: parse_str( $_SERVER['QUERY_STRING']); "Stephen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi > > I have just installed PHP 4 and Apache 2 but when I pass a variable in a url > eg ?id=1 > I can't get the variable value by $id, I have to use $_GET['id'] or > $_POST['id'] > >