1
0
mirror of https://github.com/php/web-php.git synced 2026-04-26 00:18:17 +02:00
Commit Graph

22 Commits

Author SHA1 Message Date
Gabor Hojtsy 06f9980889 Let's have a var, named $COUNTRY which identifies
the user's country (much like what $LANG 'does' for
the language)
2003-05-03 15:33:16 +00:00
Gabor Hojtsy 701059352b Let the ip-to-country code be part of the site 2003-05-02 20:05:46 +00:00
Gabor Hojtsy 683f853079 Add getmicrotime() and measure page creation
time from prepend.inc to commonFooter()

Remove ending ?> from files for header() safety
reasons
2003-05-01 12:17:54 +00:00
Gabor Hojtsy 46b8602758 Prevent any funny guys from stealing our links... 2003-04-23 16:51:52 +00:00
Gabor Hojtsy 01e408cd68 Provide default content-type, charset and language information on all pages 2003-03-02 16:53:32 +00:00
Gabor Hojtsy 196a7f04c0 Integrate the langauge chooser to the main site flow, and update the
documentation pages to use the new $LANG var to display documentation
download pages "customized" to the user

This also makes preferred_language()'s remove, as $LANG is perfect for
this purpose...
2003-03-01 16:14:35 +00:00
Gabor Hojtsy 76f33c14ae Adding Id CVS attr to many include files, and also adding C++ format header,
for anybody who uses it, just for consistency ;)
2003-01-07 22:15:57 +00:00
Gabor Hojtsy 03199a69df Prevent the ENV language setting coming up in $LANG, when it is not set otherwise... 2003-01-06 10:43:26 +00:00
Gabor Hojtsy 3b826487ea Adding info on cache HTTP headers URL to common prepend file.
Modifying manual headers to have a last modified date and have
no cache header. See if it works well... See bug #18897
2003-01-03 13:57:11 +00:00
Gabor Hojtsy 0f0ea9a2ff Removing geoip include to make pages run quicker.
Also adding comment into geoip include file, that
it is there for future use (not left there from
sometime from the past).
2002-12-21 13:39:30 +00:00
Gabor Hojtsy b494b203c2 Adding MQ variable used instead of
calling get_magic_quotes_gpc, because it's short ;)
2002-12-21 11:09:50 +00:00
Gabor Hojtsy cb76709977 Add unset_variables() for future use 2002-12-14 19:38:03 +00:00
Gabor Hojtsy c56145e9d5 Ups, some language modifications and adding success
return value to function (in case someone would like
to check it)
2002-12-14 19:05:41 +00:00
Gabor Hojtsy 009b8c3d11 Add the import_vars() function to make our life easier
in cases, when we need to import some variables from
an array into the global scope. This ensures security
if used properly, as no other variable can snap into the
global scope, only those explicitly requested.

This function is for future use in phpweb scripts.
2002-12-14 19:03:08 +00:00
Gabor Hojtsy a93863e864 Add some code to handle variables nicely in scripts,
and a bit cleaning up (same comment signs, using
include_once, etc.)
2002-12-14 12:41:50 +00:00
Gabor Hojtsy 1da94f42db Fixing XSS bug reported by Stefan Esser (and Derick) 2002-11-26 20:41:26 +00:00
James Cox fc44869164 Part of our getting the new server is that we allow the hosting provider to display a banner. We would like to give other mirrors this opportunity too -- instructions in the readme.
also, some mirror redirection stuff ended up in here, but i felt it important to commit (with commented out code) and start from there, as my code was getting quite stale.
2002-08-13 02:14:44 +00:00
Rasmus Lerdorf ba77a7c013 Oops, let's unset it instead 2001-08-02 15:08:27 +00:00
Rasmus Lerdorf 8d672a80ee Initialize RSIDEBAR_DATA 2001-08-02 14:17:29 +00:00
Gabor Hojtsy 290b36d2ca Cosmetics done in the include dir too :)) 2001-07-08 13:06:38 +00:00
Gabor Hojtsy 6056368752 No need to tweek with separate logos (as there are only one),
and sizes (as it is determined automatically)
2001-06-29 17:51:20 +00:00
jim winstead 33c01cb600 here goes nothing. the new php site look. let the torrent of
bitter and angry "i hate change" emails begin.
2001-03-08 00:18:15 +00:00