php-general Digest 9 Nov 2009 00:23:29 - Issue 6433
Topics (messages 299695 through 299712):
Die Page, Die! (Was: Preview button to show PDF without submitting post data?)
299695 by: Dave M G
299696 by: Ashley Sheridan
299697 by: Dave M G
299701 by: Nathan
Dave M G schrieb:
PHP Users,
I have a page that generates a PDF document using PHP. It takes form
data filled in by the user to fill out the PDF
When the user clicks submit, it emails that PDF document to the
intended recipient.
However, I would like to add a preview function as well. But for
PHP List,
Okay, so I've got a nice situation where a form has a preview button as
well as a submit button. When the user presses Submit, the page
reloads, and it emails a PDF.
If the user presses Preview, it launches a new page in a new window,
and also outputs a PDF directly to the user so they
On Sun, 2009-11-08 at 21:38 +0900, Dave M G wrote:
PHP List,
Okay, so I've got a nice situation where a form has a preview button as
well as a submit button. When the user presses Submit, the page
reloads, and it emails a PDF.
If the user presses Preview, it launches a new page in a new
Ashley,
Thank you for responding.
I think you do, or where else would you show the PDF? Unless you force
the PDF to download when the user clicks the preview button, you are
left with the default option of the users browser, which will most
usually be to display the PDF in the browser
On Sun, Nov 8, 2009 at 11:40 AM, John List johnl...@gulfbridge.net wrote:
Dan Shirah wrote:
Hello all,
Basically I have a form with a textarea. The user can enter up to 5,000
characters in this text area.
If the user just types text like: This is a test.
And saves it, there's no
Dan Shirah wrote:
Hello all,
Basically I have a form with a textarea. The user can enter up to 5,000
characters in this text area.
If the user just types text like: This is a test.
And saves it, there's no problem.
However if the user types:
This
Is
A
Test
And saves it, the insert
The POSIX regex functions are currently marked as DEPRECATED in 5.3.0 and
are due to be removed completely in PHP 6. I propose that instead of being
dropped they be converted into wrappers for the equivalent PCRE functions.
It does not matter how long various people have been preaching in
Dave M G wrote:
Ashley,
Thank you for responding.
I think you do, or where else would you show the PDF? Unless you force
the PDF to download when the user clicks the preview button, you are
left with the default option of the users browser, which will most
usually be to display the PDF
The same can be said about the removal of magic_quotes(), it will break
A LOT of old scripts.
I am in the same boat, I did not keep up to date with the PHP developer
plans and just found out about ereg when I installed PHP 5.3.
I think it was handled properly by displaying warning messages
Dan Shirah wrote:
My guess is that you are getting an SQL error returned to you. What does
that
say? Is it talking about a broken SQL statement?
Also, an example of the actual insert statement with example data would be
helpful.
I'm getting the generic error message: Prepare fails (E
Nathan,
Thank you for responding.
yup.. forget the new window all together, if you have it set to download
as an attachment then the user won't be taken away from the page; so no
need for a new window at all.
Right... so, we're all on board with the goals.
Now... how do I do that?
The
On Nov 8, 2009, at 1:20 PM, Dave M G mar...@autotelic.com wrote:
Nathan,
Thank you for responding.
yup.. forget the new window all together, if you have it set to
download
as an attachment then the user won't be taken away from the page;
so no
need for a new window at all.
Right...
It is for the better? How can you justify that? It is a problem that will
cause a lot of headaches for a lot of users, yet the solution which I have
proposed will remove that problem with only very little effort, yet still
leave only one regex engine which has to be supported in PHP 6.
You
On Sun, Nov 8, 2009 at 2:47 PM, Tony Marston
t...@marston-home.demon.co.uk wrote:
It is for the better? How can you justify that? It is a problem that will
cause a lot of headaches for a lot of users, yet the solution which I have
proposed will remove that problem with only very little effort,
That's an amateur fudge, not a professional fix. Besides, what happens if
your hosting company won't let you install PECL extensions?
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
Eddie Drapkin oorza...@gmail.com wrote in message
On Sun, Nov 8, 2009 at 4:13 PM, Tony Marston
t...@marston-home.demon.co.uk wrote:
That's an amateur fudge, not a professional fix. Besides, what happens if
your hosting company won't let you install PECL extensions?
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
Eddie
Eddie Drapkin oorza...@gmail.com wrote in message
news:68de37340911081330v799803f3he6ed60ecc6e67...@mail.gmail.com...
On Sun, Nov 8, 2009 at 4:13 PM, Tony Marston
t...@marston-home.demon.co.uk wrote:
That's an amateur fudge, not a professional fix. Besides, what happens if
your hosting company
Tony Marston wrote:
Eddie Drapkin oorza...@gmail.com wrote in message
news:68de37340911081330v799803f3he6ed60ecc6e67...@mail.gmail.com...
On Sun, Nov 8, 2009 at 4:13 PM, Tony Marston
t...@marston-home.demon.co.uk wrote:
That's an amateur fudge, not a professional fix. Besides, what happens if
Robert Cummings rob...@interjinn.com wrote in message
news:4af7549d.1060...@interjinn.com...
Tony Marston wrote:
Eddie Drapkin oorza...@gmail.com wrote in message
news:68de37340911081330v799803f3he6ed60ecc6e67...@mail.gmail.com...
On Sun, Nov 8, 2009 at 4:13 PM, Tony Marston
Tony Marston wrote:
Robert Cummings rob...@interjinn.com wrote in message
Then you've got several options:
1) Don't upgrade PHP.
Not an acceptable option.
2) Pick a different hosting provider.
Not an acceptable optional.
3) Fix your scripts.
The scripts aren't broken. It's PHP 6 that's
Need some help here with checkboxes in an html form.
My issue is I have a form that needs to be viewed with checkboxes filled in
depending on the values in the table.
I tried:
INPUT class=text id=myCheck1 type=checkbox ?php if ( $row[33] = 'no') {
echo checked=yes; } else { echo '';
Hello,
on 11/08/2009 11:39 PM Ernie Kemp said the following:
Need some help here with checkboxes in an html form.
My issue is I have a form that needs to be viewed with checkboxes filled
in depending on the values in the table.
I tried:
INPUT class=text id=myCheck1
Hi folks,
I've never done any PHP-LDAP code writing (nor have I ever dealt
with an LDAP server to begin with.) However I'm writing an app which
requires verifying a user's credentials against an LDAP server. The
admin of the server sent me the following snippet, however also made it
On Sun, Nov 08, 2009 at 06:30:37PM -0500, Robert Cummings wrote:
Also, why support
two libraries for which one is obviously inferior in speed and
functionality?
Because Tony's Radicore framework has a bunch of ereg* calls in it. ;-}
Paul
--
Paul M. Foster
--
PHP General Mailing List
input class=text id=myCheck1 type=checkbox ?php if ( $row[33] ==
'no') { echo checked=checked; } ? value=PFDs
name=f_sequipment1/bfont size=2PFDsb
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I need to create a multilingual website and my framework already gives me
that facility. However, I also use JavaScript quite extensively and since
XHTML 1.0 Strict doesn't allow inline script, I must use external .js file.
The problem is in these scripts, there are strings that needs to be
Yes. Correct
On Mon, Nov 9, 2009 at 7:30 AM, Ashley M. Kirchner ash...@pcraft.comwrote:
Hi folks,
I've never done any PHP-LDAP code writing (nor have I ever dealt with an
LDAP server to begin with.) However I'm writing an app which requires
verifying a user's credentials against an
28 matches
Mail list logo