What is the code you're using now? You have a syntax error, but without seeing
the code, we are all left to guessing what the problem could be.
Thanks,
Ash
http://www.ashleysheridan.co.uk
- Reply message -
From: Ben Brentlinger b...@benbrent.com
Date: Sun, Oct 31, 2010 03:56
Subject:
This isn't a php question but a mysql one. Take out the lower() part of the sql
statement, as like is case insensitive by default.
Thanks,
Ash
http://www.ashleysheridan.co.uk
- Reply message -
From: Dr Michael Daly g...@holisticgp.com.au
Date: Sun, Oct 31, 2010 04:47
Subject: [PHP]
This can only be done with javascript, as the iframe is client-side, which php
knows nothing about.
Thanks,
Ash
http://www.ashleysheridan.co.uk
- Reply message -
From: Karl DeSaulniers k...@designdrumm.com
Date: Sun, Oct 31, 2010 03:32
Subject: [PHP] include html
To: php-general
Hello Ben,
You should use isset:
if (isset($_POST['check'])) {
// The checkbox is checked
} else {
// It's unchecked
}
--
With best regards from Ukraine,
Andre
Skype: Francophile
Twitter: http://twitter.com/m_elensule
Facebook: http://facebook.com/menelion
- Original message -
From:
thanks for this Ash...I didn't really understand but I do now!
unfortunately the fix didn't work, possibly bec the mysql data is in
binary format (default then becomes: case sensitive). I got a 'syntax
error' result
I'll find a mysql forum
Michael
This isn't a php question but a mysql one.
Here's the code I'm using with the exception of the php tags and the
redirect script that redirects to another page once the form is
submitted. This is just a test script I'm working on in order to teach
myself php. The php portion will be posted first, than the html form
related to the php.
, version of virus signature
database 5578 (20101031) __
The message was checked by ESET Smart Security.
http://www.eset.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
__ Information from ESET Smart Security, version of virus signature
database 5578 (20101031) __
The message was checked by ESET Smart Security.
http://www.eset.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I tested your code and besides adding a form to the beginning it works.
If you want to see the results of the posted for try.
print_r($_POST);
you can see every position of the array passed and validate they are passing as
intended.
Try this.
//if reallife is not set (Checked it will not
I placed an example of your code on my site.
I simply pasted exactly what you had, minus the actual mailing portion.
If you check the box you will see the array, if you do not check the box no
array.
http://www.richardbuskirk.com/blunk.php
Forgive my prior post, I had not woke up yet.
So the
Hello,
i have installed php 5.2.14 on an embedded system. I have run a couple of
test scripts and everything works fine,
but i can't get shell_exec to work. When i invoke shell_exec, the
script doesn't get interpreted, instead
i get prompted to download the whole .php file. I have tried both
It seems most probably a permission problem. If I were you I would
check the permissions on the bin directory and the files in it. PHP
will probably run under the uid of the webserver, which, on most
systems is either apache or nobody depending on the configuration.
Richard L. Buskirk
At 9:19 AM -0400 10/31/10, Gary wrote:
I was sure that the images were being stored and called from the images
folder and not directly from the DB, that is until tedd brought it up. I
did have an issue of getting the images to show in the beginning, however I
solved it by inserting the path in
At 3:47 PM +1100 10/31/10, Dr Michael Daly wrote:
Hi
Using a php search form produces a nil return on any information that is
capitalised within a mysql database; retrieval is fine for non-capitalised
data. Could someone tweak this please? The relevant code I think is as
follows:
// Description
At 10:05 PM -0400 10/30/10, Ben Brentlinger wrote:
hello,
I'd like to know the proper code to use in a php script that
processes a form with a checkbox in order to send one email if the
checkbox has been checked and another email if the checkbox hasn't.
I tried if($check == true) and I tried
.
gary
__ Information from ESET Smart Security, version of virus signature
database 5579 (20101031) __
The message was checked by ESET Smart Security.
http://www.eset.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
Hello Richard,
thank you for the prompt reply. I just tried to follow your suggestion, but
i couldn't solve my problem:
1. I have started the server with user nobody. All the binaries i was
trying to execute(e.g. /bin/ls) were chown-ed to the user nobody
Problem presisted. Than i chown -ed
Hi,
I'm trying to integrate facebook to show the wall in a site.
ok, i generate the auth_token here:
https://login.facebook.com/code_gen.php?api_key=API_KEYv=1.0
And put the rest connection configuration here:
$facebookArr = array(
appapikey = $appapikey,
appidkey = $appidkey,
appsecret =
At 12:12 PM -0400 10/31/10, Gary wrote:
tedd tedd.sperl...@gmail.com wrote in message
news:p06240800c8f339e20...@[192.168.1.2]...
At 9:19 AM -0400 10/31/10, Gary wrote:
I was sure that the images were being stored and called from the images
folder and not directly from the DB, that is until
thanks for your help. I just retested my code and even though it didn't
work, I found the reason it wasn't working was because I had an unneeded
space between the if and the rest of the if statement.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Also, as far as the form is concerned, I actually did have the form in a
separate .htm file, I just put the two together, separating them with
the those tags to make them easier to read in the email.
On 10/31/2010 10:36, ad...@buskirkgraphics.com wrote:
I tested your code and besides adding a
which user it is executed as when request a php script on
browser?(suppose we are on a shared LAMP hosting)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If its Apache on Linux (as most hosting will be) then the user will generally
be either apache, www, or http.
Thanks,
Ash
http://www.ashleysheridan.co.uk
There isn't a php user. If php scripts are executed through the web server,
they belong to the server. If they are cli scripts, then they belong to the
user that executed them, or the user the process that executed them is running
as.
Thanks,
Ash
http://www.ashleysheridan.co.uk
- Reply
After going over this a thousand times in my head and on sever.
Here are a few reasons why a shell_exec will not function.
First I tested the PHP CLI
Can I see my version of php.
$output = shell_exec('php -v');
Echo $output;
If I am not getting the information about the php version. Is shell_exec
On Oct 31, 2010, at 7:29 AM, Gary wrote:
Thanks for the reply, here is a link to the code of the page.
http://www.paulgdesigns.com/detailcode.php
Ok, that was pretty messy code. But what I could glean from it is
this. (See your code at http://pastie.org/1262989).
Line 238: table
Is this something I need to worry about?? Is my mail sending some
malware??
Begin forwarded message:
From: Mail Delivery Subsystem mailer-dae...@immosky.ch
Date: October 31, 2010 7:37:54 PM CDT
To: Tamara Temple tamouse.li...@gmail.com
Subject: Mail delivery failed: returning message to
27 matches
Mail list logo