Jump to content

hassank1

Members
  • Posts

    239
  • Joined

  • Last visited

Everything posted by hassank1

  1. gr8 .. thx for the info .. btw do u know a site or a tutorial to learn more about how to do that ?
  2. is there any method .. script .. addon etc... I can use to create a page in my site that contains you tube vids .. and this page be up2date with you tube vids automatically .. ?!
  3. Okay I got your point about the same number issue ... but what's the realtion between "microtime()*30000" and the "short while" I mean what this code do exactly ? thx..
  4. what's the purpose of using : microtime()*30000; ??
  5. Hi I want to add to my site (forget your password?) link .. where users can reset their password after receiving a reset email .. but I want to know what's the algorithm to do that ?
  6. yes I totally agree .. but what if user inject scripts tags into the text editor ex : " <script> //an unallowed script code </script> ... etc...
  7. thx for both of u .. well the problem that if I used an advanced text editor .. ( that doesn't use bbcode ) .. it would be difficult to transfer the contents of the textbox into bbcode ... right ? btw I've a function bbcode2html($text) ... so would it be easy to convert if I used it ?
  8. hi I am working on a system (like a forum) however .. I was wondering can I find an already made (text editor) like the one I am currently wrting on with the above buttons (bold , italic etc...) and in what language they usually program it ?
  9. thanks for both for you .. I've never used cron b4 .. how can use it to execute the script !
  10. I want when ppl register in my site to get an activation email .. 1- I want to implement such an activation system .. but what's the alogrithm behind it .. 2 - and another thing .. I want to delete the users who didn't activate within a 24 hours .. so my question is where should I put the delete query ... (loginpage,main , .. ?? )
  11. hassank1

    why ?

    when I send an email " from: webmaster <webmaster@mydomainxx.xxx> , it arrive to inbox however when I send it from: somethingelse <somethingelse@mydomainxx.xxx> it arrives to junk so why is that ? .. (btw I've created a mail account for both emails in my domain account)
  12. hehehe !! looooool .. well am a programmer .. :D !!! but my question was from a webmaster prespective .. I can write the script no problem .. but I was just asking if this is the method site owners usually use .. because I've heard abt something called "phplist" or something .. one more thing .. shoud I use the bcc field .. or the "to" and send an email to each user !! because sometimes the bcc fileds doesn't work :S and what should be the time between each msg ...
  13. Hi I am working on a site where ppl can register.. so I just want to know .. if u want to send an email to all members do u use a php script to get the emails then u sent the msg .. or is there applications or script that do that ? .. as a webmasters how u do that ?
  14. yeah it could be useful ... however about the previous function .. something like that will work right ? $_GET=cleandata($_GET) ?
  15. I was thinking that instead of real escaping $_GET and $_POST each time manually.it's better to create a function that will be placed in (ex: global.php [called on each page]) which will contains a function that takes the $_POST and/or $_GET elements (if any) and real_escape_string them .. so is this a good idea or does it have disadvantages ? and would u please help to implement this function that will loop every element and real_escape it .. thx..
  16. if the date will increment let's say 1 day after adding X hours .. the mysql engine will handle that automatically right ?
  17. Ok thx .. I'll check them out .. what about the date that's already been saved according to the server time.. is there a SQL query to alter the date fields so the date will increase an X number of hours ?
  18. the date/time saved in my database depends on the server time zone .. how can I when I fetch the saved Date from my DB to convert it to a different timezone before "echo" it ..
  19. I've tried different time zones !! however am still getting the date according to the server timezone !
  20. man I know what packet sniffing is !! and if I didn't try to sniff my network for testing I was not going to ask this question !!
  21. that's what am trying to do ..
×
×
  • 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.