Jump to content

hassank1

Members
  • Posts

    239
  • Joined

  • Last visited

Everything posted by hassank1

  1. yeah it works normally without https ... however now am getting a 404 page not found when using https://
  2. ok well I've got a messagebox .. which say say certificate didn't match site name , and something like that .. then do u want to contiue ? I pressed yes .. so then the only thing I've got was a blank page
  3. ok I see..but how can I use/enable https .. !
  4. ok thx for the info is https the only way ? would you please provide me with some info about how to use https ?
  5. hey ! when posting username and password in a login system and pressing submit .. the password could be detected using a packet sniffer ! which I think is a serious issue !! so how this problem could be fixed ?
  6. I want to implement the mini feeds functionality in my social network site.. ex: x wrote on the wall of y. x changed his picture .. etc.. - so I was thinking that when the user do any event (writing ,editing profile,changing picture...) to insert a record in a table called userFeeds. where there exist a description of the action done .. so what do u think about that .. any suggestions...better ideas... comments !?
  7. I think you can do that by modifying value in the php.ini (if u've privileges to do so).
  8. thx for the help..am checking the topics .. however does sessions have security exploits?
  9. which better to use for a login system ... sessions or cookies ..? and what's the pros and cons of each !?
  10. so what do u think ? does it really affect performance and speed ... 1-save 2 recrods .. or 2-resize picture "on the fly" ?
  11. I've read somewhere that it's better to do that .. instead of use php to process the pictures for you each time..especially when you've many picture to be resized per page !!
  12. create thumbnail from binary data .. I've found the function : $im = imagecreatefromstring($content); I am going to test it .. anyway thx...
  13. nop the main reason is to decrease a file size..I want to use images a a profile pictures for users.. so if files are each 40 KB !! I think this is a problem ..so I want to keep the original + the thumbnail
  14. the tutorial that I've read abt image resizing suppose that image exist in a path ex: $file='\picutre.jpg' ; however .. I've saved my images into a database ... so I want to get the image from the db then resize it save it back in a new record in my DB with the new size ... ex: "select imagedata from ...." .. $imagedata= image data from DB... so I want to resize my picture but the variable that I've is the image binary and not the path .. so how can I resize it ? and how can I get the new filesize , and filetype?
  15. if I am using shared hosting and I don't have access to php.ini ! can I still use this function ? and what this ini_set('sendmail_from',"sales@pitpro.com.au") differe from $header="from:xyz..." ?
  16. how can I when using pre to make a background color .. like in code displaying?
  17. hii am working on something like a forum.. so when user posts something like : " hiiii helloooo testing .. " the result become after posting.. " hiii helloooo testing " so spaces aren't shown at the beginning !!
  18. after editing the file ! I can't open any page error : Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.
  19. ok I'll test it .. btw "htaccess" already exists !! what's its job?
  20. thx for the replies.. magic quotes ? while reading articles I thought it's good to prevent injections ( anyway am using real_escape...) ok .. am I able to turn magic quotes off (btw am using shared hosting),if yes how ?
  21. when I've tested my site using wamp .. everything worked fine ,however when I've uploaded it to linux some problems appears .. and I'll try to post them here .. 1- I've a posting board when some1 post a topic he can edit it .. so let's say the user write the topic : " // " <--- , when he want to edit his topic , the textbox containing the edited topic changed to " ////" however this wasn't the case when testing on wamp !!
  22. my.ini ? where I can find this file ?.. could u provide me with more details plz (newb !)
  23. I've tested my website on wamp and everything's was fine .. then I uploaded it to the internet !! however I've noticed that some queries didn't work !! then I figure out that the table name must be exactly as they were written in the db ex : "Table" works and "table" error !! however what I know is sql isn't case sensitive..so is there a solution ? ! I don't want to rename all my queries !!
×
×
  • 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.