I found the following function at http://us.php.net/html_entity_decode. This
looks exactly like what I need to filter out information in a text field that's
been copied from Word. The "endash" or "–" is not being accepted and my
processing page is halting. My question to you is where in my pa
will try "true" instead of "on" and see if that works.
Does it go back to the default on it's own, or do I need to hard-code
that in the page when I'm done?
Thanks Isaak!
From: Isaak Malik [mailto:[EMAIL PROTECTED]
Sent: Friday, March 21, 2008 10:16 AM
To: Van
I have the line "ini_set('display_errors', 'on');" in my code, but it is
not working. Does it need to be the first command on the page?
Trish
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks again Daniel ... I'll look into the html_entity_decode and see
what I can figure out. You have a great weekend too!
-Original Message-
From: Daniel Brown [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 01, 2008 7:06 PM
To: VanBuskirk, Patricia
Subject: Re: [PHP-DB] str_re
Someone from this list (sorry I cannot remember the name), a while back, gave
me the following function to use to get rid of unwanted characters coming in on
forms:
function convert_smart_quotes($string)
{
$search = array(chr(145),
chr(146),
-Original Message-
From: Evert Lammerts [mailto:[EMAIL PROTECTED]
Sent: Friday, February 01, 2008 8:21 AM
To: VanBuskirk, Patricia
Cc: php-db@lists.php.net
Subject: Re: [PHP-DB] Formatting in Text Area
VanBuskirk, Patricia wrote:
> I have a "customer description" text area field on
I have a "customer description" text area field on my form which feeds through
php to FMP, and spits out a confirmation page and email. The issue I am having
is this ... as the customer types, the text wraps. Many put their own hard
returns and spaces in to organize their description. It seem
Thanks all for your support!!
-Original Message-
From: Dee Ayy [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 29, 2007 1:48 PM
To: php-db@lists.php.net
Subject: Re: [PHP-DB] Sending value to another page...
I just tested ?'OrderNumber'=TEST222808
and it works with and without quotes.
] Sending value to another page...
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
VanBuskirk, Patricia wrote:
> I am trying to send an order number from a confirmation page to
another
> form and insert it into the order number field on the new form. Can
> anyone tell me what I am do
on?
Trish
-Original Message-
From: Jason Gerfen [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 29, 2007 1:38 PM
Cc: php-db@lists.php.net
Subject: Re: [PHP-DB] Sending value to another page...
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
VanBuskirk, Patricia wrote:
> I am trying to
I am trying to send an order number from a confirmation page to another
form and insert it into the order number field on the new form. Can
anyone tell me what I am doing wrong??!!
Here's the portion of my code that has the link (it passes
http://www2.otc.fsu.edu/Forms/TEST/cellreg.php?'OrderN
I have the following multipage example script I am practicing with that
came from the php cookbook. It works great on my other business's web
server, but when I upload it here at this job, it goes to a blank page
after clicking "next" on "stage 1". Sounds like a php.ini setting, but
I cannot figu
Happy Friday All!
We presently have an order form online (using php5) that feeds into a
FileMaker 9 database. What we are trying to do is:
If someone clicks on "cell phone" (checkbox), a new box of fields shows
under it requiring additional info that feeds into a new table in the
database (one o
I have the following code that so for works perfect for all email
programs EXCEPT Eudora. With Eudora, the entire code after the first
?>, starting at "--PHP-alt" just pops into the body of the email.
Anyone know of a fix for Eudora that will still allow the rest of the
world to see it correctly?
I have always called them curly quotes and when I Googled "curly quotes
in php", I came up with the script I sent yesterday. But, I think you
are right.
-Original Message-
From: Niel Archer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 17, 2007 5:39 PM
To: php-db@lists.php.net
Subj
I was able to copy and paste from the customer's email exactly what they
were trying to submit. When I back-spaced out their single quote and
put in my own, it worked fine. That's how I narrowed it down to that
particular character. With much help from a coworker, I was able to
implement some fu
Does anyone know how to look for a "Curly quote" or "typographer's quotation
mark". They are being submitted on our form under customer description. I
have created a function that replaces a regular straight quotation mark ($title
= str_replace("'", "", $title);), but do not know what to put i
AIL PROTECTED] Thank you, Stuart Pearce
-Original Message-
From: Bastien Koert [mailto:[EMAIL PROTECTED]
Sent: Monday, October 15, 2007 1:48 PM
To: VanBuskirk, Patricia; Instruct ICC; php-db@lists.php.net
Subject: RE: [PHP-DB] php maximum characters in text field
Could it be an '
It isn't sending to MySql, we use FileMaker Pro 9. A new record did not get
made in the d'base... the confirmation email went out, but wherever info was
supposed to kick back from the d'base (ie. Order number), it showed an
"undefined variable" error.
-Original Message-
From: Instruct I
I am starting to believe it is NOT the character length that is causing the
problem. We have received other orders with more in it than that, and they
came in ok. I think there may be something in the input that php does not
like. I've been searching for code that will "clean up" input, possi
The field on the form is as such:
The confirmation page is:
From: Bastien Koert [mailto:[EMAIL PROTECTED]
Sent: Friday, October 12, 2007 11:26 AM
To: VanBuskirk, Patricia; php-db@lists.php.net
Subject: RE: [PHP-DB] php maximum characters in text field
And how is the table / field of
Why do I get this everytime I post?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, October 12, 2007 11:26 AM
To: VanBuskirk, Patricia
Subject: Kesalahan posting: Don Komo
Anda tidak memiliki izin untuk memposting ke grup donkomo. Anda
mungkin harus
"Undefined variable" errors wherever the database was
supposed to send back info, and no record was created.
From: Bastien Koert [mailto:[EMAIL PROTECTED]
Sent: Friday, October 12, 2007 11:12 AM
To: VanBuskirk, Patricia; php-db@lists.php.net
Subject: RE: [PHP-DB] php maximum characters in
Is there a maximum number of character $_POST will/can return from a
text field. I have an online form that was driving me nuts trying to
troubleshoot, as most orders were coming in fine, but this one would
not. I narrowed down to the length of the "customer description" field
which has no limits
24 matches
Mail list logo