FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » IE8 crashes when back button clicked after sending email from PHP script
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: IE8 crashes when back button clicked after sending email from PHP script [message #172200 is a reply to message #172194] Thu, 03 February 2011 21:29 Go to previous messageGo to previous message
P E Schoen is currently offline  P E Schoen
Messages: 86
Registered: January 2011
Karma:
Member
"Jerry Stuckle" wrote in message
news:iievs6$dmf$1(at)news(dot)eternal-september(dot)org...

On 2/3/2011 1:26 PM, P E Schoen wrote:

>> Also, I tried using Firefox, and I did not have any problem with
> the back button. Same with Google Chrome.
>
>> The error message indicates that IE8 believes it is a problem with
>> the > web page. Would that be the page generated by the script, or
>> the HTML containing the form?

> The error message doesn't say. But since it works with FireFox and
> Chrome, I would think it's an IE problem, and you'll need to track it down
> from that end.

Actually, it only had a problem when run from the Apache localhost server.
But I also made some changes so it would run on the Dreamhost server using
SQLite (version 2.x) rather than SQLite3, which is apparently not installed.

>> Another problem I have had is running SQLite on my live server
>> Dreamhost. The documentation indicates that I need to download
>> and install SQLite on the server. But my Perl script uses SQLite
> and I didn't have to do anything special.

> You'll have to get your host to install the SQLite3 PHP extension.

> Alternatively, go with a better database such as MySQL or
> PostGreSQL, whichever might be available on your host.

Dreamweaver seems to be mostly MySQL, and apparently the SQLite is an older
version. There are instructions on how to install SQLite3, but they are
considered "advanced" and warn about possibly screwing things up. Apparently
SQLite3 is installed for Perl, but not for PHP. One reason I want to stay
with SQLite3 is a database browser utility I have for that version. But I'm
sure there are some for version 2.

Maybe I'll just bite the bull and switch over to MySQL. I doubt that it is
really any more difficult than SQLite, and it seems a bit more universal.
Might as well learn something new again, now that I've become an expert at
PHP...

Just kidding. I've only scratched the surface of CGI scripting, but I do
think PHP is best for my purposes.

One quick question: If I include my HTML form along with the PHP script that
is now called to process the CGI variables, and put it in the cgi-bin folder
where outside users only have execute permission, does that work? And does
it also serve to hide the HTML as well as the PHP code? I have seen that
when I have a web page generated by PHP, the View Source only shows what is
generated to STDIN. I don't care so much about the HTML form, but the PHP
has the password hard-coded in the script.

Which also brings up the question of how secure that is, and if perhaps it
should be encrypted in some way?

You can see my efforts (so far) for this second project at:
www.baltimoregreenforum.org.

Many thanks,

Paul
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: REQ: Looking for a script program called paCheckbook
Next Topic: json and non UTF8
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 10 15:16:40 GMT 2024

Total time taken to generate the page: 0.04568 seconds