Posts by wwwjsw • 499 points
16 posts
-
0
votes1
answer45
viewsQ: Get Kotlin presets in java
Companywebclient.kt fun find(cnpj: String, success: (company: Company) -> Unit, failure: (throwable: Throwable) -> Unit, finished: () -> Unit) { val call =…
-
0
votes1
answer24
viewsQ: Trusted credentials with Facebook Javascript SDK
I have a web system in which captures the id of the Facebook user and stores it in the database for later use, currently I make the call via the SDK and the command by hidden field (low security…
-
1
votes1
answer67
viewsQ: Image upload saves only first image in database
I have the following image upload code if(isset($_POST['upload'])){ //INFO IMAGEM $file = $_FILES['img']; $numFile = count(array_filter($file['name'])); //PASTA $folder = 'upload'; if($numFile <=…
-
1
votes2
answers64
viewsA: problem when showing wordpress category
solved the problem was missing the wp_reset_query(); at the end of header.php
-
1
votes2
answers64
viewsQ: problem when showing wordpress category
I’m developing a theme for Wordpress my menu is generated as follows in header.php <li><a href="<?php echo get_option('home');?>">Início</a></li> <?php…
-
0
votes1
answer531
viewsA: wordpress does not show posts according to tag or category
the problem was solved through the administrative panel of the wordpress the permanent links were not updated, I just selected another permanent link option and everything was solved!…
-
1
votes1
answer531
viewsQ: wordpress does not show posts according to tag or category
I am developing a theme for Wordpress, and I get the error 404. I have a post with a certain category, and I can access it normally by your permalink. However when accessing via your categoria or…
-
0
votes1
answer985
viewsQ: Calling modal via url
I have a page on which there is a Modal registration, I have to call this modal from an external page, preferably by url, I would like to know if it is possible and if you can show me the way OBS:…
-
6
votes4
answers15217
viewsQ: View PHP date and time
I am trying to display the exact time with PHP in the following format. Date: YYYY-MM-DD Time: 00:00:00:000 <?php setlocale( LC_ALL, 'pt_BR', 'pt_BR.iso-8859-1', 'pt_BR.utf-8', 'portuguese' );…
-
14
votes3
answers18167
viewsQ: PDO Drivers for SQL Server
I am trying to run a PHP application (version 5.5.8) with connection to SQL Server database with PDO, but returns the following error: could not find driver I’ve tried enabling features in php.ini…
-
1
votes1
answer688
viewsQ: PHP Simple HTML DOM Parser works without id or class reference?
I want to use the PHP Simple HTML DOM Parser to remove certain links from a page generated in Frontpage the problem I found is the following as Frontpage does not generate any html element with id…
-
0
votes1
answer247
viewsA: How to insert data into mysql via ajax + php + Foundation 5
The data-reveal-ajax works simply to open a modal with content from a url or a page that makes some request it by itself is not able to make Ajax requests.
-
5
votes1
answer261
viewsQ: Reverse results of while
Is there a function in PHP that allows me to reverse the order of a result while? For example, I have the following code that checks whether a URL. <?php function url_exists($url) { $ch =…
-
0
votes2
answers68
viewsQ: file_exists to check news
Hello, I’m having problems with my code. His initial idea is to go through the server and show the links related to the news. <?php $inicio=180;…
-
1
votes1
answer362
viewsQ: change word properties in php search
personal speech, is the following I have a search script with php, I would like when it displays the result the properties of the searched word are changed(background, size, etc), for example I…
-
6
votes2
answers189
viewsQ: limit the for, php
Good is the following, I am generating pagination links to get more lightness in my system, the problem is I have many records in the database and this pagination generates many links, thus…