Posts by Ricardo • 361 points
19 posts
-
0
votes1
answer445
viewsQ: Reload View Controller Swift 3
Hello, I have an app and I entered the check of connection to the internet in viewDidAppear, I wanted to know how to give a Reload on this screen when the user click in RETRY of Alert, to make the…
-
1
votes0
answers25
viewsQ: Change the name of the downloaded file using Alamofire
I’m developing an iOS app where I update downloading the JSON file with the new data, this file generated by PHP let destination = DownloadRequest.suggestedDownloadDestination(for:…
-
0
votes1
answer37
viewsQ: Pass tableview value to tabbar
Hello, I’m developing my first app and I’m having a question. I have a tableview, and I would like her indexpath.Row to be visible in the 2 viewcontroller of a tabbar, to click on a label. I tried…
-
0
votes1
answer521
viewsQ: Update database with form data without refresh
Hello, I’m making a control panel of a scoreboard, where I have a screen with all the games of the round and as the games are already previously registered on the bench, I need to update the games…
-
0
votes1
answer37
viewsQ: Login in restricted area
I have a site with a login form inside a div, that clicked opens modal. <a href='#' id='login-link'>Login</a> I have some restricted areas on the site, and I would like to display the…
-
1
votes0
answers65
viewsQ: Play running after Pause
Hello, I’m trying to run an mp3 and I’m having a problem, when I click the pause button it executes the command, but soon after it runs the Play, which can be? PLAYMUSICA.PHP <script…
-
1
votes1
answer955
viewsQ: HTML5 form validation does not work on iPhone
I have a form with validation of filling the fields HTML5 that does not work on iPhone, someone knows some option that works? <form class="register-form" action="enviar_contato" method="post">…
-
2
votes1
answer2856
viewsQ: User-friendly URL with Nginx
I would like some help from you because I did not arrive at the expected result. I am trying to create a friendly URL as below: Current URL: meusite.com.br/artista.php?id_artista=1 NEW URL:…
-
1
votes1
answer615
viewsQ: Website with audio MP3 does not touch iPhone
I have a website where I play MP3 songs when I click on PLAY. On PC it works perfectly, but on iPhone it doesn’t play. PLAY BUTTON echo "<a href='#' id='tocar-musica'> <input type='hidden'…
-
3
votes2
answers589
viewsQ: User friendly URL does not retrieve variable
I’m trying to make the Urls on my site friendly. URL friendly http://localhost/mg/artista/10 .htaccess <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{SCRIPT_FILENAME} !-f RewriteCond…
-
2
votes3
answers1132
viewsQ: Delay in loading PHP page with image
I have a PHP page that loads the 570 records in 2 seconds. The problem is that when I insert images, even small (3 KB) the charging time goes to 10 seconds. Is there any way to upload these images?…
-
4
votes1
answer958
viewsQ: Loading only appears after page loaded
I have a page with a side menu, and the contents of this menu is opened within an iframe. CSS #preloader { position: absolute; left: 0px; right: 0px; bottom: 0px; top: 0px; background: #ccc;…
-
5
votes1
answer2063
viewsQ: Pattern doesn’t allow accented character?
I have a form and am validating as follows: <input type="text" name="assunto" tabindex="5" pattern="[a-zA-Z0-9. - , ]{5,}" required> But if I type in some accented character (á, à, ã, ç) it…
-
2
votes2
answers2005
viewsQ: Detect which link was clicked
I’m trying to add a few songs to one playlist, but I can’t figure out which song was clicked to add. HTML <div class='album-musicas'> <a href='#' id='add-musica-playlist-link'…
-
0
votes1
answer262
viewsQ: How to pass variable to AJAX?
I have a screen where I list several songs and next I have an image that calls AJAX to add this song playlist. My doubt is how to pass the ID of this song to AJAX, since I can’t use the URL, because…
-
1
votes1
answer114
viewsQ: Javascript variable Undefined
I’m trying to pass a figure through a input type hidden HTML generated in PHP for Javascript, but this variable in Javascript is undefined. What can be? PHP <form name='form5' method='post'>…
-
0
votes1
answer325
viewsQ: Empty session updating only DIV
I logged in in PHP, where I validated the data via Ajax and I load a PHP page into a DIV, so I don’t have to refresh the whole page. So far so good. <?php if(!isset($_SESSION)){ session_start();…
-
0
votes1
answer2775
viewsQ: Empty PHP $_SESSION variable
I have a login problem. I save the user ID to a session variable as soon as it logs in, but this variable is becoming empty, someone knows why? PHP <?php session_start(); $username =…
-
0
votes1
answer193
viewsQ: Link does not work after <div> load
I’m making a login, using Ajax to send the data to a PHP page, which returns with the answer if the login has been validated or not. If it is ok, I update a <div> with the user data logged in…