Hi!
What's the way to create a listview with images on the left side and text right after it?
(Note: the images were previously downloaded from the Net)
Thanks in advance!
Hello,
I have a list of urls for which I want to display first 200 or 250 characters. Can I do it using jquery or should I download them on the server side [using PHP] and store them in database?
I guess I will have to use fopen with limit of characters. **
I know that this question is quite common, but its specifics are stumping me.
I have an "export" button which I want to take a load of data generated, create a CSV file, then pop up a Save File As dialog box, to save that file on their local machine.
The name of this file is dynamic, also.
I know how to make the CSV file, but how do I then pop up a box on the client side to let the user download it?
I am using JSP with Struts
If I have an applet embedded in a webpage and I want it to connect to server side software (also written in Java) how can I do this properly on a windows machine running local host? Would I have to run the java application from within the localhost directory and access the applet html from a browser (i.e. localhost/applet.html)?
From what I undestand if you don't have everything setup correctly you won't be able to connect because of Java's security requirements.
Thanks for any help :)
is there an activerecord (any similar SQL-wrapper) for python? which is good for:
used in a server-side python script
light-weight
supports MySQL
what I need to do:
insert (filename, file size, file md5, the file itself) into (string, int, string, BLOB) columns
if the same file (checksum + filename) does not exist in db
thx
Has anybody used the ATK Framework? It is claimed to be geared toward developing apps for business use. Manipulating data, knowledge bases, etc... This is what I primarily develop (on the side-for my own use). The site hasn't given me a great overview of why it may be better than other frameworks.
What are your thoughts / experiences with this product?
I want to create a list of records with checkboxes on the left side....kinda like the inbox in Gmail. Then if a user selects some or all of these checkboxes, then the selected record(s) can be updated (only one field will be updated BTW), possibly by clicking a button.
I'm stuck on how to do this though....ideas?
so I have my PHP file (it all works fine the php side of it I know this for a fact) located in xampp's htdocs 'contact.php'
so In my webpage I have it linked up to there "http://localhost/contact.php" however when I press the button and it runs the php i get "Not Found
HTTP Error 404. The requested resource is not found."
am I linking it wrong? have I put it in the wrong folder (should I put it in the php www folder / how do I link that up?)
cheers
Hi everyone,
I am setting up a new web app that will on the client side feature a multi-memcached server environment for reliability and performance.
Would it be wise for us to utilize something like Flexihash to make it better to replicate the data between the memcache servers?
Reference: http://github.com/pda/flexihash
Thanks!
i have a byte array. Now i need to know the count of appearances of a bit pattern which length is N.
For example, my byte array is "00100100 10010010" and the pattern is "001". here N=3, and the count is 5.
Dealing with bits is always my weak side.
Hi,
I need to refresh an iframe with asynchronous time intervals.
The asynchronous time interval is calculated in the server side. Also, the user shouldn't able to feel the refresh in the whole page. It is ok if he finds that the iframe is refreshing in certain intervals.
I'm accessing a third party WCF service (I have no access to the service configuration) We're using SSL certificates for the authentication.
I'm getting this error when trying to access to any of the provided methods
The HTTP request is unauthorized with client authentication scheme 'Negotiate'. The
authentication header received from the server was 'Negotiate,NTLM
I checked many google links and no luck so far- No idea what else to check on my side.
I'm working on the networking part of a 2 player game (similar to tetris), and I'm trying to pass the game grid from client to server and vice versa. However, when I tried using send(grid) I get a TypeError: send() argument 1 must be string or read-only buffer, not instance.
Is there anyway to circumvent this, or do I have to convert my grid instance into a string and then interpret it from the other side? Thanks in advance!
i have a question.
I need to detect using javacript (or JQuery) when a div is contained inside another and when is not contained anymore.
I need something like this:
if(div #result).contains (div #dbResults) then{#explainMsg.hide, #errorMsg.hide;
if(div #result).not contains (div #dbResults) anymore then {#errorMsg.show}.
the "not contains anymore" part is because the div's are added dynamically server side.
Obliviously is not the code, but what i need to obtain.
thanks
Here's one that stumped me for a while, though in retrospect it should have been obvious. I was getting the error message
NoMethodError: undefined method `constantize' for 0:Fixnum
when accessing a model through a polymorphic association. Turns out the table on the belongs_to side of the association had an integer type column instead of a string.
Easily fixed, but it seems like Rails ought to raise an error in this situation -- instead it happily adds the row with 0 in the type column.
Does anyone know of a good online resource which gives a clear reference on the SQL syntax supported by HTML 5 client-side databases? I've looked about and cannot seem to locate one.
Thanks
Given is a form that is followed by a confirmation page where you have to confirm you entered data of previous form. Now if the user refreshes this recapitulation page, the data form the previous form reposts. Is there a way to prevent that in JavaScript?
I know its not a ideal solution, it should happen on the server side. But i have no choice in this case.
I am building a PHP and MySQL search as so
SELECT * FROM Properties WHERE Locaion = 'Liverpool'
I want to count how many of each property type there are and display them at the side of the page to use as filters (like Rightmove.co.uk).
This is what I am have come up with but can't get it to work
SELECT *,
count(PropertyType = 'house') AS HouesTotal,
count(PropertyType = 'Apartment') AS ApartmentTotal
FROM Properties WHERE Location = 'Liverpool'
Can anyone help?
I'm starting a blog with a hosted wordpress instance and i would like to be able to stream music using a flash player on some posts.
The problem is that every player i find uses a simple param to get the file url which makes it very easy for someone to find that url and just download the file.
I know that it's probably impossible to prevent this all together, but i at least don't want it to be obvious.
A server side solution can be implemented as i have full access to the server.
Can someone explain how to code the feedback button seen on foursquare.com? It's a vertical button on the side of the webpage and it opens a new window and dims out the background. I've seen this on some other sites as well. Thanks in advance.
Is there a way to only close "one end" of a TCP socket to cleanly indicate one side of a connection is done writing to the connection? (Just like you do with a pipe in every Unix pipe tutorial ever.) Or should I use some in-band solution like a sentinel value or some such?
I only found shutdown() in the libc documentation and that doesn't seem like it does what I want.
When deploying an extension I follow various steps : copy to a temporary folder all the files, copy/paste back and forth the code to the on-line minifiers / obfuscators and create the zip to be uploaded.
It's obvious that this could be simplified with scripting, but my experience on Windows scripting is very limited (most of my experience is server-side). Do I have to look back to the DOS .bat files like in the 90's or is there some cool tool or method I'm not aware?
IN joomla site ,
I made the replica of one joomla site.
Just took the data from ftp and put it onto another server,its working fine.
But the problem is when I click on mail or pdf icon images which are on every pages right top side ,its gives the mirror effect,
for eg:
subject:_____________________
but
result is
____________:subject