No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
7 Posted Topics
Hi, this is what i've got so far: [CODE]$sql = "SELECT * FROM ".$_SESSION[dbprefix]."users, user_skills WHERE user_skills.userid=users.id AND ((users.username LIKE '%" . $queryString . "%') OR (users.email LIKE '%" . $queryString . "%') OR (users.firstname LIKE '%" .$queryString . "%') OR (users.lastname LIKE '%" . $queryString . "%') OR (user_skills.skill …
Will using the mp3script from: [url]http://x10media.com[/url] bring much traffic and what type of returns can i expect? Considering there are so many mp3 sites. And what would make people start using another search engine instead of Google.
Hi, i would like to, using php, randomly select a word from the current page, which i have already managed to get into a string. I would like to use php to randomly choose any of the words, the full word.
I have tried: [CODE]$urlres = preg_match_all('#<img[^>]*?>#si', $site, $matches); $checkhttp = preg_match('#src="http#si', $matches[0][$i], $checked); if ($urlres = true) {for($i = 0, $size = sizeof($matches[0]); $i < $size; ++$i) { if ($checkhttp != true): $pattern = '#src="http:#'; $replacement = 'src="'; $replacement .= $link2; $string = $matches[0][$i]; $result = preg_replace($pattern, $replacement, $string); echo …
You have three options mentioned here: [url]http://www.obolynx.com/forums/html-css/5747-site-search-visitors.html#post5950[/url] they are mainly: 1. google sitesearch 2. sphider.eu 3. freefind
I have used preg match to find in a page all img tags: [CODE]<(img)[^>]*?>[/CODE] Can someone please tell me how i would check if it has a full url and if it does not replace it with a full url from a variable called $link2. I would also like to …
Can someone please tell me how to replace any code before a particular div, this is what i have so far: [CODE] $pattern1 = "/^<!doctype html>[a-zA-Z0-9._-]$/"; $replacement = '${1}1,$3'; preg_replace($pattern, $replacement, $ch); [/CODE] I want it to replace absolutely anything it finds before a particular word which will be specified.
The End.
ade92uk