I am wondering how to setup the GZip method to compress files down in the browsers. Everywhere seems to suggest that all you have to do is put : ob_start("ob_gzhandler"); at the start of the P...
I am having a strange issue with my PHP server. If i run this code:
var_export("test\'s string") then the output is: "test\\\'s string" when of course it should be "test's string".
I have ...
Hello,
I'm having difficulties getting a php form to get populated with data from mysql database
I think i've got the connection properly, the server calculated the code for php, i have ...
Hello Experts,
I am new to PHP and programming in general. I have a question regarding how to save state on a HTML radio button. I have a test taking application which paginates over a coup...
Hi Experts,
I have a form on my site with basic CAPTCHA security on it. Everything is working great. I'm having trouble setting my "From" headers. I want the email to come from the users em...
In Zend Framework I fetch records from an images table. The resultset is an array of arrays, each array a row from the table. I need to get the url or id from the row that has country_id = 142...
Hellow all,
Is there a way (and how to do this) to replace a part of a string between specific characters, and return the replaced string.
Example:
I have this piece of text
$rawT...
PHP MySql, only show if the date is before cutoff.
How do I write this correctly?
...I am unsure how to write the "and date is before cutoff" part of this...
I have a database with a table made of 3 fields: name, latitude and longitude. I can easily extract data in CSV format and use a specific software to convert them to TomTom format (.OV2). Is t...
I am trying to install GD Libray and then install for PHP, but I am having the following error messages in Linux
[root@localhost local]# cd gd
[root@localhost gd]# ./configure --prefix=/...
I need some columns and rows to span across multiples from a php export
my stuff on localhost using xampp works great.
now i upload it to the server. create a db. (exact duplicate of localhost) test the php on the server in the browser
returns "no results"
i...
Hi,
I have a dynamic site and want the keywords that a user input highlited in the results display page. I found a function and followed the examples, but still does not work. Any help is a...
I want to call a PHP function in a file through a JavaScript code. How to do this?
I am writing a PHP app. I am using PHP variables to track when a user is logged into the system. I check on each page if the session variable is set and if so I serve the page, if not I redi...
Hi Experts,
I've been having a problem getting the desired results for one of my views in a cakephp application I'm developing. This is the first time I have needed to use a join between th...
I have an IFrame on my home page that display contents like shown in the attached image. I have a PHP script to enter records for all the columns into a MySQL database. Now I want to show the ...
Hi There,
I have a problem I hope you can help me with.
I am uploading pdf files via a php script to a folder. I then access this folder via VB6 and download the files(using CHILKAT FTP). ...
I know that the issue is with:
$stmt->bindValue(':movie_server', $available_server);
If I comment that and remove where I loaded it the code below will work:
The contents of $available...
Guys:
PArdon the carrot dangling. I do not mean to insult and I really do appreciate the advise. But, I'm in a hurry and have hit a small roadblock with an existing webdevelopers skillset...
I have a php form that a user can fill our. I want the php to automatically redirect to a "thank you" or "form complete" page once the user clicks submit but I do not know enough php to create...
Hi E's, I want to know if it is possible execute a php script by sending e-mail?
For you understand what I want to do I will explain in simple words:
I send a e-mail to a specif e-mail box -...
Hi,
I've got a problem where I need to write a simple PHP script custom for them and show it them working integrated with their current website before they'll send payment. The problem is, ...
Here is the problem I know NOTHING about php but I know what I want done.
step 1
file get content (web page) // I know this works no issue there
preg match for an expected string in the...
I have downloaded the uploadify plugin.
I managed to install the example provided in the download on my local server without making any modifications and it worked fine.
I then uploaded it...