Questions tagged as 'php'

1
answer

List printers on the network with PHP

I need all the printers on the network to be listed in my application for the purpose of configuring it, but until then I'm finding it difficult to do so. In principle I'm using Windows on the application server, but I think of using Linux over...
asked by 05.04.2017 / 19:24
1
answer

Php - List products by category

I'm trying to create a product view by category. I can not find the error. Notice: Undefined variable: id in C: \ Bitnami \ wampstack-5.6.19-0 \ apache2 \ htdocs \ marriage \ choice-products.php on line 131 Warning: mysqli_fetch_assoc () expe...
asked by 04.04.2017 / 01:45
1
answer

Problems defining url string whose query string parameter contains the dollar sign ($)

I'm using a WS API in JSON the URL is https://api.movidesk.com/public/v1/persons?token=52ee6ca5-8639-422b-bafe-470013c11176&$filter=profileType eq 2 which is the example in which the API documentation passes. when playing in the brow...
asked by 18.04.2017 / 22:33
1
answer

Create new PDF from existing PDF with PHP

I have a project that I need to add header / footer / watermark, dynamically in existing PDF files, through the PHP language. I've researched a lot and still can not find a way to do this. Is it possible to edit existing PDFs in PHP and ad...
asked by 07.01.2016 / 11:31
1
answer

How to resolve error Uninitialized string offset: 0 in

I'm using PHP Phreeze to create a CRUD application but I'm getting the following message when generating the application, the message is this:    Uninitialized string offset: 0 in modifier.lcfirst.php at line 16 The page that has the code...
asked by 08.12.2015 / 14:31
2
answers

Format date and monetary value to save to the database

I'm extracting data from a .xlsx file. converting them to .csv and displaying on the screen. So far so good, however, I want to play this data in a database using PHP, but for this I need to convert the data, because the way they a...
asked by 15.12.2015 / 21:49
2
answers

Android, how to do security in JSON?

Use Volley to do POST request to a url that returns user data ... But to see this data, creating a simple html form with action set for the url 192.168.0.101/project/user.php. Hi, I have a JSON application that I want to use. NOTE: I used header...
asked by 29.08.2016 / 03:52
3
answers

Execute a SELECT JOIN with condition for different tables

I'm doing a ticket system where I have the message table for every ticket . This message can be sent either by an administrator or by the user who opened ticket . With this, I have the problem of getting the user name, be i...
asked by 26.08.2016 / 15:25
1
answer

Watermark on image in laravel 5.2

Hello, does anyone know how I could do that every image that is uploaded in laravel has a watermark? The image is sent by a form and through $request->file('img') in the controller I add in the folder and the name of the image in...
asked by 01.09.2016 / 07:39
1
answer

Release Input when you click Select

Hello, I have a question in my code. I need to click on a Select to display fields for entries. For example: <form role="form" class="form-horizontal"> <div class="form-group"> &l...
asked by 30.08.2016 / 03:52