Re: [PHP] get names of vars $HTTP_POST_VARS?

2001-11-09 Thread Hidayet Dogan

Or other way:

while (list($key, $val) = each($HTTP_POST_VARS))
  echo "$key = $val\n";


         Hidayet Dogan
  [EMAIL PROTECTED]

Pleksus Bilisim Teknolojileri D.T.O. A.S.
--
caldiran sok. 14/6 06420 kolej ankara * www.pleksus.com.tr
tel : +90 312 4355343 * faks: +90 312 4354006

On Fri, 9 Nov 2001, Vladimir Galkov wrote:

> Good day!
>  Is there any way to get names of vars and values from $HTTP_POST_VARS if  I
> don't know their names and (ofcourse) values? (number can be taken from
> count($HTTP_POST_VARS)  ) ...
> 
>  This is nesesery to write a function wich write log of user's work with
> remote filesystem.
> Vladimir Galkov
> [EMAIL PROTECTED]
> ICQ 84873967
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] PHP as Scripting Language

2001-02-07 Thread Hidayet Dogan

try

#/usr/local/bin/php -q


 Hidayet Dogan
  [EMAIL PROTECTED]

Pleksus Bilisim Teknolojileri A.S.
--
caldiran sok. 14/6 06420 kolej ankara * www.pleksus.com.tr
tel : +90 312 4355343 * faks: +90 312 4354006

On Wed, 7 Feb 2001, Michael Dearman wrote:

> 
> 
> John Huggins wrote:
> > 
> > Well, I have compiled a php binary for use as yet another scripting language
> > to work along side AWK, Perl, Sh, etc.
> > 
> > It works too.  I have this file...
> > 
> > #!/usr/local/bin/php
> >  > print("Hello World\n");
> > ?>
> > 
> > I run it and get..
> > 
> > host:~/projects/PHPScripts # ./test.php
> > Content-type: text/html
> > 
> 
> Steve Werby had this solution for a previous post on the same
> problem.
> MD
> 
> From: "Steve Werby" <[EMAIL PROTECTED]>
> To: "Tim Livers" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
> 
> "Tim Livers" <[EMAIL PROTECTED]> wrote:
> > Everything works fine except that I get "X-Powered-By: PHP/4.0.4pl1
> > Content-type: text/html #!/usr/local/bin/php" at the top of the page.
> 
> 1. In php.ini, set "expose_php = Off"
> 2. Restart Apache.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> > Hello World
> > 
> > Great.  Now how do I get rid of the Content-type line?  I have searched the
> > docs with little clues.
> > 
> > Thanks for your help.
> > 
> > ***
> > John Huggins
> > 
> > Transmitter Location Systems, LLC
> > 14120 Parke Long Court, 103
> > Chantilly, Virginia 20151
> > 703-227-8435
> > 703-968-8808 fax
> > [EMAIL PROTECTED]
> > http://www.tls2000.com/
> > 
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] zend ide & debugger

2001-02-16 Thread Hidayet Dogan

PHPEd now supports debugger and still free :)

> 1-month commercial license ($90).
> 
> Download wasn't too bad. I haven't had a chance to check out the Zend
> LaunchPad. The installation (Apache Linux PHP 4.04pl1+patches) took me about
> 30 minutes for client and server which included the wait on the license key.
> It took us another day to put up because there is no mention that the
> debugger doesn't work with the optimizer on. Zend customer service fixed
> that though.
> 
> The IDE is pretty nice. Startup (Windows version through Samba) takes a
> long time and there are still some crashing issues. It's nowhere near as
> spry as PHPEd but we're talking about a integrated debugger. The interface
> is Swing-based as near as I can tell and my main gripe besides the speed is
> I can't use the scroll wheel. It still crashes a bunch (not sure if it's the
> debugger or what). I passed it off to an engineer so I can't comment
> further. (He's having trouble getting it to recognize the include files.
> Anyone have a tip?)
> 
> BTW, the debugger has a browser mode, it sends off some codes in a the
> get string of the URL. I didn't test it.
> 
> Some people like source level debuggers and I think it's a good tool
> especially considering all the headaches Nexidion Designer gave us a while
> back. Personally, the last time I used a debugger, I was making a calculator
> using an 80186 (the debugger was a hardware one the size of two coffee table
> books stacked next to each other) so obviously I never got used to them. If
> you come from the Boreland C/Visual Studio world, I suppose you might find
> the IDE essential. If my engineers ever use it, I'll get the company to
> spring for a license or 5.
> 
> Take care,
> 
> terry
> 
> -- 
> terry chay, Director of Engineering, 
> QIXO /kick.so/ - Integrating Many Travel Web Sites Into One
> W: 1.408.394-8102 F:1.408.516.9090M: 1.408.314.0717
> E-Mail:  ICQ: 16069322
> PGP Fingerprint: 6DCF 1634 547C 935D 4912  2A44 A4A2 79AB DFFF F110 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]