Jump to content

mostafatalebi

Members
  • Posts

    200
  • Joined

  • Last visited

Posts posted by mostafatalebi

  1. 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

  2. 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.

  3. 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;
    
     

     

     

  4. 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

  5. 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.

  6. 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

  7. 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 "$"?

×
×
  • 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.