-
Posts
200 -
Joined
-
Last visited
Posts posted by mostafatalebi
-
-
permission? A SESSION checking. But it works, because when I go to an authenticated page, it redirects properly to the login page. But I understand the changes only by seeing the url bar. because the page appear empty. very strange
-
Hello I have a complete website, that runs all well and smoothly on my local server (WAMP). But as I upload it onto my Web Server (Cpanel), it does not work.
the problem is that, when I enter a certain url of one of my page, the page shows as blank. not content, no title etc is fetched. When I enter the domain, it is again blank. No error, no warning etc. What shall I do? what is the problem> Rather, when I go to one of my sub-directories web-pages, it works well. This is confusing.
-
getimagesize is only for images. I need some documents to be checked, such as word, excel, pdf and so on.
-
what's the problem with $_FILES[name][type] ?
-
Hello everybody
I have a file-upload form. I dont know how to match file-type/mime-type. Using FILE_EXTENSION, I heard it is absolutely vulnerable to hacking. I'm confused how to handle it...! Please help me.
Thanks in advance
-
I found the problem. It was solved when i explicitly declared border properties. 2px red solid
-
Hello everybody
I have written a CSS style which works in chrome, safari and firefox but not its direction property does not work in Opera. what's the problem?
Here is the code:
float:left; background-color:#666; width: 520px; height: auto; margin-left: 5px; line-height: 30px; background: linear-gradient(to bottom, #333, #0F0F0F); /* for firefox 3.6+ */ background: -webkit-gradient(linear, left top, left bottom, from(#333), to(#0F0F0F)); background: -moz-linear-gradient(top, #333, #0F0F0F); /* for firefox 3.6+ */ -moz-border-radius: 20px; -webkit-border-radius: 20px; border-radius: 20px; background-position: top; border: solid 2px #999; margin-bottom: 15px; font-family: Tahoma, Geneva, sans-serif; color: #F60; font-weight: bold; direction: rtl; /* =====================>>>>>>>>>>>>>>>>>>>>>>> HERE IS THE ISSUE */ text-align: justify; padding-top: 15px; padding-right: 15px; padding-bottom: 150px; padding-left: 15px;
-
Yes it is a class/framework for encrypting passwords.
-
Hello
Can anybody give me a guide on Password-workflow for phpass?
thanks
-
Hello everybody
I have a super simple question
I do a math operation (division) which result (naturally) in a long decimal trail. I need only one decimal. Example: 1.5 or 2.6 and not 3.08 or 5.457874.
Thanks in advance
-
/^((?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?!.*\s))$/
-
Hello
I need a regexp for best password stength. I have seen on the net, but they don't need my requirements. I need the regexp to have the following criteria:
It only account for passwords with more than 14 characters.
ONLY and ONLY passwords that have blank space (\s) in them.
surely there has to be: sign, UPPERCASE, LOWERCASE and number.
I have regexp for all strength level bad, weak, good, not enough and I ONLY need regexp for strength level "best". Thanks in advance
-
Hey buddy just add one line on top of your line, below session_start(); in your case just go to topmost, since you do not have session_start()
error_reporting(E_ERROR | E_WARNING | E_PARSE);
if you change E_WARNING to E_NOTICE or add E_NOTICE then you will receive Notices.
-
I do the same counting. But this counting must have an identifier to work properly. That identifier couldn't be $_SESSION['username'], but has to be an IP Address
-
I need to block ip addresses when they enter their user and pass wrongly for 5 times. Is using $_SERVER["REMOTE_ADDR"] enough to handle it?
-
Just echo $passReg if you really want to see it.
I did buddy. nothing happened
-
Sorry I found your function but would it be possible for you to post it as a clear string here? regexp I mean. Thanks
-
thanks. comprehensive reply
-
Hello
I have two requests buddies:
1- I have a regular expression that I have downloaded from the net(source). This would check for the most strong password. Here is the regexp:
/^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?!.*\s).*$/;
But I need to add a number to above regexp so that only passwords with more than 14 characters be considered as best. So i think i need something like {14,}, but I don't know where to put it.
2- Please check if this regexp is really complete for using as best password. Thanks
-
Hello
I have a very simple question.
Is allowing passwords with space inside, problematic?
-
No. I mean the former. 09 and not 0 or 9.
I have also another problem. How can I add the length limitation on it? There MUST be ONLY AND ONLY 11 characters of number and not more or less. this is true true format.
-
Hello everybody
I need mobile number validation. Number "09" is fixed at the beginning. And it is followed by other numbers from 0 to 9.
When I use this reg exp: "/^([09]+[0-9])$/" It fails
But when I use this one: "/^([09]+[0-9])/" it works
What's the problem? Is it okay to use it without "$"?
-
Thanks
-
What about my question. does increasing the length of password make it more secure?
Website does not show up
in Apache HTTP Server
Posted
I'll check it now