Panjabel
Members-
Posts
66 -
Joined
-
Last visited
Never
Everything posted by Panjabel
-
many thanks !!!
-
if password is incorect "fi" function ask to enter password again. in your example it doesn't ask for password again
-
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
-
Well, if it exists, not to print it, if it doesn't exists, to print it. it is posible ?Thanks
-
<?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
-
thanks a lot
-
<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> ??? ??? ??? ???
-
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
-
$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 ?
-
thanks, you saved my day
-
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
-
Hello, how can i make a script to continue running even if there appear an error ?
-
Hi, i want to make a script that after the page is full loaded, to scroll down 3 <br>'s is it posible ? thanks
-
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 ?
-
works perfectly many thanks
-
if the file is "file.na.me.jpg" it will print "filename" not "file.na.me" please help
-
thanks for tips but if the file name is "file.na.me.gif" ?
-
$string = "filename.jpg"; how do i get the filename without extension ? i want to print "filename" thanks
-
doesn't work
-
Hello i have table members with many users and comments i want to select unique users and order them by number of comments select distinct(userid) from members order by count(comments) desc the command will display the same users many times, not unique users. what's wrong in the query ?
-
if ($_GET['where']!="usa" || $_GET['seeking']!="uk") { print "ok"; } else print "no"; doesn't work too
-
if ($_GET['where']!="usa") || ($_GET['seeking']!="uk") { print "ok"; } else print "no"; got error: Parse error: syntax error, unexpected T_BOOLEAN_OR in test.php on line 20
-
doesn't work too i tried !- doesn't work in no way please help