1
0
mirror of https://github.com/php/web-php.git synced 2026-04-24 07:28:16 +02:00
Commit Graph

16 Commits

Author SHA1 Message Date
Gabor Hojtsy eab7a75a1b Comment the BC code for pre 4.1.0 mirrors as we have
them disabled now, so autoglobal vars should work on
all mirrors without special preparation

Use $_SERVER['DOCUMENT_ROOT'] for includes
instead of a user defined constant, as the docroot
value is always available [even before prepend.inc]
This ensures consistency and causes no stat() calls

Add myphpnet_...() functions to load, get/set and save
the user preferences, and use them everywhere. This
enables us to easily add new preferences to the same
cookie. Every preference will last for a year this way,
and the cookie will only be set again, if someone
modifies his data on my.php

If this works nicely, then we can easily add a preferred
mirror site setting (and more)

[These changes seem to work on my local mirror]
2003-05-24 19:50:37 +00:00
Gabor Hojtsy c184ef31f1 Store the cookie, using the new
mirror_setcookie() function
2003-05-17 12:52:21 +00:00
Jacques Marneweck 4fe45890c8 * Busy fixing all the errors that appears when E_NOTICE is set on php.net
as reported by James Cox in his e-mail with message id
   <MMEPJPGPACDMPGEEKFMKIECLLCAA.james@imajes.info>

--jm
2003-05-14 00:50:53 +00:00
Gabor Hojtsy 3f3ce23a11 URL changed as requested 2003-05-05 19:56:44 +00:00
Gabor Hojtsy 09ee487b96 Add some information on country detection,
and ensure the page is not cached
2003-05-04 12:25:38 +00:00
Rasmus Lerdorf 12174dc1d6 typo 2003-04-27 08:24:06 +00:00
Gabor Hojtsy 90271a87bd - Add CVS id to the top, so we know what version
a mirror (and the main site) runs, in case of bugreports
- Move the ugly copy-paste table to an array and some
  genaretion code
- Display directly the browser's Accept-language settings,
  as discussed publicy with Andrew
2003-04-26 14:24:54 +00:00
Andrew Lindeman 1ceac94560 prevent the same language from being displayed twice (as was happening
with me)
2003-04-24 11:54:08 +00:00
Gabor Hojtsy 722b19dca9 Fix cookie setting bug 2003-03-16 10:50:59 +00:00
Gabor Hojtsy 68a419346d Add more info on when a setting is not needed 2003-03-16 10:49:45 +00:00
Gabor Hojtsy 7503ec7ff2 Adding information on last seen language 2003-03-16 10:18:06 +00:00
Gabor Hojtsy 0b5e61b8d2 Make this table look more "php.net standard" 2003-03-13 20:42:06 +00:00
Gabor Hojtsy 83c648a8db Hehe, forms need a submit button to submit the data ;) 2003-03-13 19:58:10 +00:00
Gabor Hojtsy 2f9f8dc6e6 Use a table instead of a list, so the form does not look odd... 2003-03-13 18:26:22 +00:00
Gabor Hojtsy 978623ddd0 Ups, typo... 2003-03-13 18:23:52 +00:00
Gabor Hojtsy 1f24235737 Adding new array creation to langchooser, so we can inform users
about how we have parsed their accept-language

Add the first version of my.php (which will enable users to set their
own languages). Please don't spread the word, this needs testing, before
it can go live for all users...
2003-03-13 17:06:25 +00:00