Access a local PHP variable is faster that access a session PHP variable ?
This is justa a performance question. What is faster, access a local PHP variable or try to access to session variable? ...
This is justa a performance question. What is faster, access a local PHP variable or try to access to session variable? ...
I'm trying to make the move into version control, as my projects are getting larger. Currently my development goes something like this: I have the "live" version hosted online I have a local version, as well as a local webserver I edit the local version and do testing on my local webserver Finally, I'll run Unison which updates the liv...
Here are my criterias: I'd prefer something with a configurable, polished and preferaby embeddable user interface. Black and white editing (black lines on white canvas) is fine for my purposes. Cross-browser compatibility would be nice. I would rather not use Flash. Text editing is a must (changing font type and size). I'm not look...
If I am not wrong, multiple download can only accomplish by zipping file together. What so special about multiple download compare to multiple upload? ...
I want a customized home page for each user of my site. I was thinking it might be best to have a master page with place holders (for name, default image, ect) and have the site pull the data from the db on page load. Is this better than storing the web pages for each user? I understand it might not be as simple as I stated. I am just t...
Do you know a framework in Python which is similar to the Spring MVC java framework? What I'd love to have is that magic Converters that get, say, a movie_id from the request url and automatically fetch the Movie from you database and call a method of yours passing the object. If you have used Spring MVC you might understand what I mea...
Hey All, What's the best, free JavaScript library to work with time and date fields in a JSP project? Here are my needs: Formatting should be customizable. For a date field, a date picker popup would be a plus. Does not allow the user to enter invalid characters, much like the time field in Windows clock. Does not depend on jQuery. N...
I'd like to add support for keyboard shortcuts to a couple of pages in my web application by intercepting the keypress event handler of the document object, not the accesskey attribute. The problem is that every browser has its own keyboard combinations, so it's impossible to come up with a set of keyboard combinations that work on all ...
In javascript or jquery I need to add an alert when the user clicks on the browser back button that has an ok/cancel button model, but instead of "Ok" it should say Leave and instead of Cancel it should say Stay. Thanks ...
I am trying to attempt my first Google Chrome Extension and have a question. My end goal is to be able to select a button which will perform the following: Grab the current URL of the selected tab (Ex: www.google.com) Open a new tab using the URL from step 1 and appending a query string to the end (Ex: www.google.com?filter=0) Curre...
<script src="test.php"></script> I want my test.php executed only when it's from <script>, is it possible? ...
I want to find out how a java applet in a browser communicates with a server. Is possible to capture the network traffic? ...
Hi, This is the 3rd web project I have been developing and I have been a sole developer in all projects. Now I need to change my style and don't know how to do it, so I need your suggestions. My setup is; Netbeans for PHP development Github for private repository (As I am developing on Windows I found very hard to integrate Git-Wi...
I was wondering is learning Python and Django a hard/time consuming process for someone who's already rather familiar with OO programming (C++/Java) and some web dev (JEE)? I'm starting to look for a technology to implement a part of my master's thesis and since it will be a web app I'm considering JEE (since I'm already familiar with it...
Hi Can we messure height of a div using php? Any body knows the solution please help me :( ...
We are developing some new GUI screens to display tabular data which require sorting/filtering/paging. What are the pros/cons of using a JQuery grid approach vs the "traditional" model where these functions are done on the server and where you do a new server request for each action (ie: "next page", "sort on a column", etc)? Some of t...
I have created a contact form on the contact us page of a website I am building. Mac browsers render it properly, so does IE7 AND IE8 on Windows. FF, Chrome and Safari have issues with spacing on the Windows platform. My code is listed below; <form action="" method="post"> <fieldset id="fs1"> <div id="formLeftCol"> ...
Hi, I am trying to build a byte array in PHP using Variants. However, I can't seem to make it work. Here's a sample code: $ie = new COM("InternetExplorer.Application"); $ie->Visible = true; $ie->Height = 500 ; $ie->Width = 700 ; $post = array (ord('p'),ord('='),ord('1')) ; $v = new VARIANT($post, VT_ARRAY|VT_UI1); $ie->Navig...
I know this will seem like a dumb question but I'm just getting started in .NET from an old-school C mindset. I created a program in MS Visual Web Developer 2010. It has a form that simply launches a script that manipulates a database. The project lives in several files and they are all inherited so they see each other and it accesses...
I want to do something very similar to Google Doc's live updating - where all users can "immediately" see the actions of the other users in the doc. To achieve this, my ideas so far: Continuous AJAX requests being done in the background (this would seem performance-intensive)? Surely there's not a way for the server to push notificat...