i use paypal express checkout to sell simple benefit on my website. When i am with sandbox, it works fine. But as soon as i change for live mode with real password and signature, i get systematically this error : My buyer account is good and no problems to buy on other websites. I asked friends to try with th…
Tag: php
PHP MySql delete query
I have a delete script on my dashboard that WAS working before moving domains. ( not sure if that is relevant ) The code for my ‘deletejob.php’ is below. <?php error_reporting(0); $host = '…
Laravel : phpunit cannot open file ExampleTest.php
Hi i am quit new in Laravel PHPUnit, getting the following error : I don’t have idea why i am getting this error. I installed PHPUnit globally and when i run “phpunit” in terminal it runs fine. But I want to run it on specific file like : Thanks In Advance. Answer Make sure you are on the pr…
Can I refer to a DIV id or class in a PHP file from a HTML page?
I am trying to add my own custom contact form to a Blogger website project. I’ve got the contact form HTML code in the Blogger template and its own PHP file running on a server, which link I point to the form tag action. It sends email and both platforms seem to communicate well. Among many improvements…
WAMP 403 forbidden from external sources
I have read a ton of threads here and elsewhere but none of the suggestions have worked. I installed the latest version of WAMP 64 bit on a fresh install of Windows Server 2012 R2. I created a subdirectory within the www directory called andrew. In that is an index.html file. I added the following to the host…
printing all running session variable in laravel 5.1
How do I print all running session variable in Laravel 5.1? I want to print all the running session variable. Currently I can retrieve single running session for given value but don’t know the function for print all at one time with one function something like Answer If you just want to see contents of …
Amazon S3 presigned url – Invalidate manually or one time upload
I am using S3 to accept direct uploads from the user to S3. Therefore I will be using pre-signed urls. After successful upload, AWS Lambda will make sure that the file upload is an image, and then …
How to validate phone number in laravel 5.2? [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 2 years ago. Improve this question I wan…
Symfony2/FosUserBundle – Get the previous route before Login
I’m creating an E-commerce app and I’m building a custom redirection with the Handler. Let’s say my user is on his shopping’s cart and he is not logged. He validates his cart to continue the buying process. In this situation, My app redirect the user to the login page. But when He is f…
How to execute code continuously in javascript?
I have a HTML-file and a PHP-file. The index.php displays a value which gets transferred to the servo.php. The servo.php writes the value in a file called /dev/servoblaster. Currently the value only …