Recent content by yakasha

  1. Y

    PHP/MySQL: Changing user passwords problems

    Sorry for the late reply. That update you did changed user_id 1's plain text password to the encrypted version of the string 'password'. The query you should have run was: UPDATE users SET password = PASSWORD(password) WHERE user_id = 1; Note without the ''.
  2. Y

    regex content between multiple tags

    Only problem with that one is you'll match any opening tag that starts with an s. Like <section> and <sally> (<s(>| [^>]*>))([^<]*)</s> will force it to only match <s> tags, but still won't handle nested tags. (<s(>| [^>]*>))(.*)</s> will grab everything inside the outside <s> tag...
  3. Y

    PErl on MAcOSX

    May also be an apache problem (Im assuming you're running apache). Try to add the execution permission to it (chmod 755 will work). If that doesnt work, you'll need to try adding a file into your cgi-bin directory called: .htaccess (be sure to put the period in front) In that file will be...
  4. Y

    Checking For Gcc - Result: No

    Surprised nobody responded sooner. Nope, OS X does not come with gcc. However, it does come with XCode (aka dev tools) which you can download for free here. You could get gcc seperately elsewhere, but you might as well grab the whole thing. It comes with other stuff you'll probably want...
  5. Y

    PHP - ftp_put(), move_uploaded_file() problem

    You used move_uploaded_file() to move the file to $path. The file is no longer in temp. try ftp_put($ftp, $path)
  6. Y

    PHP array question

    Apparantly php doesn't like it when you use prev() when at the front of an array or next() when at the end. the pointer gets lost in limbo or something. Try this inside your loop: if( prev($links) === false ) reset($links); else { $prevpage = key($links); next($links); } if(...
  7. Y

    PHP - how to grab website html from a form post submission

    or if the cgi program you have accepts GET params you could use file(), or file_get_contents() $result = file('http://whatever.com/search.cgi?param=' . urlencode($_POST['param'])); assuming your php's allow_url_fopen is 1
  8. Y

    Importing Mail From 10.3.9 to 10.4.2 Not Working

    Awesome, ty. I checked it out and will be posting there now. I didn't copy my preferences folder so I don't have my original com.apple.mail.plist. But I'm closer.
  9. Y

    HOWTO - Properly Re-Import Old Mail to Mail 2 (for clean-installs & archive-installs)

    And for those of us that didn't back up this file because they assumed Apple knew what they were saying when they wrote their help docs? :(
  10. Y

    Importing Mail From 10.3.9 to 10.4.2 Not Working

    Nope. I only have 1 mac. My one mac only has 10.4.2 installed (I wiped the hd). Migration Assistant is no help. Mail, according to the help files, should be able to read the mail folders just fine and import the email. Its not. I decided to install Thunderbird and try importing there to...
  11. Y

    Importing Mail From 10.3.9 to 10.4.2 Not Working

    I backed up my email by just copying my mail folders to another system (scp -r POP-domain.com) before formatting my drive and installing 10.4.2. I've tried importing from 'Mail for OS X', and 'Other'. Importing from Mail only imports an empty 'Sent' folder, not my inbox. Importing from...
Back
Top