[PHP] Back button issue

2003-08-26 Thread Tom Tsongas
Hello folks.

I seem to be encountering a strange problem with one of my PHP pages. I 
have a form page that has textfields, textareas, pulldowns and menulists 
on it that the user uses to set up a query to scan for data on our 
database. After they run the query, they often hit the Back button to 
make slight changes to that query.

What I am noticing is that the values in the menulists seem to be 
resetting themselves and not retaining what the user had placed in them 
and they user the Back button. All the other forms elements work just 
fine. Seems like these menu lists don't behave the same way. This is 
consistent across both Netscape and IE.

I currently have my session hanlding on the page set to the following:
session_cache_limiter('none');
session_start();
Has anyone seen this behaviour before? Anyone know how to fix it?

- Tom

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] PHP page caching issue

2003-08-20 Thread Tom Tsongas
Hi folks.

I have an interesting problem with regards to some PHP pages of mine. 
Basically, I have a form page where the user is able to use list menus, 
pulldowns, and textfields to enter certain data as part of a mechanism 
for running a query against our database. Once the user runs the query, 
they often hit the 'back' button from the results page to get back to 
the query entry page to alter their query. What I am noticing is that 
for some reason, the data they add to the listmenus seems to reset 
itself. i.e., if they added items to a list menu (done with javascript), 
when they have used the back button, those entries are gone.
This only seems to affect the listmenus and no other form element. 
Standard pulldown lists, textfields, textareas all retain the 
information entered by the user.

My caching attribute is set to:
session_cache_limiter('none');
Anyone ever encounter this problem? I am assuming it has to do with page 
caching but I am not certain how to deal with it.

Any help would be appreciated.
Thanks!
- Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Running scripts in non-php file

2003-04-04 Thread Tom Tsongas
Hi folks.

This will probably sound like a stupid question, but I will ask it 
anyway: how can I get the PHP interpreter to execute scripts in files 
that don't have the .php extension? i.e. if I want to embed php code 
into a .html or .xml file that gets run.

I thought all I had to do was add the extension to the AddType 
application in the apache configuration file so it looked like this:

AddType application/x-httpd-php .php .html .xml

I tried it but the code isn't being executed. (And yes, I did restart 
apache)
Am I missing something?

Tom

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Stupid question perhaps?

2003-03-27 Thread Tom Tsongas
I just recently upgraded to PHP 4.3.1 and Apache 2.0.44. I had been 
previously running PHP 4.0.4 and Apache 1.3.20. I had a fully enabled 
PHP website that I had been developing on for some time.
After I upgraded, the entire website is virtually non-functional. I keep 
receiving 'Page cannot Display' or 'Document contains no data' errors.

I am not sure if this is a configuration issue on Apache or PHP. phpinfo 
seems to work fine and I don't encounter issues accessing pure HTML 
pages directly. Just the PHP ones?

Any ideas folks?

- Tom

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Stupid question perhaps?

2003-03-27 Thread Tom Tsongas
Thx for the feedback everyone.

Based on what most have told me, I think I will defer to an older Apache 
version (1.3.x) and use that with the latest PHP. Not enough time to 
experiment with getting newer Apache to work with newest PHP.

- Tom

Evan Nemerson wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
register globals is of in newer versions of php. you can re-enable it in the 
php.ini.. See 
http://www.php.net/manual/en/configuration.directives.php#ini.register-globals

On Thursday 27 March 2003 10:57 am, Tom Tsongas wrote:
 

I just recently upgraded to PHP 4.3.1 and Apache 2.0.44. I had been
previously running PHP 4.0.4 and Apache 1.3.20. I had a fully enabled
PHP website that I had been developing on for some time.
After I upgraded, the entire website is virtually non-functional. I keep
receiving 'Page cannot Display' or 'Document contains no data' errors.
I am not sure if this is a configuration issue on Apache or PHP. phpinfo
seems to work fine and I don't encounter issues accessing pure HTML
pages directly. Just the PHP ones?
Any ideas folks?

- Tom
   

- -- 
Businesses may come and go, but religion will last forever, for in no other 
endeavor does the consumer blame himself for product failure.

- -Harvard Lamphoon
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE+g0xM/rncFku1MdIRArx/AJ9HYhHbEQRTWwz3+qqFibKKubOmZACgp9yh
KqCV12CJR4Td92mAITOn6vw=
=F145
-END PGP SIGNATURE-