[PHP] object creation
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 Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] fopen() question
What I want to do is to the save a file with its new content, but when i save the file and the new content is less than it was before i opened it, you can see the old content after the new shorter content. How can i avoid this? Now using: $fd = fopen($arrFileName, "r+"); fwrite($fd, $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
i have some html that i submit using html example Perro When i submit this and retrieve it on the target page the value looks like this: Perro Can I somehow avoid that somehow? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: request object
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 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: http://www.php.net/unsub.php
[PHP] request object
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: http://www.php.net/unsub.php
[PHP] simple array question
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, visit: http://www.php.net/unsub.php