Jump to content

hackalive

Members
  • Posts

    652
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

hackalive's Achievements

Advanced Member

Advanced Member (4/5)

0

Reputation

  1. Thanks for that, however I can't see how to specify CBC/PKC7. I believe private_key_bits would = 256bit (Key Size)?
  2. The issue is I can't seem to find how to create a AES (CBC/PKCS7/256bit) key. I'm open to OpenSSL and mcrypt - although from what I can tell OpenSSL is better? They keys need to be compatible with Microsoft's CryptoAPI (and I believe OpenSSL is).
  3. Hi Guys, I need to generate an AES file key (CBC/PKCS7/256bit) using PHP and then obviously need to store the key. The second phase is to encrypt a string using the key generated and stored above, however for the moment its the key generation that is the issue. My first thought was to use OpenSSL as it is a library that can be added to any Apache installation. Any help is greatly appreciated. Cheers in advance.
  4. Appears fine on all browsers on some PCs and fails on most (all) browsers on others. Driving me nuts!
  5. Firebug does not show any overflow: hidden set for any parent elements. The original sizes vary - one is 298 x 60 (All appears ok in FF on my desktop - but cuts off in FF on my laptop - just realised this)
  6. Hi Guys, I am using Adobe Illustrators Export to save a PNG of a few logos. If I use Save for Web is comes out blurry so I use Export. My issue however is when I set <img style="height:22px;"> it keeps cutting off the right hand side of the image. Originall i was uisng height:22.5px and changing to no decimals has not helped. Any ideas? Really need some help on this as I cant seem to figure it out and its driving me nuts! Cheers
  7. GitHub reply: Can anyone perhaps help me implement (code) it?
  8. @trq: I can't see any where in that WebHook the ability to download the zip of the private repo - am I missing something?
  9. @ignace, i cant run it from my own computer, I want to make it part of the cron. Surely there is some way to 'login' to github.com (API or some form) and then run the code to download the zip? Some way to manually SSH key? Also how can i convert: curl -L -F "login=$USER" -F "token=$TOKEN" https://github.com/$USER/$REPO/$PKGTYPE/$BRANCHorTAG to PHP?
  10. Hi guys, I am trying to add to my PHP cron script I have. I want the cron to check a private repo on github.com to see if it has been updated since last download and then to download the master.zip, and then extract it over the top of the old code. My first issue is how to get the PHP code to download the master.zip from a private repo. Obviously: file_put_contents("master.zip", file_get_contents("https://github.com/company/repo/archive/master.zip")); is not going to work, as it is a private repo. I did take a look at this https://github.com/markomarkovic/simple-php-git-deploy but was unable to get it to work as I have now idea how to create an SSH for a shared hosting account that PHP can use to contact GitHub. So if anyone can help me get markomarkovic's code to work or has any other code suggestions or ideas please let me know Cheers in advance!
  11. I dont want to update the schema. I was to track changes of a recod/row. So if I update the name, I should be able to see previous names and revisions and by whom. Same as like with wikipedia articles (kind of).
  12. Hi Guys, I have a database table and I want to be able to track all the changes to it, much like wikipedia you can see previous versions. I have many fields within the table, extract/example below. TBL id (PK) name address So I want to track any and all changes to any of the fields Whats the best way to achieve this? Let me know if you need any more info.
×
×
  • 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.