it! You _could_ use
$file = $file..php3;
though.
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
--
-- Stationsplein 82
-- 2011 LM HAARLEM
--
-- http://www.datalink.nl
));
-
And that's all you need!
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
--
-- Stationsplein 82
-- 2011 LM HAARLEM
--
-- http://www.datalink.nl
--
--
PHP
to do it.
And why wouldn't I know what horrible means? Because I keep using
that word? Wow... then you must have absolutely no clue of what
words like 'is' and 'the' mean. Yes, I know... this doesn't make
sense... Neither does your remark (...)
--
* RzE:
--
-- Renze
.
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
-- H: +31 23 5516190
--
-- Stationsplein 82
-- 2011 LM HAARLEM
--
-- http://www.datalink.nl
--
--
PHP
Forward.
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
-- H: +31 23 5516190
--
-- Stationsplein 82
-- 2011 LM HAARLEM
--
-- http://www.datalink.nl
--
--
PHP
then the JS solution I mentioned.
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
-- H: +31 23 5516190
--
-- Stationsplein 82
-- 2011 LM HAARLEM
--
-- http://www.datalink.nl
{SERVER_NAME}
$HTTP_SERVER_VARS{SERVER_ADDR}
$HTTP_SERVER_VARS{HTTP_HOST}
or
$HTTP_SERVER_VARS{DOCUMENT_ROOT}
Check phpinfo(), it gives some really usefull info.
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23
) was it is, but it
sounds usable, doesn't it?
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
-- H: +31 23 5516190
--
-- Stationsplein 82
-- 2011 LM HAARLEM
--
-- http
=window.location.href='blahblahblah.php';
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
-- H: +31 23 5516190
--
-- Stationsplein 82
-- 2011 LM HAARLEM
--
-- http://www.datalink.nl
!
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
-- H: +31 23 5516190
--
-- Stationsplein 82
-- 2011 LM HAARLEM
--
-- http://www.datalink.nl
--
--
PHP General
. Just look into the buffer if
there is an error and react. Also, you should erase the error-message
from the buffer.
3) Write your own error-handler:
http://www.php.net/set_error_handler
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W
the SiteStat/Nedstat style. Awful!
Besides that... what if I want to do some _serious_ processing
instead of 'drawing' an image? Then, if I use your solution, I
always have to create (or redirect to) an image. Not to way to do
it!
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
-- H: +31 23 5516190
--
-- Stationsplein 82
-- 2011 LM HAARLEM
--
-- http://www.datalink.nl
--
--
PHP General Mailing List (http://www.php.net
thought to detect the browser
closing.
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
-- H: +31 23 5516190
--
-- Stationsplein 82
-- 2011 LM HAARLEM
--
-- http://www.datalink.nl
be:
session_register(emp_id);
and in logout.php:
session_unregister($emp_id);
should be
session_unregister(emp_id);
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
-- H: +31 23 5516190
$HTTP_SESSION_VARS{uid} instead. It's a saver solution. Then one
cannot just use ?uid=10 in order to fool you. At least, not in that
way.
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
of computer science
FAIK the only possibility is to redirect to the PHP script. Then
you'll get something like:
window.location.href=myscript.php;
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31
:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
-- H: +31 23 5516190
--
-- Stationsplein 82
-- 2011 LM HAARLEM
--
-- http://www.datalink.nl
--
--
PHP General Mailing
for security isn't realy a very smart thing to
do. Everyone can just use the URL as you show it. Using POST isn't
completely waterproof either, but at least you don't just give a way
your security information.
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL
() and then the rest of your
script.
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
-- H: +31 23 5516190
--
-- Stationsplein 82
-- 2011 LM HAARLEM
--
-- http://www.datalink.nl
be as close
as possible to the start of your script.
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
-- H: +31 23 5516190
--
-- Stationsplein 82
-- 2011 LM HAARLEM
--
-- http
}: one=xxxtwo=yyy;
But you can also use:
$HTTP_GET_VARS{one} and $HTTP_GET_VARS{two}, etc:
$HTTP_GET_VARS{one}: xxx;
$HTTP_GET_VARS{two}: yyy;
Or you can use:
$one and $two, etc.
$one: xxx
$two: yyy
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL
how can I get this values?
thanks, gracias
Did you use session_start() in the file where you try to output data
from the session?
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
don't need
session_destroy() when the user closes the browser. The session is
ended automatically then. And btw, how would you detect whether or
not someone has closed his browser?
Hope this was an answer to your question...
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
(window.print()).
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
-- H: +31 23 5516190
--
-- Stationsplein 82
-- 2011 LM HAARLEM
--
-- http://www.datalink.nl
the warningmsg says- you try to send headers while on line 2 you've
already sent some output (echo, print, whatever).
You'll have to put the session_start() before your output.
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F
it will be:
?php
session_start();/* -- This is it! */
session_unregister(emp_id);
session_destroy();
echo session closed for $emp_id;
?
!DOCTYPE (...)
(...) /HTML
Otherwise you don't have any session to destroy...
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
--
-- E
logout button we
shouldn't allow the user to go back or reposting the data again and getting session
again.
I don't know (yet)... I'm gonna try to find out. I'll let you know.
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
'Back', you end
up on login.php again.
Uptil now this is the best option I've come up with.
Hope it works for what you had in mind.
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
the whole
path in one variable or that I use both a variable and a (part of)
the path. The result is exactly the same. (as it should btw).
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
-- H
set to absolute
nothing? You ever check if anything goes wrong? How the h*ll can you
guarantee functionality of your site?
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
-- H: +31 23
at least be:
someval from page.php
from foo
Like I said... I don't have any problems with it. The output is:
someval from page.php
someval from foo
(and all this without any errors or warnings!)
Pretty much what you'd expected...
--
* RzE:
--
-- Renze Munnik
-- DataLink
starts with a letter or underscore, followed by
any number of letters, numbers, or underscores. As a regular expression,
it would be expressed thus:
'[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*'
= =
So I'd say: $threeMonths.
--
* RzE:
--
-- Renze Munnik
-- DataLink
:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
-- H: +31 23 5516190
--
-- Stationsplein 82
-- 2011 LM HAARLEM
--
-- http://www.datalink.nl
--
--
PHP General Mailing List (http://www.php.net
on info about differences between function calls,
statements and constructs, and hopefully helping someone out in the process.
Okay... problem solved.
isn't that what we do here?
Sure is!!!
CYa'round
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL
-fetish' of
some kind :p
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
-- H: +31 23 5516190
--
-- Stationsplein 82
-- 2011 LM HAARLEM
--
-- http://www.datalink.nl
On Wed, Aug 08, 2001 at 10:06:51AM +0200, Renze Munnik wrote:
(...)
checks the returnvalue of printf() and stuff (another thread in this
list).
oops... it's the same thread...
I NEED COFEE!!!
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL
not be more right!
Always use stuff like $HTTP_SERVER_VARS, $HTTP_POST_VARS, etc. It's
the savest/best way!
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
-- H: +31 23 5516190
into the session and then U can use 'm again on b.php.
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
-- H: +31 23 5516190
--
-- Stationsplein 82
-- 2011 LM HAARLEM
--
-- http
and not
converting it to an integer the result is perfectly okay.
Btw: (int)((8.85*100)-(8*100)), _does_ return a correct result.
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
-- H: +31 23 5516190
;
$result_i = (int)(($a-$b)*$c);
$result_f = (float)(($a-$b)*$c);
See the diff between $result_i and $result_f? And if you realy need
an integer, $result_f isn't realy what you're looking for.
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23
the order of isset() and empty()
in the above example.
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
-- H: +31 23 5516190
--
-- Stationsplein 82
-- 2011 LM HAARLEM
--
-- http
:
http://www.php.net/manual/en/function.number-format.php
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
-- H: +31 23 5516190
--
-- Stationsplein 82
-- 2011 LM HAARLEM
--
-- http
Try using stripslashes() before htmlspecialchars().
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
-- H: +31 23 5516190
--
-- Stationsplein 82
-- 2011 LM HAARLEM
--
-- http
to know someones IP-address and using $REMOTE_ADDR you get
the IP-address of the user. What's the problem man?!?!?!
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
-- H: +31 23 5516190
this was about (just my own
frustration). But I just don't use the proxy nomore. Only for
testing things like REMOTE_ADDR etc.
But thank you for specifying the question. And eh, you're right. I
just didn't know the question was about this problem.
--
* RzE:
--
-- Renze
:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
-- H: +31 23 5516190
--
-- Stationsplein 82
-- 2011 LM HAARLEM
--
-- http://www.datalink.nl
--
--
PHP General Mailing List
you just asked.
Try reading that!
It's called: user's ip
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
-- H: +31 23 5516190
--
-- Stationsplein 82
-- 2011 LM HAARLEM
--
-- http
you need.
=[ Get remote IP ]=
if(getenv(HTTP_X_FORWARDED_FOR))
{
$ip=getenv(HTTP_X_FORWARDED_FOR);
}
else
{
$ip=getenv(REMOTE_ADDR);
}
$host = gethostbyaddr($ip);
===
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL
.
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
-- H: +31 23 5516190
--
-- Stationsplein 82
-- 2011 LM HAARLEM
--
-- http://www.datalink.nl
--
--
PHP General
On Tue, Aug 07, 2001 at 09:23:02AM -0600, mike cullerton wrote:
on 8/7/01 2:43 AM, Renze Munnik at [EMAIL PROTECTED] wrote:
On Mon, Aug 06, 2001 at 12:31:38PM -0700, Mark Maggelet wrote:
i can't tell if it's just a email formatting thing, but if there's a
line break in the onsubmit
can e.g. use phpinfo() (or phpinfo(INFO_MODULES) to see if it is
installed.
--
* RzE:
--
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
-- H: +31 23 5516190
--
-- Stationsplein 82
-- 2011 LM
about?
$HTTP_POST_VARS{"var_1"}, $HTTP_POST_VARS{"var_2"}, etc.
var_1 and var_2 are the variable names...
--
* RzE:
*******
** Renze Munnik
**
** E: [EMAIL PROTECTED]
** M: +31 6 218 111 43
***
--
PHP General Mailing List
:
***
** Renze Munnik
**
** E: [EMAIL PROTECTED]
** M: +31 6 218 111 43
***
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
;Yes, b equals aBR\n";
else
print "No, b doesn't equal aBR\n";
if (($b = $a) == $a)
print "Yes... now b equals aBR\n";
else
print "Oops... b still doesn't equal a!BR\n";
-
Output will be:
No, b doesn't equal a
Yes... now b equals a
--
* RzE:
uot;inf" == "inf" the result is exactly what you'd expect.
And then...
In your real code, which is something like $var = "inf", you should
use $var == "inf". If you do that, you won't have any problems.
--
* RzE:
***
** Renze M
ns"
--
* RzE:
*******
** Renze Munnik
**
** E: [EMAIL PROTECTED]
** M: +31 6 218 111 43
***
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administra
?
TIA
Wade
Try:
ereg_replace();
(http://www.php.net/manual/en/function.eregi-replace.php)
or
preg_replace();
(http://www.php.net/manual/en/function.preg-replace.php)
--
* RzE:
***
** Renze Munnik
**
** E: [EMAIL PROTECTED]
** M: +31 6 218 111 43
lumn named 'compid'.
Your computer doesn't know which one of them it should use. So, you
should make that decision for 'm:
SELECT users.compid
or
SELECT tickets.compid
--
* RzE:
***
** Renze Munnik
**
** E: [EMAIL PROTECTED]
** M: +31 6 218 111 43
**
that option, you'll have to change your code (PHP or sp,
wherever you do it) that inserts the data. That function should then
also insert/update the data in the other table.
--
* RzE:
***
** Renze Munnik
**
** E: [EMAIL PROTECTED]
** M: +31 6 218 111 43
use the uploaded file pretty
straightforward:
temp-filename: $f[myFile]
filename: $f_name[myFile]
size: $f_size[myFile]
mimetype: $f_type[myFile]
--
* RzE:
***
** Renze Munnik
**
** E: [EMAIL PROTECTED]
** M: +31 6 218 111 43
***
--
PHP General Maili
nce of your own
site. It _can_ make it terribly slow. Draw your own conclusion.
--
* RzE:
***
** Renze Munnik
**
** E: [EMAIL PROTECTED]
** M: +31 6 218 111 43
***
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
lder[0] = "basic";
$folder[1] = "standard";
$folder[2] = "knowledge";
/* -- HASH -- */
$totalsub{"basic"} = 10;
$totalsub{"standard"} = 24;
$totalsub{"knowledge"} = 12;
In this way it's easy to access the totalsub-values:
e.g.:
e rewarding than reaching the goal you set for
yourself"
In order to completely destroy the session:
session_destroy();
No arguments, just void.
--
* RzE:
*******
** Renze Munnik
**
** E: [EMAIL PROTECTED]
** M: +31 6 218 111 43
***
--
of the visitor. You just _cannot_ check that!
--
* RzE:
*******
** Renze Munnik
**
** E: [EMAIL PROTECTED]
** M: +31 6 218 111 43
***
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comm
--
* RzE:
***
** Renze Munnik
**
** E: [EMAIL PROTECTED]
** M: +31 6 218 111 43
***
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-ma
valid user on their system. How funny is that? NOT FUNNY!!!
I still haven't found anything to make 'm stop.
--
* RzE:
***
** Renze Munnik
**
** E: [EMAIL PROTECTED]
** M: +31 6 218 111 43
***
--
PHP General Mailing List (http://www.php.net/)
To unsu
ting a msg on a JavaScript newgroup.
E.g.:
secnews.netscape.com: netscape.devs-javascript
I'm sorry I can't help you out further at the time.
Good luck!
--
* RzE:
***
** Renze Munnik
**
** E: [EMAIL PROTECTED]
** M: +31 6 218 111 43
***
--
PHP General Ma
/ref.session.php
or (Spain):
http://www.php.net/manual/es/ref.session.php
--
* RzE:
***
** Renze Munnik
**
** E: [EMAIL PROTECTED]
** M: +31 6 218 111 43
***
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
domain has an MX-record. Only thing left is whether or not
the user exists on the given mailserver. But for as far as I know
you can't automatically check that.
--
* RzE:
***
** Renze Munnik
**
** E: [EMAIL PROTECTED]
** M: +31 6 218 111 43
**
nning your mailserver and spamming it to death!!
So... you'll just have to accept the username...
--
* RzE:
***
** Renze Munnik
**
** E: [EMAIL PROTECTED]
** M: +31 6 218 111 43
***
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
:
***
** Renze Munnik
**
** E: [EMAIL PROTECTED]
** M: +31 6 218 111 43
***
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail
ump($a);
-
-elias
Hi,
Never tried it either, but from previous postings I remember you
should just be able to use array's with no prob's.
(4 all I can remember i.e.)
* RzE:
***
** Renze Munnik
**
** E: [EMAIL PROTECTED]
** M: +31 6 218 111 43
***
's the case I should disable the compression for each and
every browser that uses HTTP/1.0 instead of only disabling it for
NS.
--
* RzE:
*******
** Renze Munnik
**
** E: [EMAIL PROTECTED]
** M: +31 6 218 111 43
***
--
PHP General Mailing List
HTTP/1.0 is not the problem, NS is.
Another lovely bug from the NS-services.
So
This was a pretty useless try from me.
Thanks for attending me to the very basics of IE-testing (...)
--
* RzE:
***
** Renze Munnik
**
** E: [EMAIL PROTECTED]
** M: +31 6
gzipping for Netscape users. JUST DO IT! Anyone else
who can't handle gzipped stuff will have the good sense to not
announce that it can accept it in the headers.
Renze Munnik wrote:
This error is server-side and only occurs when using HTTP/1.0. So I
was wondering if the HTTP/1.0 can also
I think nl2br() is what you're looking for.
RenzE
Matt Davis wrote:
I have a form that edits the text on a web page by putting the data into a
db and then outputting to the webpage when it is called. When I enter my
text into my form I use the return key to start new lines, but when the
PHP Documentation:
"Note: Session handling was added in PHP 4.0."
RenzE
Sean Weissensee wrote:
How can I create Session Varables, the docs I have read only provide funtions
for PHP4.
Sean Weissensee
Ion Solutions.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Well, try this:
$REMOTE_USER
or
$PHP_AUTH_USER
or
$HTTP_SERVER_VARS["REMOTE_USER"]
or
$HTTP_SERVER_VARS["PHP_AUTH_USER"]
or
$HTTP_SERVER_VARS{"PHP_AUTH_USER"}
or
$HTTP_SERVER_VARS{"REMOTE_USER"}
...make your choice...
RenzE
Rahul Bhide wrote:
PHP3 doesn't support sessions
RenzE
Theo Richel wrote:
Can anyone please tell me why I get the following message: Fatal error: Call
to unsupported or undefined function session_start() in
/www/richel/authent/index.php3 on line 22
Thank you,
Theo Richel
--
PHP General Mailing
Paul Godard wrote:
Hi,
I am finalizing a new web site that needs to be live this week-end
and I still have a problem to receive HTML email send from a web page
using implode in php. Help to fix the problem will be VERY much
appreciated...
Please reply directly to [EMAIL PROTECTED]
Thanks for bringing up this solution. However... I already thought
of this option myself. Problem, though, is that _ALL_ my pages
should be printable. Maybe a very small number of pages will not
have to be printable, but those are so small that the compression
isn't realy necesary. Besides that I
If you _do_ want to use this method for comparing dates (which isn't
realy a usual way of doing it... there date-functions) you should
fill up with leading 0's, like:
$date1="2001-01-07"; $date2="2001-01-14";
The reason is _very_ simple... You performing a text-compare here.
And let's face
Ehhh... do you want to have them all go to the same page after a
submit?
With real submit buttons:
If you don't, you can just change the 'action' of your form at the
moment that someone pushes one of the submit-buttons.
With 'fake' submit buttons:
Otherwise (if they all have to go to the same
A well... what shall I say. I have to agree with you _A LOT_!!!
Netscape ruled, but doesn't anymore. It's a damn shame. They pretty
much stick to the standards (which I like very much) but the program
(browser) is f*cked up.
Anyway... My pages contain some tables about three within each
other.
To get back to your remark about those stats; I just did.
Less than 1% uses NS!
But still... I'd like to have a site that just works!!!
RenzE
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
Okay
ob_start ("ob_gzhandler") is a very cool thing to use. At least when
you write _to much_ code like I do. And it works perfectly
most of the time, i.e.
I've got this problem:
My pages start with the gzhandler (see above) to decrease the amount
of data that should be
Well, you can use the $HTTP_REFERER, but it's not all to reliable.
On Mon, Mar 26, 2001 at 04:13:17PM -0600, Jacky wrote:
Hi all
Is there anyway I can get the domain name where the viwer came from and write it out
on my page?
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than
The JavaScript solution to this:
window.home();
Don't know how to do this in PHP. Don't this that's possible...
RenzE
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list
ands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
Mvg,
Renze Munnik
Manager Business Development
DataLink BV
E-mail : [EMAIL PROTECTED]
Telefoon: 023-532.61.62
Fax : 023-532.21.44
Mobiel : 06-218.111.43
--
PHP General Mailing List
There may not be any headers before you use the 'header' statement.
The header("Location:...") should be the first output you send. You
might want to consider moving the two 'anti-cache' headers after the
header("Location;...") statement.
RenzE.
On Mon, Mar 26, 2001 at 11:06:11PM +0800, E K L
Hi,
Try:
session_start_start();
for a change. If you don't it will never work. Not even with versions
older than 4.03pl1.
RenzE.
On Fri, Mar 23, 2001 at 07:03:37PM +0700, Weerapong Sirikanya wrote:
I have problem about using session with php that have version newer than 4.03pl1.
this is
Oops
Should be:
session_start();
ofcourse, instead of session_start_start();
RenzE.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL
93 matches
Mail list logo