Tagged Questions
-4
votes
0answers
53 views
I've spent a month without washing, shaving or leaving my office [closed]
Can you please look over
http://www.interimspaces.co.uk
and tell me what you think.
specifically - problems and feedback.
THank you
2
votes
1answer
52 views
My login with AJAX and PHP
In your opinion, do I need to do all these validations. I thought to do well and stay safe but I seriously raises the question if it isn't slower.
jQuery code
$(document).ready(function () {
...
2
votes
1answer
46 views
Optimize Clock Update Code To Prevent Bottleneck Resulting In Time Lost
I use the following PHP Code to output the user's local time and the servers time (office time). $local_time and $remote_time are the corresponding UNIX timestamps:
<span class='icon-time' ...
2
votes
1answer
67 views
I've embedded several PHP/HTML/Javascript in one page. How can I improve on the efficiency/performance?
Just a quick preface, I'm not a web developer. I'm simply doing this as a favor for a friend. My goal is to be done with it as quickly as possible, but still not have the coding be horrendous. With ...
0
votes
1answer
105 views
Authentication system using AJAX
I'm building an authentication system using a combination of PHP, MySQL, jQuery, and AJAX. The way I'm doing it right now is I have a form that takes in a username and password. When the user clicks ...
1
vote
1answer
71 views
jquery.php plugin security optimization (backend)
This is the backend to my jquery.php plugin which handles requests to make function calls and execute PHP code that is sent in various forms. After requests are processed they're sent back to the ...
-2
votes
2answers
93 views
How do I refactor (DRY) this code? [closed]
I was hoping somebody could help me refactor my Javascript. Due to it's length (500 or so lines) I don't want to post it here. But check it out here on pastebin to let me know how I can improve it ...
2
votes
3answers
161 views
Would a plugin for calling PHP functions within JavaScript prove useful?
So basically jqueryphp is a jQuery plugin that allows you to call any PHP function within client-side JavaScript: jqueryphp@github
I wrote it as a response to projects such as PHP.JS and other ...
5
votes
0answers
169 views
My PHP AJAX bridge to jQuery library
I've been working on this library for 2 years now and using on many websites with great success. And I decided to make it public, I can assure this is the best jQuery <=> PHP bridge library there ...
2
votes
3answers
83 views
How to improve this line of code getting the json and put it to a table using jquery and php
jquery code:
$.ajax({
url: "get_attributes.php",
type: "post",
datatype: "json",
data: {wtype: red_type},
...
2
votes
2answers
435 views
Is this spaghetti code already?
I post the following code writen all by hand. Why I have the feeling that it is a western spaghetti on its own. Second, could that be written better?
<div id="form-board" class="notice" ...
2
votes
3answers
368 views
CodeIgniter AJAX messages submission security issue
I have a small social networking site built in CodeIgniter. Any registered user can send messages to others by visiting their profile.
Today I noticed that one user sent bulk messages to 200 users. ...
0
votes
1answer
82 views
How can I improve my search script? [closed]
I have this search script on my page which search through the displayed table. The table is displayed with PHP from a database. It is actually a list, and this list is sorted out alphabetically with ...
1
vote
0answers
433 views
Cubique - datagrid for Zend Framework and jQuery
Some time ago I have started a new open source project "Cubique". It's a datagrid for Zend Framework and jQuery. Currently this project has 120 commits (unfortunately all from me). Can my code and ...
4
votes
1answer
282 views
My jquery, ajax, php scripts and files, room for improvement on ajax form validation?
Ok this is my first ever attempt at ajax form validation, and everything works as expected, the final true example will hold alot more input fields than in my testing scripts which are below.
The ...