Jump to content

Nolongerused3921

Members
  • Posts

    141
  • Joined

  • Last visited

Posts posted by Nolongerused3921

  1. Skills:

    • PHP: 8 years experience with nearly every aspect of PHP.
    • MySQL: 8 years experience.
    • Regular Expressions: 4 years experience writing regex for searches, mod_rewrite, templating engines, and so on.
    • HTML/CSS: Complete understanding and ability to translate any template to proper standards.
    • JavaScript: Beyond working knowledge of javascript, and jQuery.
    • Mod_rewrite: "Fancy URLs", such as the ones that wordpress, digg, and so on use - I have three years experience working with mod_rewrite, and over two years writing them with the core script in mind.

     

     

    Previous Work:

    • 5th Age: Ingame help system, consultation, and various scripts.
    • Sword in Hand: Rewrote large portions of the backend as per specifications, split several designs up from PSD, converted to HTML/CSS. As of 10/22/09 only roughly 70% of the original HTML/CSS is in tact. I also manage the server, and domains belonging to this client.
    • Gamesiren: Personal site written in a few days from the ground up.
    • Several poker, and gaming related sites I will not link due to forum rules and at the request of the owners. A few of these projects are visible to the public, and I will link upon private request.
    • Sub-Contracted work for ImpulseCorp, owner of bored.com.
    • A complete PHP/MySQL-based modular site engine powering landatwar.com and several other sites
    • Various spider projects to scan various sites for information and store them into a database.
    • Templating engine similar to SMARTY. Use of regular expressions to translate a basic language into PHP, then cache the file. Code available on request.
    • Many contracted scripts
    • More available on request, and on my personal site (Link in my signature).

     

     

    Price:

    I charge hourly rates and give an estimate when I start a job. I stick to whatever estimate I give, and am able to offer a sliding scale pricing system if you can not afford my standard rate. Contact me with the details of your project for more information.

    You will not have to pay any amount until after the job is complete. You will be able to see every stage of development, on a private test site owned by myself. Escrow services can be used on request, but Paypal is preferred.

     

     

    Full-time work:

    I am currently accepting full time work at a minimum of 10 hours a month. This allows a set number of hours* to be bought each month, and work being covered up to that point. Any number of hours billed after this, will be billed at a discounted rate. More information is available in the 'FAQ' section of my site, linked in my signature.

     

    *To be billed regardless of work assigned. Work assigned during this time (At least 5 days before end of payment period) will be completed to the number of hours paid with the penalty of a partial (Total hours worked) payment for that work period. All Full-time jobs will have priority, and the number of hours billed will be set aside each period, regardless of whether worked was assigned or not.

     

     

    Payment Method:

    I accept Paypal, and various Escrow services. However, paypal is preferred due to the lesser fees.

     

     

    Contacting me:

    Please do not send me a private message, contact me at sykoii@gmail.com with the subject prefix of "PHP JOB:".

     

     

    More Information:

    Freelance PHP development is an area home to much fraud, insecure and overall shoddy programming. I can assure you that any project I work on, I will work on with security, optimization, and future support* in mind. I am willing to work up to 16 hours a day on any project I receive to meet deadlines - and will try to get most small / mid-sized projects done in less than a week.

    While I am not able to promise my code will be exploit-free, I can assure you that I have many years experience with this area - and my most recent project was written with the utmost security in mind and stress tested to the fullest.

     

    *I provide free, lifetime support of any code I create - this includes fixing bugs, fixing security holes, and other things along those lines. Any upgrading or new features, will cost - however I will provide a discount depending on the complexity of the new features.

  2. I'm trying to write a basic function to check whether or not the user has cookies enabled (So I can decide if I want mod_rewrite turned on or not, among other things)*, but I'm having some problems.

     

    public function CookiesAllowed() {
    	//If cookie allowed exists, return 1... If not, try to set it for 2 weeks - if fails, return 0... If successful return 1
    	return (isset($_COOKIE['allowed'])) ? 1 : setcookie("allowed", "true", time()+60*60*24*30);
    }
    

     

    I'm using IE7.0 to test, I set it to ask me every time a cookie is set, and have the cookies array output using print_r... Even if I deny the cookie, and it doesn't show in the array (After several refreshes), this function still returns 1.

    Setcookie should return 0 if the cookie wasn't set properly, but it always returns 1 for some reason - any ideas why? Any way I can fix this?

     

     

    *I'd rather not have to edit all of my mod_rewrite rules to have SESSID on the end, so I just let PHP handle it and turn mod_rewrite off if the user isn't allowing cookies.

  3. It looks like the error is caused by the locations not being in quotes, in the .php file.

    f ($location == Tampa Bay) print "<p>\nWe will contact you within 1 business day.";
    if ($location == Florida) print "<p>\nWe will contact you within 3 business days.";
    if ($location == US) print "<p>\nWe will contact you within within 5 business days.";
    if ($location == International) print "<p>\nWe will contact you within within within 10 business days.";
    

     

    Should be

    f ($location == "Tampa Bay") print "<p>\nWe will contact you within 1 business day.";
    if ($location == "Florida") print "<p>\nWe will contact you within 3 business days.";
    if ($location == "US") print "<p>\nWe will contact you within within 5 business days.";
    if ($location == "International") print "<p>\nWe will contact you within within within 10 business days.";
    

  4. Currently I'm trying to figure out how to take a small bit of html, say

    <input name="tesT" value="YAY" />

    or

    <input name="tesT" value="YAY">

    or

    <textarea name="moo">blah</textarea>

     

    Edit, say, the value (Or innerHTML), an attribute or two, add an attribute, take one out, etc... Then export it back the same way it came in, but with the modifications. But I'm having two problems that are annoying me to no end.

     

    1) I don't usually work with DOM, so I'm not quite sure how to edit attributes and the like. The HTML aspect isn't well documented, so any help here would be nice.

    2) I'm getting extremely annoyed by the fact saveHTML() AND saveXML() both add all the extra stuff that I don't want. What's worse, it looks like even by importing the HTML with loadHtml, it adds the body tags which I don't need or want. How do I get around this? I want JUST the element(s) that go in, to come out.

     

    	$domdoc = new DOMDocument();
    	$domdoc->validateOnParse = false;
    	$domdoc->loadHtml($element);
    	$textarea = $domdoc->getElementsByTagName("textarea");
    	$xml = simplexml_import_dom($domdoc);
    	PrintNeatArrays($xml);
    

     

    This is pretty much all I have right now.

    Any help would be appreciated, thanks.

  5. Thanks for the quick reply, however I should have mentioned I had tried that, deciding not to use it due to issues with the speed of it.

     

    Sadly speed is broken down to: Functionless method (God I hope there's one)->Regex->sscanf->explode... The function will be called a lot, so I really wanna try to find something that's as faster than regex, but failing that - regex.

  6. I'm having a bit of a problem - I need to access an array entry (I.e., $array['key']['key2']) with a plain text string ($string = "[key][key2]"), but I'm not sure how to go about doing this... I've attempted to get the keys via regex, but that's not going so well and I'm going a bit insane, so I thought I'd get some help here.

     

    The regex, to give you an idea what I'm trying to do (I'd prefer not to use regex, if anyone can think of another way) :

    preg_match("/^([a-zA-Z0-9]+)(\[([a-zA-Z0-9]+)\])*/", $inputName, $sdf);
    

     

    Returns:

    cat[goes][meow]

    0: Array

    (

        [0] => cat[goes][meow]

        [1] => cat

        [2] => [meow]

        [3] => meow

    )

     

    I've tried several variations, but they always result in only one key being matched and returned.

  7. Skills:

    • PHP: Over 5 years experience with nearly every aspect of PHP.
    • MySQL: 4 years experience and knowledge of complex statements.
    • Regular Expressions: 2 years experience writing regex for searches, mod_rewrite, templating engines, and so on.
    • HTML/CSS: I have more than a working knowledge of both.
    • JavaScript: I have a basic working knowledge of JavaScript; however I would prefer not to write any code from scratch - as my specialty lies in PHP.
    • Mod_rewrite: "Fancy URLs", such as the ones that wikipedia, digg, and so on use - I have two years experience working with mod_rewrite, and about a year writing them with the core script in mind.

     

     

    Previous Work:

    • 5th Age: Various scripts ranging from a help system to optimizations to existing code.
    • Contracted work for ImpulseCorp, owner of bored.com.
    • A complete PHP/MySQL-based modular site engine powering landatwar.com and several other sites
    • Basic name generation logic capable of accepting new languages through an easy to update text file database
    • Various spider projects to scan various sites for information and store them into a database.
    • 'Fun' scripts I wrote for personal use, varying degrees of complexity. Ranging from an "evolution game" (Complex life forms slowly evolving through pairing with each other and passing down 'genetic code'), to a dynamic avatar creator.
    • A work in progress learn Japanese script. Very simple for the time being. (This was a test of jQuery, not of my PHP skills)
    • Templating engine similiar to SMARTY. Use of regular expressions to translate a basic language into PHP, then cache the file. Code available on request.
    • Many contracted scripts
    • ...More to come on a portfolio / free scripts / free tutorials personal site I plan to launch in early Feburary '08. I had planned to release this site last year, however I have decided to put it off for the release of my new PHP-driven engine.

     

     

    Price:

    I charge hourly rates and give an estimate when I start the job. I stick to whatever estimate I give, and am able to offer a sliding scale pricing system if you can not afford my standard rate. Contact me with the details of your project for more information.

    You will not have to pay any amount until after the job is complete, unless the job is more than 10 hours long. You will be able to see every stage of development, on a private test site owned by myself.

     

     

    Payment Method:

    I would prefer Paypal, however I accept other payment gateways assuming the registration process is painless, quick, and they allow fast bank transfers.

     

     

    Contacting me:

    Please do not send me a private message, contact me at sykoii@gmail.com with the subject prefix of "PHPFreaks JOB:"

    (It is important you do this, as I have been getting a lot of false positives with gmail lately)

     

     

    More Information:

    Freelance PHP development is an area home to much fraud, insecure and overall shoddy programming. I can assure you that any project I work on, I will work on with security, optimization, and future support* in mind. I am willing to work up to 12 hours a day on any project I receive to meet deadlines - and will try to get most small / mid-sized projects done in less than a week.

    While I am not able to promise my code will be exploit-free, I can assure you that I have many years experience with this area - and my most recent project was written with the utmost security in mind and stress tested to the fullest.

     

    *I provide free, lifetime support of any code I create - this includes fixing bugs, fixing security holes, and other things along those lines. Any upgrading or new features, will cost - however I will provide a discount depending on the complexity of the new features.

  8. Sadly that won't work, as the font isn't unicode (And thus won't work seeing as Japanese isn't a Romance language).

    Basically the text you just typed doesn't make sense, it comes out to being:

    u - chi

    t - e

    t#2 - dji (I believe)

    e - u

    x - ...Well, you get the idea

     

     

  9. Basically I've created a database with Japanese in it, under UTF-8 and have gotten it into PHP properly - I am able to print_r the table and it shows the Japanese properly, however I can not get GD to print it - even using a hiragana (Its Hiragana, not kata or kanji) ttf font and imagettftext...

     

    Has anyone worked with GD + foreign languages before? Is there a native PHP font that I can use, rather than a font I found online? If not, or even if so - whats the best way to get Japanese into an image, using GD?

    I plan on using Hiragana, Katakana, AND Kanji at some point (Just hiragana for now), so it'd be nice to have a native PHP UTF-8 Japanese font available, rather than hunting all over for new fonts and all that.

  10. Skills:

    • PHP: Over 5 years experience with nearly every aspect of PHP.
    • MySQL: 4 years experience and knowledge of relatively complex statements.
    • Regular Expressions: 2 years experience writing regex for searches, mod_rewrite, and so on.
    • HTML/CSS: I have more than a working knowledge of both.
    • JavaScript: I have a basic working knowledge of JavaScript; however I would prefer not to write any code from scratch - as my specialty lies in PHP.
    • Mod_rewrite: "Fancy URLs", such as the ones that wikipedia, digg, and so on use - I have two years experience working with mod_rewrite, and about a year writing them with the core script in mind.

     

     

    Previous Work:

    • 5th Age: Various scripts ranging from a help system to optimizations to existing code.
    • Contracted work for ImpulseCorp, owner of bored.com.
    • A complete PHP/MySQL-based modular site engine powering landatwar.com and several other sites
    • Basic name generation logic capable of accepting new languages through an easy to update text file database
    • Various spider projects to scan various sites for information and store them into a database.
    • 'Fun' scripts I wrote for personal use, varying degrees of complexity. Ranging from an "evolution game" (Complex life forms slowly evolving through pairing with each other and passing down 'genetic code'), to a dynamic avatar creator.
    • ...More to come on a portfolio / free scripts / free tutorials personal site I plan to launch in early December '07.

     

     

    Price:

    I charge hourly rates and give an estimate when I start the job. I stick to whatever estimate I give, and am able to offer a sliding scale pricing system if you can not afford my standard rate. Contact me with the details of your project for more information.

    You will not have to pay any amount until after the job is complete, unless the job is more than 10 hours long. You will be able to see every stage of development, on a private test site owned by myself.

     

     

    Payment Method:

    I would prefer Paypal, however I accept other payment gateways assuming the registration process is painless, quick, and they allow fast bank transfers.

     

     

    Contacting me:

    Please do not send me a private message, contact me at sykoii@gmail.com with the subject prefix of "PHPJOB:"

     

     

    More Information:

    Freelance PHP development is an area home to much fraud, insecure and overall shoddy programming. I can assure you that any project I work on, I will work on with security, optimization, and future support* in mind. I am willing to work up to 12 hours a day on any project I receive to meet deadlines - and will try to get most small / mid-sized projects done in less than a week.

    While I am not able to promise my code will be exploit-free, I can assure you that I have many years experience with this area - and my most recent project was written with the utmost security in mind and stress tested to the fullest.

     

    *I provide free, lifetime support of any code I create - this includes fixing bugs, fixing security holes, and other things along those lines. Any upgrading or new features, will cost - however I will provide a discount depending on the complexity of the new features.

  11. Is there any way to get the directory/path of the file running the script, not the directory you're inside (Via dir())? I'm allowing the user to navigate through directories, and that part works great - but whenever I attempt to used getcwd(), it returns the directory the user is in - not the directory of the php file - is there any way to get the directory of the .php file the user is using?

  12. I'm having an incredibly hard time trying to solve this problem... I have an array similar to the following:

    [area1] => Array
            (
                [subarea1] => Array
                    (
                        [subsubarea1] => Array
                            (
                                [0] => file1.txt
                                [1] => file2.pdf
                            )
    
                        [0] => blah1.txt
                        [1] => blah.2.txt
                        [2] => etc.mp3
                    )
    
                [subarea2] => Array
                    (
                        [subsubarea2.1] => Array
                            (
                                [0] => blah.txt
                            )
    
                        [subsubarea2.1] => Array
                            (
                                [0] => file1.txt
                                [1] => file2.pdf
                                [2] => file3.mpg
                            )
    
                    )
    
            )
    

     

    And I need to go through and count all the files (The [ #]s) in each of the sub arrays... But heres the problem - I need to track how many files are in each folder, and all folders underneath it.

    Basically, what it boils down to - is I need to find out how many files are in any given folder, including all of it's sub folders - so I can let the user know how many files are in a folder (Obviously).

    If anyone can think of a way to cycle through the array and get my answer - that'd be great... If you can think of another, better way to find out how many files are in a folder, and all of it's child folders, then that'd be better :)

     

    Thanks in advanced to anyone who saves me the extra few hours of pulling my hair out... I really hate working with filesystems.

  13. I just had the dumb idea of testing some more files, and... Well, they all work - even 2mB+ ones.

    Anyone have ANY idea why this file wouldn't open a connection correctly? I even tried renaming it so it didn't have spaces, and it STILL doesn't want to fopen() it from site2. (Site1 is eyesoute.com)

  14. Okay lets clear some stuff up...

     

    Download.php can do two things, it can either serve a user a file (This works fine, even with 2mB files) from the local directory, or it can download a file from the same script, on a different domain...

    Right now, ALL TESTING is done on a single server, but two different domains - lets call them site1, and site2.

     

    I'm currently trying to download a 333kB jpeg from site1 using the download.php script to both serve, and download the file (Serve from site1, download from site2). If I download the file directly, from my own computer, it works fine - even if its a large file. However, if I try to download the file from site2, it timesout.

     

    Now I highly doubt its because its not downloading fast enough, since it is downloading from the same server, the same IP, on the same network, etc.... Theres something wrong somewhere else, but I can't figure out where... To make matters worse, this worked before I moved to this new server.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.