Posts by Luiz Henrique Esper • 71 points
5 posts
-
-1
votes1
answer102
viewsQ: How to create a container component from other components
Good afternoon! I’m trying to create a component that contains Ivs that stylize the components inside. Only there are 3 Ivs and I don’t want to replicate them every time I go to use, so I thought of…
-
1
votes1
answer1776
viewsA: Problem with CORS in React application
Problem solved. I added a . htaccess on my apache server allowing CORS. Remembering that I’m using only for development, it’s probably not a safe alternative. Follow the content added in . htaccess…
-
1
votes1
answer1776
viewsQ: Problem with CORS in React application
I have an application that requests a JSON via Xios. It follows the function axios.get("http://localhost/teste.json") .then((res) => { this.setState({value: res.data.tgt.screenPosX})…
-
1
votes1
answer1470
viewsQ: Find content within two html tags - Regex
I have an HTML page in a string variable. I need to search inside the H2 tags of every document if there is the word "Blog". I’m using the pregmatch but I can’t create the expression to find. You…
-
4
votes1
answer2784
viewsQ: How to get HTML code from a page with PHP?
I’m in a project where I need to get the HTML of a particular page on the web in order to check the HTML content of that page. Could what path I can follow to do such action in PHP? I’m currently…
phpasked Luiz Henrique Esper 71