Lines Matching refs:url
355 $url = '';
358 if ($amp) $url .= $sep;
360 $url .= rawurlencode($key) . '=';
361 $url .= rawurlencode((string) $val);
364 return $url;
380 $url = '';
385 if ($white) $url .= ' ';
387 $url .= $key . '="';
388 $url .= hsc($val);
389 $url .= '"';
392 return $url;
836 * Adapted from the example code at url below
1395 $url = parse_url($INPUT->server->str('HTTP_REFERER'));
1398 if (!array_key_exists('host', $url)) return '';
1399 if (!preg_match('/(google|bing|yahoo|ask|duckduckgo|babylon|aol|yandex)/', $url['host'])) return '';
1402 if (!array_key_exists('query', $url)) return '';
1403 parse_str($url['query'], $query);
1677 'url' => '',
1719 if (!$data['textonly'] && empty($data['link']['url'])) {
1726 $data['link']['url'] = 'mailto:' . obfuscate($info['mail']);
1736 $data['link']['url'] = $xhtml_renderer->_resolveInterWiki($shortcut, $username, $exists);
1842 * @param string $url url being directed to
1844 function send_redirect($url)
1846 $url = stripctl($url); // defend against HTTP Response Splitting
1869 header('Refresh: 0;url=' . $url);
1871 header('Location: ' . $url);
1879 $testRequest->addData('send_redirect', $url);