Lines Matching defs:url
357 $url = '';
360 if ($amp) $url .= $sep;
362 $url .= rawurlencode($key) . '=';
363 $url .= rawurlencode((string)$val);
366 return $url;
382 $url = '';
387 if ($white) $url .= ' ';
389 $url .= $key . '="';
390 $url .= hsc($val);
391 $url .= '"';
394 return $url;
838 * Adapted from the example code at url below
1397 $url = parse_url($INPUT->server->str('HTTP_REFERER'));
1400 if (!array_key_exists('host', $url)) return '';
1401 if (!preg_match('/(google|bing|yahoo|ask|duckduckgo|babylon|aol|yandex)/', $url['host'])) return '';
1404 if (!array_key_exists('query', $url)) return '';
1405 parse_str($url['query'], $query);
1679 'url' => '',
1721 if (!$data['textonly'] && empty($data['link']['url'])) {
1728 $data['link']['url'] = 'mailto:' . obfuscate($info['mail']);
1738 $data['link']['url'] = $xhtml_renderer->_resolveInterWiki($shortcut, $username, $exists);
1844 * @param string $url url being directed to
1846 function send_redirect($url)
1848 $url = stripctl($url); // defend against HTTP Response Splitting
1871 header('Refresh: 0;url=' . $url);
1873 header('Location: ' . $url);
1881 $testRequest->addData('send_redirect', $url);