Jump to content

Nemus

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Nemus's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. We are trying to update a web server from PHP Version 5.1.6 to PHP Version 5.3.2-1ubuntu4.7 I have a site that was code with out $_POST['VARIABLE_NAME'] where it refers to just the $VARIABLE_NAME when doing post along with $DOCUMENT_ROOT instead of the $SERVER['DOCUMENT_ROOT'] Is there away to enable these options in the php.ini file? thanks
  2. Hello, I am trying to parse textarea data by row thats submitted from a form. so I have a text area with : input1row1 input2row2 which comes as the $inputString = " input1row1 input2row2"; but when I explode (" ", $inputString) the data doesn't parse by the blank space if i put spaces at the end in the the text area, then it does parse. so I am wondering is there a special text area variable in side the string i can use to parse textarea rows? here is my code.: $self = $_SERVER['PHP_SELF']; $lanMacs = $_REQUEST['ltextarea']; $splitdata = explode(",", "$textarea"); foreach ($splitdata as $value) { echo "<br>: $value<br>\n"; } the out put is one whole string
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.