Questions tagged as 'php'

1
answer

Transmit information without going through the server

The question is simple and quick, is there any way to send data without the need for them to go through a server, for example send data from a form that user A filled out for user B in real time.     
asked by 08.02.2015 / 15:08
1
answer

Error failed: No space left on device

When reinstalling the Apache and PHP server on my machine I'm getting this error:    Warning: Unknown (): write failed: No space left on device (28) in Unknown on line 0 And if I try to run some script with session, besides this error, I...
asked by 19.02.2015 / 00:49
1
answer

PayPal receive transaction update

I am integrating the Express Checkout API, and there is a problem with updating notification for any transactions you have made. How will PayPal send me the notification? If a transaction has not been approved at this time, and after 24 hours...
asked by 29.07.2014 / 18:26
1
answer

Filtering certain elements of an XML

I have the following weather forecast report generated by a third-party API: link If you repair the structure well we have the forecast set for every 3h. <time from="2014-06-15T00:00:00" to="2014-06-15T03:00:00"> <time from="2...
asked by 15.06.2014 / 04:08
1
answer

PHP (setcookie) vs header (header)

I see some frameworks, CMS and the like, write cookies directly in PHP with setcookie and others stock to emit in headers at the end of execution. I would like to know how to create a pattern for creating cookies.    PHP     ...
asked by 30.07.2014 / 09:39
3
answers

How to make empty () accept the value 0

I have a registered where I check if the fields are filled, in some of the fields one can only put the digits 0 through 9. But if the person puts 0 of it as if it had not filled anything. This is done by checking empty() . A small sn...
asked by 24.06.2014 / 16:25
1
answer

Pass route variable to controller method

I need to pass a variable from a route to a controller method. The route: Route::get('busca/{id}', 'MatriculasController@busca'); How can I pass the id variable to the method?     
asked by 03.11.2015 / 16:35
2
answers

How to pass an array of StdClass php objects to a JS variable using $ .ajax () jquery

I have the structure below. I need to access each value in jquery. Array ( [0] => stdClass Object ( [post_id] => 140 ) [1] => stdClass Object ( [post_id] => 141 )...
asked by 20.10.2015 / 21:06
1
answer

Error connecting to php 5.5 with SQL Server

I can not make a simple conn between sql server and php !! I have already downloaded and leave the ext folder the driver according to my version of php I already mentioned them in php.ini I rebooted And when I test the conn of this erro...
asked by 28.10.2015 / 17:20
1
answer

When to use each data type of mysqli_stmt_bind_param

According to documentação :    i - corresponding variable has type integer - d - corresponding variable has type string b - corresponding variable is a blob and will be sent in   packets So I wanted to know when exactly to...
asked by 25.09.2015 / 22:18