Hi,
Does anyone know of a PHP open source which can generate forms to be deployed across your website. These forms will collect and aggregate the data with in on database. There should also be the functionality to search across the forms (to generate reports and newsletter mailing lists)
All the services I have found so far have been hosted…
Hi, I am just trying the session_id function in PHP and I thought that it was unique for each machine that used the website? However, my flatmate and I have the same session_id for on two separate machines. I'm just using session_id() to create the session - am I doing it correctly?
Thanks
Tom
Hi, I am getting the error; Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Why do I get this error? The mysql_real_escape_string() works on all of my pages apart from one? Is it something to do with MySQL being on a different server…
Hi,
I have a tsv file with many columns like so;
genename X1 X100 X103 X105 X115 X117 X120 X122 X123
Gene20728 0.415049 0.517868 0.820183 0.578081 0.30997 0.395181
I would like to import it into mathematica, and then extract and sort a column.
ie I want to extract column ["X117"] and sort it, and…
Hi.
Evaluating Tinymce. I've looked at the docs/source/api, and have a question that I thought I'd pose to the stackoverflow group.
Has anyone implemented Tinymce, who can tell me it it's possible to setup Tinymce to restrict a user, allowing the user to only "view" a text file, and be able to add additional buttons to the save/cancel…
Hi,
in the faq, i read this "..the agent can also support MIB modules implemented in perl or (from 5.4) python."
I have built net-snmp with python support, but it's not clear yet how to actually implement my own MIB module with python now. The python scripts i see in the python directory are related to implementing an snmp client, not…
Hi, I'm really confused as to why this is kicking up an error?
$admin = substr($_SERVER['REQUEST_URI'], 0, 7);
$account = substr($_SERVER['REQUEST_URI'], 0, 9);
if($admin != '/admin/' || $account != '/account/')
{
}
It is giving this error Parse error: syntax error, unexpected T_VARIABLE, expecting ',' or ';' Why is it doing this?
…
Hi
I want to build a Firefox extension that will allow me to directly manipulate the audio output, applying live filters and effects, from (for example) a streaming video site. Im struggling to find any good resources to help me. I think the effects bit will be ok but I need to find a way of intercepting the audio stream output. Does…
Hi, is it possible to detect if flash is installed using PHP. My aim is, that if it is installed it will play a flv file, and if not it will use another player eg; quicktime? If it is possible how do I go about doing it?
Thanks
Tom
Hi,
I'm absolutely confused with how to create the customized QTextDocument.
I have the widget QWidget, which consists of some QLabels, QTableWidgets and QWidgets and I want to print it . I decided to create the new QTextDocument and insert in it all the defined widgets.
I have already tried QTextCursor-insertBlock and insertText…
I'm no stranger to __get(), and have used it to make some very convenient libraries in the past. However, I'm faced with a new challenge (PHP 5.3, abbreviated and simplified my code for this question):
<?php
namespace test;
class View {
function __construct($filename, $varArray) {
$this->filename = $filename;
…
Just to give you a fair idea, I am new to the web development / hosting world and planning to develop a Multilingual Social networking Web Applications in ASP.NET 4.0 , expected the content to deliver in many countries German, France, China, India and MiddleEast. My question is will Cloud Hosting provides a development environment?…
I would like to detect the following sequences:
a
aA
aAa
aAaA
...
where a~[a-z] and A~[A-Z], the case alternates and the first letter is always lower-case.
Thanks,
Tom
$(document).ready(function() {
$('#chekboxes a').click(function(e) {
$('.visible').removeClass('visible').addClass('invisible');
var thediv = $(this).attr('href');
$(thediv).removeClass('invisible').addClass('visible');
})
});
This simple bit of jq works in FF and not in Chrome and Safari.
…
Hi,
Has anyone been able to implement Facebooks Graph API in a native iPhone Application?
The documentation is pretty sparse when it comes to iPhone integration, but the calls to get users information looks a lot more light weight than the previous method of using FBConnect. So i would like to use it.
I have seen a few…
Hello Experts,
could someone please explain to me, how in netty "Downstream Exceptions" are handeled? According to the javadoc there are no Downstream exceptions:
http://docs.jboss.org/netty/3.1/api/org/jboss/netty/channel/ExceptionEvent.html
Given the case that in one of my downstream handlers an exception occures OR…
Hey,
I'd like to have a link generated with BlueCloth that opens in a new window. All I could find was the ordinary [Google](http://www.google.com/) syntax but nothing with a new window.
Ideas?
Regards
Tom
I have a result set of data that I want to write to an array in php. Here is my sample data:
**Name** **Abbrev**
Mike M
Tom T
Jim J
Using that data, I want to create an array in php that is of the following:
1|Mike|M
2|Tom|T
3|Jim|j
I tried array_push($values, 'name', 'abbreviation') [pseudo code],…
Hi I've got two tables:
Table: Shopping
shop_id shop_name shop_time
1 Brian 40
2 Brian 31
3 Tom 20
4 Brian 30
Table:bananas
banana_id banana_amount banana_person
1 1 Brian
2 1 Brian
I now want it to print:
Name: Tom | Time: 20 | Bananas: 0 Name: Brian | Time: 101 | Bananas: 2
I…
rpmbuild generates RPM under which directory?
I checked the RPMS directory:-
[root@tom adil]# ls /usr/src/redhat/
BUILD RPMS SOURCES SPECS SRPMS
[root@tom adil]# ls /usr/src/redhat/RPMS/
athlon i386 i486 i586 i686 noarch
[root@tom adil]#
How to decide rpmbuild outputs in which of the above…
Currently, I have an HQL query that returns all Members who possess ANY Award from a set of specified Awards:
from Member m left join m.awards as a where a.name in ("Trophy","Ribbon");
What I now need is HQL that will return all Members who possess ALL Awards specified in the set of Awards.
So,…
I've found this excel add-in to buy that appears to do what I need, but I'd rather have code that's open to use as I wish. While a GUI is nice, it's not required.
In an attempt to make the question more clear, I'm adding some two sample "input" tables in tab delimited form, and the resulting output…
Which coding style do you prefer:
object o = new object();
//string s1 = o ?? "Tom"; // Cannot implicitly convert type 'object' to 'string' CS0266
string s3 = Convert.ToString(o ?? "Tom");
string s2 = (o != null) ? o.ToString() : "Tom";
s2 or s3?
Is it possible to make it shorter? s1 does not…