I need to access a SOAP service with a certificate protected by password. I’m new in PHP (with PHP 5.4 in CodeIgniter 2) and have tried some options that doesn’t work for me. I have the following …
Tag: php
Yii deleteAll() records with condition
I’ve set up a log in process where a verification code is generated, and when successful, is then removed. However, i want to make sure that if there’s multiple verification codes for the same user, …
Active Collab notify user when create, close or reopen task using API
I have created task using Active Collab API also working with close task and reopen task using API. Now if I create or close or reopen task then want to notify user but I don’t know how to do this using Active Collab API. Below is my code for create task, close task and reopen task. /* create task using
Fatal error: Call to undefined function sqlsrv_connect() using wamp php 5.5.12
I am trying to connect to a Azure data base. I have read many other stack overflow answers but they did not work for me: -I have downloaded all the drivers that Azure offers to you. They are in C:…
The uploaded file exceeds the upload_max_filesize directive in php.ini error while uploading plugin
When I tried to upload a plugin for my WordPress template in wamp 2.0 I got an error: The uploaded file exceeds the upload_max_filesize directive in php.ini How to fix this error? Answer Seeing as though you’ve mentioned WAMP, I’m going to assume you can edit the php.ini file? If you left click on…
PHP How to add plus (+) character before double quotes and words without double quotes in string [closed]
Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed 6 years ago. Improve this question I hav…
Laravel Call to undefined function IlluminateViewCompilerstoken_get_all()
I have AMPPS and just now tried installing Laravel on it using this tutorial. As soon as i created new project and tried to run it i got below error I have no idea what is this error, I am totally new to laravel. I am using AMPPS, I tried php version 5.5 and 5.6 Answer You probably don’t install
php://memory IO stream and fgetcsv()
I want to parse csv-like string so I can emulate csv and assert it into a test case. But it won’t parse into arrays. This is the output: Answer Remove the rn, not needed Your moving the pointer twice per loop, change to $parsed[] = $data
How to Display Validation Errors Next to Each Related Input Field in Laravel 5?
Default solution is trivial: and I can include errors.blade.php anywhere. Is there any way to extract each element and display it next to input field that holds the value that failed? I assume that would require me to define a lot of conditional if statements next to each input, right? How to sort this proble…
WordPress: how to hide toolbar in post editor?
I have a Custom Post Type (Products) in my WordPress web site. This is a WooCommerce Product, if it’s necessary to know. I need to hide toolbar (1) into wp-editor on Add Product page. Also I need to hide “Add media” button (2) and “Visual/Text” tabs (3). How do I hide them? Maybe…