hassank1
Members-
Posts
239 -
Joined
-
Last visited
Everything posted by hassank1
-
what's a lolcat !!
-
gr8 .. thx for the info .. btw do u know a site or a tutorial to learn more about how to do that ?
-
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 .. ?!
-
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..
-
what's the purpose of using : microtime()*30000; ??
-
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 ?
-
yes I totally agree .. but what if user inject scripts tags into the text editor ex : " <script> //an unallowed script code </script> ... etc...
-
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 ?
-
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 ?
-
thanks for both for you .. I've never used cron b4 .. how can use it to execute the script !
-
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 , .. ?? )
-
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)
-
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 ...
-
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 ?
-
a function to real escape $_GET and $_POST !?
hassank1 replied to hassank1's topic in PHP Coding Help
yeah it could be useful ... however about the previous function .. something like that will work right ? $_GET=cleandata($_GET) ? -
a function to real escape $_GET and $_POST !?
hassank1 replied to hassank1's topic in PHP Coding Help
that what I was looking for .. thx -
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..
-
if the date will increment let's say 1 day after adding X hours .. the mysql engine will handle that automatically right ?
-
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 ?
-
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 ..
-
I've tried different time zones !! however am still getting the date according to the server timezone !
-
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 !!
-
that's what am trying to do ..
-
hosting company