我正在使用PHP C:\Users\משתמש>pip install win32gui
Collecting win32gui
Using cached https://files.pythonhosted.org/packages/b8/75/7bed82934e51903f9d48b26b3996161bb2dce1731607b4bb7fd26003ed3e/win32gui-221.5.tar.gz
Installing build dependencies ... done
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "c:\temp\pip-install-ycidig8u\win32gui\setup.py", line 27, in <module>
from win32.distutils.gui import win32gui_build_ext
File "c:\temp\pip-install-ycidig8u\win32gui\win32\distutils\gui.py", line 6, in <module>
from .command import win32_build_ext
ModuleNotFoundError: No module named 'win32.distutils.command'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in c:\temp\pip-install-ycidig8u\win32gui\
创建一个简单的表单,该表单将提交给自己;
home.php
但是<form action="home.php" method="post" enctype="multipart/form-data" id="AddImageForm">
是从home.php
文件(如下)中调用的,因此当我提交表单并调用同一页面时,它缺少页眉和页脚。
index.php
有没有办法解决这个问题?
答案 0 :(得分:1)
将其提交给index.php吗?
<form action="/" method="post" enctype="multipart/form-data" id="AddImageForm">
或者您想要的是index.php的完整路径
<form action="index.php" method="post" enctype="multipart/form-data" id="AddImageForm">
答案 1 :(得分:0)
是,将其提交给Racine,无价值。
<form action="" method="post" enctype="multipart/form-data" id="AddImageForm">
然后将作业放入home.php(在内部验证!empty($ _ POST))