http://cl.ly/201a11b430bf60ef9e97
is what the rows look like, after I clean them up a bit:
SELECT fk_form_joiner_id,form_key,value FROM wp_contactform_submit_data WHERE form_key!='page_post_id' AND form_key!='captcha-802' AND form_key!='page_post_title' AND form_key!='user_ID'
What I need is a query where it would transform this into...
I'm new in gwt and new to using Firebug. MY gwt version is 2.0.0. using eclipse and WAMP. my IIS is stoped to run WAMP apache. I run my program on firefox
I have valid json result from tesdb3.php located in "http://localhost/phpmyadmin/tesdb3/datauser.php"
{"item": [{"kode":"002","nama":"bambang gentolet"},
{"kode":"012","nama...
So, I have built on this system for quite some time, and it is currently outputting Latin1 (ISO-8859-1) to the web browser, and this is the components:
MySQL - all data is stored with the Latin1 character set
PHP - All PHP text files are stored on disk with Latin1 encoding
HTML - The output has the http-equiv="content-type" content="...
We have a site built using Forms based authenication in .NET, is there any way of accessing these sessions / user variables and roles in a PHP application?
...
I have embeded a Google Doc Form into my website. I have added a field for attaching a file. By default I have
form action="https://spreadsheets.google.com/formResponse?formkey=..." method="post"
I want to make it so form action="submit.php"
That way, in the php file, I can add the code to save the uploaded file on to the server. But ...
I want to include an external php script or modx snippet to the index.php but it causes the blank screen instead (and no document parser errors). Probably the problem is that this script i want to include contains starting session functions and set_include_path function that might somehow conflict with Modx parser.. I tried to use the Mo...
I am very new to PHP
I mean I want to create a byte array something like this
byte array[] = { (byte) 0x9C, (byte) 0xA0};
how to do I do it in PHP any syntactical help highly apreciated.
I mean how to create a byte array in php.
Thanks in advance
...
Morning all,
I am using CURL to download an image file within a loop. The first time it runs fine and I see the image appear in the directory.
The second time it fails with a timeout, despite it being a valid URL.
Can anyone suggest why it always fails on the 2nd time and how to fix it?
The snippet of code is:
// download image
$ex...
I have a form on my website.
When this form is filled out, it is then validated by a javascript validation function.
At the bottom of this function I have this piece of code:
window.location="../index.html";
This wont work on Chrome, but does work in Firefox.
My Q is, how can I make this simple redirect work on all (most) browsers...
What is better for web development Python+Django or PHP+Symfony ?
And why?
...
I am using sort field in order to sort records. My code is this
$query = "SELECT max(sort) FROM $this->table LIMIT 1;";
$result = mysql_query($query);
$row = mysql_fetch_row($result);
$sort = $row[0]+1;
$query = "INSERT INTO "$this->table." VALUES ( '', '$ini', '$time', '$ip', '0', '$type', '$sort', '$title', '$image...
If this is not posted in correct place, please migrate it
I kept a .htaccess file in my public_html folder inside the root. When I view the website it is giving server misconfiguration error.
my .htaccess file contains this only
php_value upload_max_filesize 100M
php_value post_max_size 100M
I wonder what may be wrong. Any Ideas
MY...
I allways used php 5.2.3 version ,but now I updated php to 5.3.2 version.
I have problem with mssql,I can`t connect to mssql server.
I have downloaded a sql server driver for php 1.1
There are a lot of files, i used 'php_sqlsrv_53_ts_vc9'
Put it on php/ext directory 'php_sqlsrv_53_ts_vc9'
I have added - extension=php_sqlsrv_53_ts_...
Hi everybody,
I have seen more and more of the websites that offers a undo option after pressing a delete button. How is the logic done behind the button?
Is the item deleted by javascript and "dissapears" from the users screen and a scheduled delete added, that gives the user time to undo it or how does it work?
What are the other op...
Right now i have a PHP project and i track all changes in code by SVN.
I would also like to track changes made in database structure.
Which is the right tool to use ?
...
Hi all,
I've created a form which contains an upload field file and some other text fields. I'm using php to send the form's data via email and attach the file.
This is the code I'm using but it's not working properly. The file is normally attached to the message but the rest of the data is not sent.
$body="bla bla bla";
$attachment ...
Hi guys I'm trying to update my google contacts using the zend framework but I'm getting the following error:
Expected response code 200, got 403 If-Match or If-None-Match header or entry etag attribute required
The following is my code:
Zend_Loader::loadClass('Zend_Gdata_ClientLogin');
Zend_Loader::loadClass('Zend_Http_Client');
Zen...
I pull a data from other website by using curl but how to store in my local database.
$url = 'http://sample.com/';
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$data = curl_exec($ch);
curl_close($ch);
echo $data;
I just want post some categories and sample of data.
...
Hi all,
I'm trying to match subdomains to a customer id in symfony.
i.e. i have customer1.example.com and customer2.example.com
Domains are stored in a table.
When a user goes to customer1.example.com, I would like to get the subdomain, look up the domain name in the database, once matched, it will then deploy the app config for that...
Hi users, i want to know how to call php file from on clicking some button in jsp file. can u please let me know a ways to do that.
...