Questions tagged as 'php'

1
answer

Scale image and hidden caption with jquery and css3

I have a problem with image zoom and hide the caption of my own, in the hover of the image I increase the scale of it in the css, already in the jquery I hide the legend, but when climbing, the images next to it I already tried to change the z-i...
asked by 17.12.2018 / 18:30
2
answers

Problems with PHPMailer and large emails

I have a problem sending an application email. I've already tried PEAR_Mail in conjunction with PEAR_Mail_Mime and now with PHPMailer (which I found to be more readable). What's happening? When I send out an email a...
asked by 17.06.2014 / 16:45
2
answers

Implementation AngularJS consuming data provided by Laravel using CORS

I'm trying to create a web service in Laravel 4, which will be consumed by a mobile application using AngularJS. When I make AJAX requests with AngularJS, it gives Cross Domain error because it is in another domain. How to solve?     
asked by 16.12.2013 / 12:07
1
answer

How to pass the PDO to other objects in MVC OOP application

I'm developing a small framework for learning purposes, and one of the ways I found to pass the PDO object to be used in controllers / models was to use the following approach:    The constructor method of the parent Controller receives a PDO...
asked by 19.10.2018 / 04:02
1
answer

How to add billing fields on the Woocommerce edit-account page! (Wordpress)

Personal how can I add fields that are already default to woocommerce on my account page? I tried it like this: but do not aim at the expected result. add_action( 'woocommerce_edit_account_form', 'add_fields_to_edit_account_form'); function ad...
asked by 24.10.2018 / 15:03
1
answer

Log out when browser close or session ends [duplicate]

I'm developing a system that stores in the database when user logs in and out. However, the logout function is only called when the user clicks exit. I would like to know if you can call the logout function when the browser closes or the se...
asked by 16.10.2018 / 21:00
1
answer

Is it possible to use String and Hash Query at the same time?

I'm developing a single-page site using hash's html to scroll the page to the specified id, but I've also had to use a query string with php , but now whenever I try to use the two does not work. The page does not stay in the part t...
asked by 30.01.2014 / 20:07
1
answer

Generate single pages for customer to make payment

I have a system where the client types 5 parameters and clicking send is directed to another page where the information filled in the previous screen is posted. But today, this landing page is always the same. What I need is that every time...
asked by 19.06.2014 / 03:44
3
answers

Remote PHP access with Ajax - Return is the PHP code itself

I have a system as below: Client-side HTML, JavaScript, and PHP on the server side. The idea is to have a kind of WebService, where an HTML page (it has to be HTML because it will run in an HTML5-based app with Intel XDK) requests information fo...
asked by 24.06.2014 / 23:59
1
answer

Auto sum system where those that were not clicked are added and zeros where I click

I'm trying to do the following: the screen has to appear from 0 to 36, by the time I click on any of the numbers the value in front of it has to zero. And at the same time in front of all other numbers add +1 to the value you are. And so on with...
asked by 24.06.2014 / 04:37