Posts by Rafael • 435 points
11 posts
-
2
votes3
answers471
viewsQ: How to make webservice run without user interaction?
So guys, I’m looking to create a PHP webservice that will do everything through another webservice (by its API). It will check if you have any message having, it processes and returns an appropriate…
-
0
votes2
answers291
views -
6
votes3
answers3224
viewsQ: How big is the line break?
Hi, I was wondering if there is a default size for line breaking in HTML (<br>), whether it depends on the size of the font being used and how to change it.
-
6
votes1
answer143
viewsA: php newsletter (email with empty fields)
Missing attribute name in its inputs. <input type="text" class="text" value="Nome" name="Nome"> <input type="text" class="text" value="Email" name="Email"> Not to mention php you replace…
-
1
votes0
answers260
viewsQ: Dynamically created content over dynamically created content not working
Hello, I have a "static" page (between quotes pq it is dynamically generated by PHP, but let’s say static in the eyes of Javascript) and I’m trying to create it dynamically, because it will become a…
-
6
votes2
answers917
viewsA: How to insert an image by parameter in the url and display it on the screen
if (isset($_REQUEST['url_da_imagem'])) { echo '<img src="'.$_REQUEST['url_da_imagem'].'">'; } In place of $_REQUESTyou can use $_GET, is that $_REQUEST works for both GET and POST, so if you…
-
2
votes2
answers7140
viewsA: How do I access a website as an app?
If you already have a responsive website, it makes no sense to create an app that just shows you as if it wasn’t a website. The intention to create a mobile app for your site (that will not add any…
-
3
votes2
answers198
viewsQ: Can I access a variable (not array) in PHP using index 0 as if it were an array?
The case is this, I have a function that if something happens it creates a array with n numbers ($x[n]) and if another happens it stores in a common variable with the same name ($x). I know I can…
-
1
votes1
answer192
viewsQ: What’s the best way to add a dynamic banner to another site?
The situation is, I’m developing a system where users can create dynamic and customized banners with our products and display on their websites. The data of each created banner is in our database.…
-
1
votes3
answers71
viewsA: .length locks all the code
I found the mistake. I am posting as an answer because I asked the question as a guest and when completing my registration I can no longer comment on the question because it no longer appears as…
-
1
votes3
answers71
viewsQ: .length locks all the code
I need to know if the user is logged in through Javascript (jQuery) to run some commands (purely aesthetic). The quickest alternative I could find was to create a hidden input that is only placed on…