Hiring: PHP Coder - Simple script required

Discussion in 'Programming' started by MentaLRZ, May 7, 2006.

  1. #1
    Hi,

    Im looking for a coder who can make a script in php which will allow people to the following:

    name.domain.com or name.nametwo.domain.com

    And have name and nametwo output with spaces onto a page via a simple command , like $output. (similar to isgay|dot|com)

    Im willing to pay $20 via paypal for this, i have got alternative code for this but does not work well and fully aware its a 5 minute job, first come first serv. Thanks.

    Dan




    (attached code which is not fully functional for some reason for me)

    
    <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"><head><? $victim = ereg_replace("\.gokart4xmas\.com", "", $HTTP_HOST); $victim = ereg_replace("gokart4xmas\.com", "", $victim); $victim = ereg_replace("www", "", $victim); $victim = ereg_replace("info", "", $victim); $victim = ereg_replace("\.", " ", $victim); $victim = strtolower($victim); $newvic = ""; $lst = false; for ($i=0; $i<=strlen($victim); $i++) {   $ltr = substr($victim,$i,1);   $newvic .= ($lst ? $ltr : strtoupper($ltr));   $lst = ereg("[[:alpha:]]", $ltr); }  $victim = $newvic; $victim = str_replace(" And ", " and ", $victim); $victim = str_replace(" Or ", " or ", $victim); $victim = str_replace(" With ", " with ", $victim); $victim = str_replace(" Of ", " of ", $victim); $victim = str_replace(" On ", " on ", $victim); $x1st = "";  ?>
    
    
    <html>
    
    	<head>
    		<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
    		<title>Wildcard Example for <? echo $victim ?></title>
    		<meta name="robots" content="all">
    		<meta name="keywords" content="<? echo $victim ?>, wilcard, DNS, example, tutorial">
    	</head>
    
    <body bgcolor=#FFFFFF link=#000000  alink="#003366" vlink="#999999">
    
    
    <P>
    <H1><? echo $victim ?> really wants a go kart 4 xmas!!!</h1>
    <P>
    
    
    
    </body></html>
    
    Code (markup):
     
    MentaLRZ, May 7, 2006 IP
    ajayr likes this.
  2. ajayr

    ajayr Active Member

    Messages:
    322
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    58
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    Sent the code to you via PM.
     
    ajayr, May 8, 2006 IP
  3. MentaLRZ

    MentaLRZ Well-Known Member

    Messages:
    364
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    155
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    Thanks ^__^
     
    MentaLRZ, May 8, 2006 IP
  4. jola

    jola Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    Please PM it to me as well, if you can.

    Jola
     
    jola, Jun 29, 2009 IP