Questions tagged as 'php'

1
answer

Browse third-party pages

Problem: Query a page on another site, passing parameters via POST and getting the result in PHP. I have the following website:    link In the console when a search is done the following parameters appear: EDR Inicio...
asked by 25.02.2015 / 17:47
4
answers

External Connection JSON WebService

I have a webservice in PHP feeding data from a array via JSON , to read in an HTML file. When I run the application having $.get with a local file it works, but when I change the path to read the same file on my server, it...
asked by 02.07.2014 / 02:35
1
answer

Ajax returns error after modifying htaccess

I've modified the .htaccess with a rule for the url to be passed as a GET parameter and I treat everything in index.php : Options +FollowSymLinks RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAM...
asked by 27.02.2014 / 23:27
1
answer

Does anyone know how to connect oracle in codeigniter? [closed]

I can not connect to codeigniter in oracle. Displays this error: A PHP Error was encountered Severity: Notice Message: Use of undefined constant OCI_COMMIT_ON_SUCCESS - assumed 'OCI_COMMIT_ON_SUCCESS' Filename: database/DB.php Line N...
asked by 20.02.2014 / 00:39
2
answers

How to access dropdonw value without refresh

Is there a way to get the value of the selected option from my select, on the same page, without sending the form, when the user makes a change? <select id="s_um" name="s_um"> <option id="um_1" value="0"> 0 </opt...
asked by 19.01.2016 / 13:20
1
answer

Check checkbox data that has variable names

I have a routine in PHP that generates a list with ten to fifteen names, and together with each name generates a checkbox that should be checked in case there is a lack of work for that name, if there is no lack of work the box does not is marke...
asked by 26.01.2016 / 20:06
1
answer

How to use the Google Analytics API?

The examples, the registration in the Google Developers Console, I find everything very involved. How to create a "simple" Hello Analytics in PHP?     
asked by 25.03.2014 / 18:50
1
answer

URL friendly with Boilerplate

I'm using Boilerplate to have a base template for use. But I'm trying to use friendly URLs in it, but I can not .. I've tried several codes, the latest is this: RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f Rew...
asked by 22.03.2014 / 18:06
2
answers

How to use PHP LogicException?

I'm studying error handling in PHP, and I already know how to use Exception , but I was in doubt about LogicException , what is the purpose of it? And how to use it correctly?     
asked by 21.03.2014 / 16:14
1
answer

Query displaying less result than actually exists in export

I have set a query with a list resulting from a selection of checkbox made by the user, the list is with the correct values, as selected, but when checking the content of the result after query in banco de dados , it is alway...
asked by 20.01.2016 / 14:58