Sitening Blog Blog Archive Redirect After Form Processing After processing an html form, it is often a good idea to redirect the user to a new url, rather than just presenting the results. Consider this php example: æ²ç¤ºæ¿ãªã©ã§ããã©ã¼ã ã«å¯¾ãã¦éä¿¡ããå¾ã¯ããã®ã¾ã¾ç»é¢ã®ï¼¨ï¼´ï¼ï¼¬ãè¿ãã®ã§ã¯ãªããæ¸ãè¾¼ã¿å¦ççãè¡ã£ãå¾ãLocationçã§å¥ã®ä½ç½®ã«ãªãã¤ã¬ã¯ãããã®ãåãã¨ããè¨äºã ããå½ããåã®ãã¨ãªãã§ãããæ £ãã§ã¤ããã®ã¾ã¾ç»é¢ï¼¨ï¼´ï¼ï¼¬ãè¿ãã¦ãã人ãå¤ãã®ã§ã¯ãªãã§ããããï¼ï¼ç§ãããã§ã^^ï¼ï¼ å¥ã®ä½ç½®ã«ãªãã¤ã¬ã¯ããããã¨ã§ãæ¸ãè¾¼ã¿ç»é¢ã®ãªãã¼ãã«ããï¼
ãªãã¸ã§ã¯ãæåã¨ã¯ï¼ã·ã¹ãã ããªãã¸ã§ã¯ãï¼objectï¼ãã®ï¼ã®éåä½ã¨ãã¦ã¨ãããèãæ¹ã®ãã¨ã ãã·ã¹ãã ã®æ§æè¦ç´ ã®ä¸ã§ï¼ç®ã«è¦ãããã¼ãã¦ã¨ã¢ã ãã§ãªãï¼ç®ã«è¦ããªãã½ããã¦ã¨ã¢ï¼ããã°ã©ã ï¼ããªãã¸ã§ã¯ãã¨èããã¨ãããï¼ãªãã¸ã§ã¯ãæåã®ç¹å¾´ã§ããã ãªãã¸ã§ã¯ãã¯ï¼ã·ã¹ãã ã®é¨åï¼ã³ã³ãã¼ãã³ãï¼ã§ããã¨ãè¨ããããã¼ãã¦ã¨ã¢ãã½ããã¦ã¨ã¢ãé¨ååããã°ï¼é¨åãçµã¿åããã¦å¹ççã«ã·ã¹ãã ãéçºã§ãããããã¯ï¼èªåè»ã家é»åãªã©ã®å·¥æ¥è£½åãï¼å®éã«é¨åãçµã¿åããã¦å¹ççã«è£½é ããã¦ãããã¨ã¨åãã ã çããã®ã¤ã¡ã¼ã¸ãè¨ãã¾ããããã«ï¼ãªãã¸ã§ã¯ãæåã§ã·ã¹ãã ãå¹ççã«éçºã§ããå ·ä½ä¾ã示ãããï¼å³1[æ¡å¤§è¡¨ç¤º]ï¼ã«ç¤ºããWindowsã¢ããªã±ã¼ã·ã§ã³ã¯ï¼ã¦ã¤ã³ãã¦ã®åå°ã¨ãªããã©ã¼ã ï¼ãã¼å ¥åãåãåãããã¹ãã»ããã¯ã¹ï¼ãã¦ã¹ã»ã¯ãªãã¯ãåãåããã¿ã³ãªã©ã®ãªãã¸ã§
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}