Jump to content

Panjabel

Members
  • Posts

    66
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Panjabel's Achievements

Member

Member (2/5)

0

Reputation

  1. if password is incorect "fi" function ask to enter password again. in your example it doesn't ask for password again
  2. Hi i need help with this read -p "Enter a password" pass if test "$pass" = "jerry" then echo "Password verified." else echo "Access denied." fi fi works in unix only. Is there an alternative for windows ? Thanks in advance
  3. Well, if it exists, not to print it, if it doesn't exists, to print it. it is posible ?Thanks
  4. <?php $list1 = array("cv1","cv2","cv3"); $list2 = array("cv1s","cv2","cv3d"); foreach($list1 as $list) { //if $list exists in array $list2 i want to print it, else not to print it } ?> I've searched for this but i found, if i'm searching for "cv1" in "cv1" it finds it but if i'm searching for "cv1" in "cv1s" it doesn't Thanks in advance
  5. <script language="javascript"> function validate(){ if (document.myform.ss1.value == "") { alert("empty field"); return false; } </script> <form name="myform" method="post" onsubmit="return validate()"> <input type="text" name="ss1" id="ss1"> <input type="submit" value="submit"> </form> ??? ??? ??? ???
  6. I have an upload script. Sometimes it works but sometimes i get this error: PHP Warning: ftp_login() expects parameter 1 to be resource, boolean given in /tmp/oke/s.php on line 47 How can i solve it ? first times it works, but after 3-4 logins i get that error, then i have to wait for a minute to try again
  7. $page = file_get_contents("http://mama-mia.com"); print $page; the problem is, sometimes it prints the page, if i refresh the page, sometimes it prints some times doesn't anyone know why sometimes it doesn't print ?
  8. Hello, $ok = array(); array_push($ok, "value1"); foreach($ok as $value) { array_push($ok, "value2"); print $value; } // it won't print "value2" i want the script to read all values from array, in case there will be added a new value, to read it at the end and so on until there is no more values to read, Thanks
  9. Hello, how can i make a script to continue running even if there appear an error ?
  10. Hi, i want to make a script that after the page is full loaded, to scroll down 3 <br>'s is it posible ? thanks
  11. I want to make a script to select text like here: http://www.ea.com/nfs/prostreet/locale_selection.jsp anyone can help me please ?
×
×
  • 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.