Re: [PHP] How New Is <<
It looks like your form tag is missing some attributes needed to point your browser to the script as to where to submit the data. if you were to try with your form tag as ?? Andrew. ps: if that doesn't work, may I recommend inserting echo(""); print_r($_POST); echo(""); to see what your post data is? > Okay, everyone, here's some real progress. > > I retyped the file from scratch. I'm both attaching it--it's not a big file--and printing it below: > > > > persistence demo > > > Persistence Demo > > > $txtBoxCounter = $_POST['txtBoxCounter']; > $hdnCounter = $_POST['hdnCounter']; > > //increment the counters > $txtBoxCounter++; > $hdnCounter++; > > print << > name = "txtBoxCounter" > value = "$txtBoxCounter"> > > name = "hdnCounter" > value = "$hdnCounter"> > > The hidden value is $hdnCounter > > value = "click to increment counters"> > > HERE; > > ?> > > > > > > My results were mixed, but definitely moved me forward. > > The H1 head--Persistence Demo--displayed, as did a field with the number "1" in it. > > After a blank line was printed "The hidden value is 1". > > That was followed by another blank line space, and then a button with "click to increment counters in it". > > When I click the button, I get a box dropping down that says the info I've entered "is to be sent over an unencrypted connection" and could be read by > others, and do I still want to send it. I click "Continue", and that box disappears. > > There ends my success. I'm left with: > > The H1 head--Persistence Demo--displayed, and the number "1" in it. > > The blank line followed by "The hidden value is 1". > > The other blank line space, and then the button with "click to increment counters in it". > > No seeming advance to the counters. > > Whattaya think? > > Steve Tiano > > mail2web - Check your email from the web at > http://mail2web.com/ . > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Can't upload file greater than 11kb
your file is sent through post. If your post upload max size is smaller then your upload max size, then the file wouldn't all fit within the post data that PHP will accept. Your upload would then get blocked. Therefore, post_max_size should be set to a larger value then upload_max_filesize to allow the upload to work in the first place. Andrew. > Since this install of PHP is a CGI module, the server limits any execution > to 30 seconds. Why should upload_max_filesize be greater than > post_max_size? > Why would this have any effect on a file size of 11kb? > > "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> post_max_size should be greater than upload_max_filesize. >> >> What is the setting for max_input_time? >> >> Chris wrote: >> > post_max_size: 8M >> > upload_max_filesize: 10M >> > >> > what quota and disk space affect the web server process and temp dir >> > >> > This site is hosted by a third party: >> > Disk space is 400MB only a fraction is used. >> > temp dir -- unknown >> > >> > >> > Chris -- >> > >> > ...and then Chris said... >> > % >> > % script on many php servers. However I am on one now which is not > allowing >> > me >> > % to upload a file greater than 12kb. >> > >> > What does phpinfo() say for >> > >> > post_max_size >> > upload_max_filesize >> > >> > and what quota and disk space affect the web server process and temp > dir? >> > >> > >> > HTH & HAND >> > >> > "David T-G" <[EMAIL PROTECTED]> wrote in message >> > news:[EMAIL PROTECTED] >> > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[Fwd: Re: [PHP] Submit Button Refresh Problem?]
oops, should have double checked the 'to'. Sorry. Original Message Subject: Re: [PHP] Submit Button Refresh Problem? From:Andrew Séguin <[EMAIL PROTECTED]> Date:Mon, January 5, 2004 12:26 To:___ -- >... > This appears to be a client-side scripting and/or markup question. PHP is server-side and unrelated, so you should direct your question to another list (suggestions, anyone?). >... Evolt.org 'thelist' is my recommendation (and subscription) for general web development. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php