Hi,
There've been a number of questions on here in the past about charting packages, but I'm looking for one with a specific set of properties. In particular:
Ability to handle many thousands of data points
Ability to allow users to pan and zoom
Ability to do live update of the charts (i.e. to reflect new data)
Ideally, it will work...
Hey is this a possible funtion?
I need to check if a variable is existent in a list of ones I need to check against and also that cond2 is true
eg
if($row['name'] == ("1" || "2" || "3") && $Cond2){
doThis();
}
It's not working for me and all I changed in the copy paste was my list and the variable names
...
I need to clear all APC cache entries when I deploy a new version of the site.
APC.php has a button for clearing all opcode caches, but I don't see buttons for clearing all User Entries, or all System Entries, or all Per-Directory Entries.
Is it possible to clear all cache entries via the command-line, or some other way?
...
I have 2 tables set up like this (irrelevant rows omitted):
> product
- id
- user_id
> thread
- id
- prod_id
- user_id
- due_date
now I want to create a query that picks all rows from thread table that either:
have a thread.user_id of (for example) "5"
have a prod_id where the product.user_id is "5"
I am assuming ther...
I have a web page coded in PHP. This page is for posting a request for services. All services are stored in two separate tables along with prices.
As the user selects various services I want to fetch prices for the selected service and show it on per service basis and also a grand total of all services.
How can we do this?
...
I've never really understood on how to do it. I want to where where I can type my address, followed by /index.php?=<a file that is on the FTP>.exe. From there, I would be direct to a page that has a download now button and maybe something like a ad.
Anyone have any tutorials or guides that I may look at?
...
I'm trying to parse the dmoz content/structures xml files into mysql, but all existing scripts to do this are very old and don't work well. How can I go about opening a large (+1GB) xml file in php for parsing?
...
I have a problem with php and sqlite. I always have that warning:
Warning: sqlite_popen() [function.sqlite-open]: file is encrypted or is not a database.
the name I pass to connect is a database sqlite3. I don't know how to fix that ?
...
I am having some trouble with my ReWrite code. Please note that the .htaccess file is in the subdomain folder (...public_html/subdomain/ )
I am simply trying to rewrite a page request:
http://subdomain.mysite.com/home
http://subdomain.mysite.com/index.php?page=home
My .htaccess file looks like this...
RewriteEngine On
RewriteRule ^/...
Hi
I have a domain domain.com and subdomain sub.domain.com Those two domains have different ftp users (user1, user2) belonging to the same group (usergroup) on linux environment. Finally I have the same PHP application that uses sessions on both domains (one is live and other is testing environment).
When I go to domain.com without go...
Can I do that thing that twitter and many other sites do where a url shows a users page.
www.mysite.com/the_user_name
In php... or how does one do it?
...
I was explaining to a Java developer why his method call wasn't working. He just needed to add $this->method_name();
He then asked me, "Why do I need to add $this to the method when it's declared in the same class?"
I didn't really know how to answer. Maybe it's because PHP has a global namespace and it you need to explicitly tell it t...
I've been looking for a long time for a way to have a bitmap from a VML document.
In fact, I working on a few libs that use the tag, so I have no problem for anything except for IE (of course) because I'm using ExCanvas in IE, but I'd like to have a bitmap from the generated "canvas" (which is in fact VML).
I've been looking for a few ...
I'm just setting up my test environment, a few questions.
I'm using MAMP, should my document root be pointed at the htdocs folder within MAMP?
MAMP currently uses the php.ini file that's in .:Applications/MAMP/conf/php5/php.ini, how do I get it to use a php.ini that's in my /var/www/projectname/ folder?
I'm getting the following error,...
I am trying to increase the value of upload_max_filesize to 10485760 (10M).
I am using:
ini_set('upload_max_filesize',10485760);
This is always returning false and the upload_max_filesize continues to be 2M.
I am using php 5.2.8 on windows and I don't have the ini_set disabled and am also not with safe mode on.
Anyone know why this ...
Is there such a thing?
I'm looking to translate something like "mfg"=>"manufacturing" or . I figure that I'd need a database of mappings. However, I can't seem to find one. I'm don't know a lot about lexical translations and the budget doesn't call for a lot of research, so are there any quick 'n dirty tools out there?
...
Hi,
I was looking for php encoder and found a zend safeguard. I googled about safeguard and found out that there are many decoders for zend safeguard.
Zend told me that it is not possible to decode zend encoded files, but users over the internet do not agree.
I cannot seem to find a clear answer for my situation.
what do you guys thi...
I'm going to be doing some PHP editing for my job this summer, and am looking for an effective Emacs setup for editing it. I'm already heavily invested in Emacs, so switching to another editor is not worthwhile.
Right now, I have nXhtml-mode, which provides a PHP mode with syntax highlighting (there are at least three different ones in ...
I am transforming XHTML to XHTML using XSLT and Doctype part is giving me problem
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="LimeSurvey.xslt"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.or...
I am trying to limit traffic to my website so that people trying to screenscrape mass amounts of data will be blocked after a while. I am supposed to do this based on the ip of the incoming request. I believe i have this ip limiting functionality written but im stumped on how i can test this. I need to be able to change my ip address man...