![]() ![]() (i’ve had a lot of time i just got a 502 error because the files had the wrong owner) However in hosting or even server that are accessible to the Internet this is a need. In local testing this can really be a pain. Becasue the user running apache has to have at least read rights and some times write rights on all files in your htdocs folder. I believe the user the apache user runs as also determains the right apache has ( as in read/write). So if i’m wrong on the next bit please correct me. Now i don’t own a mac so don’t have the ability to know if this is the same as on linux but i think it on basic level is. As an example, your form data will be shown as follows in the Chrome Network tab.In the video you had a comment about the apache user box. HTTP requests are never displayed to the user (if you want to see them, you need to use tools such as the Firefox Network Monitor or the Chrome Developer Tools). How the data is sent depends on the method attribute. The server then responds, generally handling the data and loading the URL defined by the action attribute, causing a new page load (or a refresh of the existing page, if the action points to the same page). The action value should be a file on the server that can handle the incoming data, including ensuring server-side validation. The names and values of the non-file form controls are sent to the server as name=value pairs joined with ampersands. On the other hand, if the form is hosted on a secure page but you specify an insecure HTTP URL with the action attribute, all browsers display a security warning to the user each time they try to send data because the data will not be encrypted. ![]() When you do this, the data is encrypted along with the rest of the request, even if the form itself is hosted on an insecure page accessed using HTTP. Note: It's possible to specify a URL that uses the HTTPS (secure HTTP) protocol.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |