Re: rawurldecode() doesn't take in to account newline (CRLF) chars Programming Web Development by Red Dragon … DESC") or die(mysql_error()); while ($row = mysql_fetch_array($fetch_news)) { echo rawurldecode($row[3]); } I've also tried: str_replace("%0D%0A…() for EVERY possible ASCII character when I would've thought rawurldecode() should handle it by itself. Re: rawurldecode() doesn't take in to account newline (CRLF) chars Programming Web Development by diafol …() for EVERY possible ASCII character when I would've thought rawurldecode() should handle it by itself. Have you tried running $output… = nl2br(rawurldecode($str)); I don't understand why you're saving these… rawurldecode() doesn't take in to account newline (CRLF) chars Programming Web Development by Red Dragon … (%20) and newline characters (%0D%0A), however, when I use rawurldecode() on this string it only decodes the space characters, and… Re: rawurldecode() doesn't take in to account newline (CRLF) chars Programming Web Development by diafol Newlines do not print if you echo them directly to the screen. Can't you pass this via form/post - does it have to be via url/get? Re: rawurldecode() doesn't take in to account newline (CRLF) chars Programming Web Development by Red Dragon that worked great thanks diafol, it's encoded for storing to that spaces/newlines etc are saved as they should be (rather than just one long line). i was just struggling to get the output the same as the input Re: rawurldecode() doesn't take in to account newline (CRLF) chars Programming Web Development by diafol Ok, we solved? Open In New Window Php Programming Web Development by gremlinuk …;") { $download = stripslashes($_GET["download"]); $filename = safeDirectory($path.rawurldecode($download)); if ( !file_exists($filename) OR fileIsHidden($filename) OR (substr(strtolower… Pagination Help - Need To Make A Small Edit (Javascript) Programming Web Development by theimben …;td class="tcat"><a href="'.rawurldecode($url).'">'.$title.'</a></td>… Pagination Programming Web Development by theimben …;td class="tcat"><a href="'.rawurldecode($url).'">'.$title.'</a></td>… Errors sent to DIV? Programming Web Development by ello … $clean; } //CLean data function function dataClean($data) { $data = addslashes(trim(rawurldecode(strip_tags($data)))); $data = filter_var ($data,FILTER_SANITIZE_SPECIAL_CHARS); return $data; } //CREATE MAIN… Contact page sending emails to server ? Programming Web Development by ello … $clean; } //CLean data function function dataClean($data) { $data = addslashes(trim(rawurldecode(strip_tags($data)))); $data = filter_var ($data,FILTER_SANITIZE_SPECIAL_CHARS); return $data; } //CREATE MAIN… How to to strip backslash from URL Programming Web Development by nigelsponge … the url variable. I've tried htmlentities, urlencode, rawurlencode, urldecode, rawurldecode. Any help would be appreciated. thank you Re: Name with color link not working Programming Web Development by paulrajj …, use [URL="http://in2.php.net/manual/en/function.rawurldecode.php"]rawurldecode[/URL] in php to work that values. Re: pagination not displaying results Programming Web Development by ploppy …(); $result = $ADODB_SESS_CONN->Execute($query); if ($result->RecordCount()) { $data = rawurldecode($result->Fields('data')); } $ADODB_SESS_MD5 = md5($data); $result->Close… Re: can somebody help me out Programming Web Development by langsor …>'; } exit; } // perform $query validation and transforms here ... $comm_name = strtolower( rawurldecode( $query ) ); $result = mysql_query( "SELECT `comm_id` FROM `mapping` WHERE comm_name… Re: can somebody help me out Programming Web Development by ashish100 …>'; } exit; } // perform $query validation and transforms here ... $comm_name = strtolower( rawurldecode( $query ) ); well this is the solution but for this the… Re: MySQL - Some Records Not Deleting Programming Web Development by theimben I managed to work this one out. You have to work with the URLs in an encoded form. Using rawurlencode and rawurldecode. Thanks for your help though :) Re: URL Decoding during POST? Programming Web Development by diafol … you're using it). It actually uses this line: $str = rawurldecode($str); Re: parse responses Programming Web Development by diafol …: //assume the array you supplied is called $the_array $decoded_array = array_map('rawurldecode',$the_array); $output = ""; foreach($decoded_array as $key=>$value… Re: parse responses Programming Web Development by vibhaJ …'] = 'This%20transaction%20cannot%20be%20processed'; $myArray['CURRENCYCODE'] = 'Euro'; $myArrayFinal = array_map('rawurldecode',$myArray); extract($myArrayFinal); echo 'Time: '.$TIMESTAMP; echo 'Long Message: '.$L_LONGMESSAGE0… Re: quick question zoom.php Programming Web Development by diafol …['img'])){ //process the get info to retrieve the img, using rawurldecode() to get the image url } Re: quick question zoom.php Programming Web Development by hwoarang69 i am store images in database type long blob. iam not sure how can i get > //process the get info to retrieve the img, using rawurldecode() to get the image url Re: Download Counter Programming Web Development by radow …'); header('Content-Type: '.$ctype); header('Content-Disposition: attachment; filename="'.rawurldecode($file_name).'"'); header('Content-Transfer-Encoding: binary'); header('Expires: 0… Re: Ajax call onsubmit never returns true Programming Web Development by davecoventry …: $email=$_GET['email']; $userID=$_GET['ID']; //echo $email.'+'.$userID.';'; $email=rawurldecode($email); $db_handle = mysql_connect($server, $user_name, $password); $db_found = mysql_select_db($database, $db_handle… Re: Open In New Window Php Programming Web Development by ReDuX Well firstly to answer your question, i believe you need to alter this line and add target="_blank" within the anchor tag ( <a href...> ) [PHP]<a target="_blank" href="<?php echo $PHP_SELF?>?path=<?php echo rawurlencode($path)?>&amp;download=<?php echo rawurlencode($files[$i]["name"… Re: Open In New Window Php Programming Web Development by sultan_aiub Hi, i am wanting to see some value of textboxes in a new window.can u give me the php code plz? Re: Open In New Window Php Programming Web Development by fatihpiristine use java n form post method Re: Pagination Programming Web Development by theimben Don't worry, after many hours of Googling I found this. [url]http://www.dlmonitor.com/index.php?option=com_content&view=article&id=97:ajax-pagination-with-phpmysql&catid=35:Blog&Itemid=58[/url] Re: Pagination Help - Need To Make A Small Edit (Javascript) Programming Web Development by cwarn23 The following line doesn't appear to follow the correct syntax: [CODE=php] $result = mysql_query('SELECT * from list WHERE title LIKE '%$search%' LIMIT ' . $offset . ',' . $limit);[/CODE] Try replacing it with the following: [CODE=php] $result = mysql_query("SELECT * from `list` WHERE `title` LIKE '%$search%' LIMIT '$offset… Re: Errors sent to DIV? Programming Web Development by diafol This is obviously somebody else's code, right? Why don't you ask the author?