![]() |
# 1 |
Winner
|
כתובת בעברית
אהלן,
יש לי לדוגמה את הקוד הבא: http://badcompany.co.il/test/search.php search.php קוד:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="rtl"> <head> <title>ניסיון</title> <meta http-equiv="Content-Language" content="he" /> <meta http-equiv="Content-Type" content="text/html; charset=Windows-1255" /> </head> <body> <form action="result.php" method="GET"> <input type="text" name="words" size="53" /> <input type="submit" value=" בצע חיפוש " /> </forn> </body> </html> result.php קוד:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="rtl"> <head> <title>ניסיון</title> <meta http-equiv="Content-Language" content="he" /> <meta http-equiv="Content-Type" content="text/html; charset=Windows-1255" /> </head> <body> <?php $words = $_GET['words']; echo $words; ?> </body> </html> מה שאני כותב, הוא מציג אותו על הדף ומשנה את הכתובת בהתאם לנכתב. לדוגמה ואני כותב lost, הוא משנה את הכתובת ל: http://badcompany.co.il/test/result.php?words=lost עם הכיתוב lost. אבל אם אני כותב אבודים, הוא משנה את הכתובת ל: http://badcompany.co.il/test/result.php?words=%E0%E1%E5%E3%E9%ED ועם הכיתוב אבודים. איך ניתן לתקן את הכתובת? שבמקום %E9%ED.. תוצא המילה "אבודים". תודה לעוזרים ![]() Last edited by Insane; 16-10-10 at 22:26.. |
![]() |
![]() |
# 2 |
חסום
|
מציג לי אבודים בסדר גמור!
בPHP תעשה Header של שפה עברית |
![]() |
![]() |
# 3 |
Winner
|
ערכתי את הדף, עם יותר פרטים על הבעיה.
|
![]() |
![]() |
חברים פעילים הצופים באשכול זה: 1 (0 חברים ו- 1 אורחים) | |
|
|