1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

What are you woking on right now?

Discussion in 'PHP' started by Lordo, Jun 6, 2008.

  1. #1
    PHP programmers are like normal people: they need some sharing :)
    So, I thought of creating this thread to be like showing the status of everyone here. Let us talk about the current jobs we are working on, their status and our status! For instance:

    Curret job: a classifieds site
    Owner: a client (or me)
    Status: 70% complete
    Current task/file: programming the page where a visitor can contact the advertiser
    My status: I am bored and lonely!
    SEMrush
    And then come back tomorrow to add more status! Something like that! What do you think of the idea? If it is nice then let's get started!
     
    Lordo, Jun 6, 2008 IP
    SEMrush
  2. born2hack

    born2hack Banned

    Messages:
    294
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Lemme try

    Curret job: An online RPG
    Owner: Me
    Status: 15% complete
    Current task/file: Finished with registration, trying to improve it before I move further.
    My status: I am born and watching my site's code makes me go MAD!
     
    born2hack, Jun 6, 2008 IP
    clinton likes this.
  3. EricBruggema

    EricBruggema Well-Known Member

    Messages:
    1,730
    Likes Received:
    26
    Best Answers:
    13
    Trophy Points:
    125
    #3
    EricBruggema, Jun 7, 2008 IP
  4. Lordo

    Lordo Well-Known Member

    Messages:
    2,082
    Likes Received:
    58
    Best Answers:
    0
    Trophy Points:
    190
    #4
    born2hack: RPG is a trend now :) Good luck and keep updating us with your news.

    EricBruggerma: It is in Deutch I guess so it is not easy to get the full image :) I think it is a poll that is handled as an image map instead of form? Nice idea :)

    Curret job: a classified ads site
    Owner: a client
    Status: 98% complete
    Current task: There are some minor issues that the client want modified. I think they will take like today and tomorrow.
    My status: I just came out from a very sunny day and I can't work now. But I am excited to get the task done this night if possible!
     
    Lordo, Jun 7, 2008 IP
  5. Danltn

    Danltn Well-Known Member

    Messages:
    679
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    120
    #5
    PHP Screenshot class.

    Just submitted to phpclasses.org :tu:

    Dan
     
    Danltn, Jun 7, 2008 IP
  6. clinton

    clinton Well-Known Member

    Messages:
    2,166
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    110
    #6
    I'm going to be working on a classified site for a client over the summer.

    Right now I'm trying not to kill my self making a social network.

    I also want to improve my PHP site engine, but not sure how much time I'll have...

    shit...I sit on the computer too much:D
     
    clinton, Jun 7, 2008 IP
  7. gwkg

    gwkg Peon

    Messages:
    143
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Trying to improve an auto youtube script that is crap coded.

    I'm starting to think my time would be better spent making a joomla component that pulls in videos using YouTubes official API.
     
    gwkg, Jun 7, 2008 IP
  8. Karin_Elliott

    Karin_Elliott Peon

    Messages:
    29
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    CMS for real estate sites.
     
    Karin_Elliott, Jun 7, 2008 IP
  9. deathshadow

    deathshadow Acclaimed Member

    Messages:
    8,976
    Likes Received:
    1,635
    Best Answers:
    233
    Trophy Points:
    515
    #9
    Current job: "Customer Relationship Management" software support website REWRITE adding a custom CMS
    Owner: a client
    Status: 80% complete
    Current task/file: rewriting the XML contact form wrapper -
    My status: Looking for my shotgun.

    Now you are probably thinking "Why is he looking for his shotgun?". They already have an existing working website - but it's 90% static pages, the design looks like a throwback to before CSS existed, and the little php they do have to integrate into a goldmine application looks like it was written by someone who's primary programming language is visual basic.

    For example:
    function Decode($strValueIn) {
    //Do not modify this function!
    $intX = 0;
    $intY = 0;
    $Temp = "";
    $Mod = "";
    $intMod =0;
    $intTemp = 0;
    $ValueOut = "";
    $intY = 1;
    $strValueOut="";
    for ($intX=1; $intX<=((strlen($strValueIn)/2)/2); $intX=$intX+1) {
        $strTemp="";
        $strMod="";
        if (($intX % 2)==0) {
          $strMod=substr(substr($strValueIn,$intY-1,4),0,2);
          $strTemp=substr(substr($strValueIn,$intY-1,4),strlen(substr($strValueIn,$intY-1,4))-(2));
        } else {
          $strMod=substr(substr($strValueIn,$intY-1,4),strlen(substr($strValueIn,$intY-1,4))-(2));
          $strTemp=substr(substr($strValueIn,$intY-1,4),0,2);
        }
        $intMod=hexdec($strMod);
        $intTemp=hexdec($strTemp);
        $intTemp=$intTemp-$intMod;
        $strValueOut=$strValueOut.chr($intTemp);
        $intY=$intY+4;
      }
      return $strValueOut;
    }
    Code (markup):
    Is what they had for one of the core routines. For those of you who don't know what's wrong there:

    No need to initialize intX, strTemp or StrMod

    $Temp, $Mod, $ValueOut - all unused.

    $intMod, $intTemp - unneeded variables.

    Equation in the for loop does a double divide by two - double divide by two? Just divide by four... but you wouldn't need to divide by four if you used intX instead of intY and just incremented intX by four... Then change the modulo to %8...

    Substring 2 of a substring 4 - WTF? Just grab two... or predeclare the variables... since you are grabbing two and the next two, just predefine those... if we increment x by two inbetween and use a while instead of a for, we can simplify even further.

    ... and why the hell are there parenthesis around the static number 2? GAAARRRRGH...

    function myDecode($inString) {
    	$result='';
    	$t=0;
    	while ($t<strlen($inString)) {
    		$top=hexdec(substr($inString,$t,2));
    		$t+=2;
    		$bottom=hexdec(substr($inString,$t,2));
    		$t+=2;
    		$result.=chr(($t%8)==0 ? $bottom-$top : $top-$bottom);
    	}
    	return $result;
    }
    Code (markup):
    My rewrite - functionally identical. Actually, that's not true. This one should execute a HELL of a lot faster. Proof some people need to stay the hell away from the keyboard.

    I suppose it could be worse, they could have been attaching that bloated pile to every string as a method.
     
    deathshadow, Jun 7, 2008 IP
  10. born2hack

    born2hack Banned

    Messages:
    294
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Well yeah There are may RPGs out there. Sadly I don't have any team. Sometimes when somethign doesnt work I am fed up and delete whole coding then realizing the mistake have to start again. But I am glad I am here at DigitalPoint forums I have got a LOT of help from here, and hopefully I will succeed this time.

    Status: Coded an In-built mail system. Trying to remove vulnerabilities.
     
    born2hack, Jun 7, 2008 IP
  11. Lordo

    Lordo Well-Known Member

    Messages:
    2,082
    Likes Received:
    58
    Best Answers:
    0
    Trophy Points:
    190
    #11
    Danltn: Wow, quite impressive :) What is the URL of the class in phpclasses?

    clinton: You are lucky you have a chance to improve your own website! I need a few hours to do that but I can't manage to do! And beware, social networks have so many features nowadays, you need to login to your competitors' sites everyday now :)

    gwkg: I think a Joomla component will keep you talking to a particular slice of users: webmasters and developers but a video grabber will at least create a site, right? Good luck and think of some features to add to it after it works!

    Karin_Elliott: Good luck with the site. How much is done? And are you using ajax with data entries?
     
    Lordo, Jun 8, 2008 IP
  12. RyanDoubleyou

    RyanDoubleyou Peon

    Messages:
    86
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #12
    RyanDoubleyou, Jun 8, 2008 IP
  13. Lordo

    Lordo Well-Known Member

    Messages:
    2,082
    Likes Received:
    58
    Best Answers:
    0
    Trophy Points:
    190
    #13
    deathshadow: looool What a job to handle! This is one reason I don't like to accept re-code jobs, I spend most of the time trying to figure out what everything is for! Good luck, you say you are 80% done :)

    born2hack: At least it is for you. This makes you bear more and go ahead visualizing the success you gain as the owner of the website :) Why do you have to delete big chunks of code? Just start with minimal features and build over them. When do you think you will finish the whole site?
     
    Lordo, Jun 8, 2008 IP
  14. clinton

    clinton Well-Known Member

    Messages:
    2,166
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    110
    #14
    Yes, thats a problem. There are big teams of developers working on larger sites. I think once I get over the hill of doing the basic stuff, I might introduce some of my programming buddies to the code I've built and then maybe we could add some bad ass features a lot quicker than I can alone. Working on the site is hard, I had to give up a lot of sleep in the past few months to get time to work on it. and Then I've had school lol, which is just ending.

    The only thing that keeps me awake is motivation and coffee

    Since I'm speaking engrish today, I hope you understand lol:D

    Anyways, good luck to everyone with your projects:)
     
    clinton, Jun 8, 2008 IP
  15. Lordo

    Lordo Well-Known Member

    Messages:
    2,082
    Likes Received:
    58
    Best Answers:
    0
    Trophy Points:
    190
    #15
    Thank you, clinton :)

    I finished the modifications that were needed in the classified ads site and now I am free to move forward. So, here is my status:

    Curret job: Entertainment site with a huge mail group archive - The second phase of development. This is a well known site in the region and we gained much reputation when we created it last year.
    Owner: a client (who became a dear friend)
    Status: I will start soon
    Current task: Creating a re-design that suits the current needs of the site (he has so many advertisers now, touch wood and he wants to have tabs instead of blocks) - I know this is not PHP but I think everybody here has something to do with design :)
    My status: Well.. I don't want to start working before I finish my real life to-do's. I will see if I can start tomorrow or the day after that. You will know when I do start!
     
    Lordo, Jun 8, 2008 IP
  16. kmap

    kmap Well-Known Member

    Messages:
    2,215
    Likes Received:
    29
    Best Answers:
    2
    Trophy Points:
    135
    #16
    Current job: Nothing
    Owner: not applicable
    Approach: negative
    Next task: want to suicide
    my status: I am serious

    I will wait till tommorow if i donot get any work i hv to do something
     
    kmap, Jun 8, 2008 IP
  17. Lordo

    Lordo Well-Known Member

    Messages:
    2,082
    Likes Received:
    58
    Best Answers:
    0
    Trophy Points:
    190
    #17
    It is easy to get a PHP job to do, believe me. Check this for example:
    http://forums.digitalpoint.com/showthread.php?p=8069588
     
    Lordo, Jun 8, 2008 IP
  18. clinton

    clinton Well-Known Member

    Messages:
    2,166
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    110
    #18
    np:)

    It looks like you have your work cut out for you.
     
    clinton, Jun 8, 2008 IP
  19. LinksAndTraffic

    LinksAndTraffic Peon

    Messages:
    187
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #19
    Curret job: Membership website
    Owner: 50/50 JV with me on 50%
    Status: 60% complete
    Current task/file: Page Displays finished. Accompanying FF Toolbar, 80% complete. File Manager done. Template Manager done. Working on Email Manager. Then cookies, and FF Toolbar assembly with affiliate id, and Affiliate Commissions Manager.
     
    LinksAndTraffic, Jun 8, 2008 IP
  20. born2hack

    born2hack Banned

    Messages:
    294
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #20
    Well I cant set a deadline. I have got a lot to do. It is a Pokemon RPG. First I need to add data of over 400 Pokemons. I plan to add the first season only in the first version. Then, there are thousands of attacks, to be feeded with their types, attack etc etc. I have not moved to this part though. I am trying to find a way to prevent execution of PHP, JS codes in the mail system.
     
    born2hack, Jun 8, 2008 IP