Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ウィンドウサイズが定義されているphpコードが必要です。サイズがtrueの場合、別のページにリダイレクトしない場合はページを実行します。iframe を使用してウィンドウ サイズを管理します。phpで可能ですか?そうでない場合は、別の方法があります。
PHP はウィンドウ サイズを認識できない可能性があります。
これは JavaScript のタスクです。
JS でウィンドウ サイズを取得する例