Search Results

Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: Suomedia ; Forum: PHP and child forums
Forum: PHP Mar 28th, 2008
Replies: 8
Views: 974
Posted By Suomedia
Perhaps something like this?


<?php
function myfunction($buffer) {
return str_replace('hello', 'goodbye', $buffer);
}
$mystuff = ob_start("myfunction");
?>
I am here to say hello
Forum: PHP Mar 28th, 2008
Replies: 1
Views: 1,243
Posted By Suomedia
Its possible. It requires a GEO-IP database. There are a number of free and commercial ones available.


Matti Ressler
Suomedia
Forum: PHP Mar 21st, 2008
Replies: 9
Views: 960
Posted By Suomedia
Try this (assuming that $set_rank is the user's rank):


$rank_check = 5; // the page rank
$let_them_pass = false;
if($set_rank > $rank_check) {
$let_them_pass = true;
}

if($let_them_pass...
Showing results 1 to 3 of 3

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC