[PHP] object creation

2002-08-20 Thread Jose Jeria
The code below also works if you omit the declaration of the $userAgent, will it be any difference? /José J class Browser { # the line below is not necessary? var $userAgent; function Browser() { $this-userAgent = $GLOBALS[HTTP_USER_AGENT]; } } -- PHP General

[PHP] fopen() question

2002-06-04 Thread Jose Jeria
, $arrFileContent); fclose($fd); /Jose Jeria -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Avoid escaping

2002-05-29 Thread Jose Jeria
i have some html that i submit using html example textarea name=test font face=ArialPerro/font /textarea When i submit this and retrieve it on the target page the value looks like this: font face=\Arial\Perro/font Can I somehow avoid that somehow? -- PHP General Mailing List

[PHP] simple array question

2002-05-27 Thread Jose Jeria
in javascript i can build an array doing like this: for(i=0; i whatEver.length; i++){ myArray[myArray.length] = // } What is the equivalent to this in PHP? Is this the only way: $myArray[count($myArray)] = //.. /J -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] request object

2002-05-27 Thread Jose Jeria
I have a page that creates form elements dynamically. Every time the amount of form elements is different. So to the page that I submit to I need to see how the whole request object. Is that possible? /Jose -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: request object

2002-05-27 Thread Jose Jeria
if I am not mistaken the equivalent in asp is Request.Form(); /j Jose Jeria [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have a page that creates form elements dynamically. Every time the amount of form elements is different. So to the page that