ABA


"עיזרו לי, בראיון עבודה נתנו את השאלות הבאות:"
גירסת הדפסה        
קבוצות דיון בניית אתרים נושא #14899 מנהל    סגן המנהל    מפקח   Winner    צל"ש   מומחה  
אשכול מספר 14899
MoonHunter
חבר מתאריך 1.8.02
680 הודעות
   00:16   18.03.09   
אל הפורום  
  עיזרו לי, בראיון עבודה נתנו את השאלות הבאות:  
 
   ערכתי לאחרונה בתאריך 18.03.09 בשעה 00:21 בברכה, MoonHunter
 
1.This script doesn't work when $test and $check are not equal. What's wrong with this code?


$check = "test";
$check .= $filename;
if ($test == $check){
print("You have already voted. Thank you.");
} else {
$rated = "test";
$rated .= $filename;
setcookie(test, $rated, time()+86400)
print("You haven't voted before so I recorded your vote");
}


2. We have a place where users can create a username of up to 6 alphanumeric characters long. We check that the name they've chosen meets our requirements before we save the username into the database. The thing is, not all of our users use ASCII characters in their native languages, and we want to let them use characters which are meaningful to them. How can we write this regular expression so that it is internationalized?


$pattern = '/{1,6}/';
preg_match($pattern, $username);

3.Write a regular expression that will find all the names of people in a specific document. The names may be first and last; first, middle and last; first, middle initial and last; or title (ie Mrs.) and last.

Use perl (preg) style regular expressions.


אשמח לעזרתכם, אני מניח שהשעה משפיעה עליי ועל התוצאות שלי.
אני מאוד מקווה שהחברה שווה את 30 השאלות שהם שאלו אותי.

תודה לעוזרים


                                שתף        
מכתב זה והנלווה אליו, על אחריות ועל דעת הכותב בלבד

  האשכול     מחבר     תאריך כתיבה     מספר  
  אשמח לעזרה רק על שאלה 3, כל השאר כבר לא רלוונטי. MoonHunter 18.03.09 15:19 1

       
MoonHunter
חבר מתאריך 1.8.02
680 הודעות
   15:19   18.03.09   
אל הפורום  
  1. אשמח לעזרה רק על שאלה 3, כל השאר כבר לא רלוונטי.  
בתגובה להודעה מספר 0
 
  


                                                         (ניהול: מחק תגובה)
מכתב זה והנלווה אליו, על אחריות ועל דעת הכותב בלבד

תגובה מהירה  למכתב מספר: 
 
___________________________________________________________________

___________________________________________________________________
למנהלים:  נעל | תייק בארכיון | מחק | העבר לפורום אחר | מחק תגובות | עגן אשכול
       



© כל הזכויות שמורות ל-רוטר.נט בע"מ rotter.net