Recent content by franc

  1. F

    Two Dimensional Arrays - PHP?

    Alright I have a little trouble with this array. Let me write the code and explain. <?php $fruits = array("S" => array("8am" => "Orange", "1pm" => "Apple", "6pm" => "Banana", "9pm" => "Mango"), "M" =>...
  2. F

    Help me create a php script that uses cookies!?

    I don't mean to be impolite but don't tell me cookies are not safe. Having said that I wanna create a php script that takes form data and then checks if the form is valid and whether the user has ever downloaded software in the last 20 days . And if the user has not downloaded software in the...
  3. F

    PHP Cookies - Please help?

    hi I want to write a php script that uses cookies to allow users to only download software from my site once in 30 days. The users must register their name and email before downloading this software.
  4. F

    Blocking Ip address using php?

    Hi Everyone, You know i want to know ho w do i block IP addresses using php. In my case i wanna block all IP addresses starting with 202. I have tried using the following code but to no success <?php // blocking users whose IP Addresses start with 202. $block = array("202.*.*.*"); if...
  5. F

    Help Multidimensional array PHP?

    <?php $daily_acts = array("S" =>array([act1] => Pushup, [act2] => Roadwork, [act3] => weightlifting, [act4] => swimming, [act5] => punchingbag, [act6] => aerobics, [act7] => bicepswork, [act8] => bicycleexercise, [act9] = > cardiacworkout), "M" =>array([act1] => Pushup, [act2] => Roadwork...
  6. F

    Help me with PHP multidimensional array?

    <?php $daily_acts = array("S" =>array([act1] => Pushup, [act2] => Roadwork, [act3] => weightlifting, [act4] => swimming, [act5] => punchingbag...
  7. F

    Help me with PHP multidimensional array?

    <?php $daily_acts = array("S" =>array([act1] => Pushup, [act2] => Roadwork, [act3] => weightlifting, [act4] => swimming, [act5] => punchingbag...
  8. F

    Blocking Ip address using php?

    Hi Everyone, You know i want to know ho w do i block IP addresses using php. In my case i wanna block all IP addresses starting with 202. I have tried using the following code but to no success <?php // blocking users whose IP Addresses start with 202. $block = array("202.*.*.*"); if...
Back
Top