Re: [PHP] basename()

2001-08-21 Thread Renze Munnik
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

Re: [PHP] Date Functions

2001-08-20 Thread Renze Munnik
)); - 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

Re: [PHP] could i get a clue?

2001-08-16 Thread Renze Munnik
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

Re: [PHP] session security issue

2001-08-16 Thread Renze Munnik
. -- * 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

Re: [PHP] Fussy logic...

2001-08-16 Thread Renze Munnik
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

Re: [PHP] Fussy logic...

2001-08-16 Thread Renze Munnik
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

Re: [PHP] Unix vs PC test for server

2001-08-16 Thread Renze Munnik
{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

Re: [PHP] session security issue

2001-08-15 Thread Renze Munnik
) 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

Re: [PHP] Onclick and PhP

2001-08-15 Thread Renze Munnik
=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

Re: [PHP] Onclick and PhP

2001-08-15 Thread Renze Munnik
! -- * 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

Re: [PHP] error

2001-08-15 Thread Renze Munnik
. 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

Re: [PHP] could i get a clue?

2001-08-15 Thread Renze Munnik
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

Re: [PHP] could i get a clue?

2001-08-15 Thread Renze Munnik
: -- -- 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

Re: [PHP] session_questions() part IV

2001-08-14 Thread Renze Munnik
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

Re: [PHP] Re: prob with session start

2001-08-14 Thread Renze Munnik
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

Re: [PHP] session security issue

2001-08-14 Thread Renze Munnik
$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

Re: [PHP] could i get a clue?

2001-08-14 Thread Renze Munnik
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

Re: [PHP] Meta Tags and Regular Expressions

2001-08-13 Thread Renze Munnik
: -- -- 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

Re: [PHP] Having my script login to a secure area of another site.....

2001-08-13 Thread Renze Munnik
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

Re: [PHP] plz check the warning message

2001-08-13 Thread Renze Munnik
() 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

[PHP] Re: prob with session start

2001-08-13 Thread Renze Munnik
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

Re: [PHP] How to get the query string?

2001-08-13 Thread Renze Munnik
}: 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

Re: [PHP] session_start() part II

2001-08-13 Thread Renze Munnik
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

Re: [PHP] session_start() part III

2001-08-13 Thread Renze Munnik
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

Re: [PHP] Printing

2001-08-10 Thread Renze Munnik
(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

Re: [PHP] plz check the warning message

2001-08-10 Thread Renze Munnik
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

Re: [PHP] plz check the warning message

2001-08-10 Thread Renze Munnik
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

Re: [PHP] plz check the warning message

2001-08-10 Thread Renze Munnik
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

Re: [PHP] plz check the warning message

2001-08-10 Thread Renze Munnik
'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

Re: [PHP] RE: help, weird include problem with functions

2001-08-10 Thread Renze Munnik
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

Re: [PHP] checking for null form fields fails

2001-08-09 Thread Renze Munnik
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

Re: [PHP] RE: help, weird include problem with functions

2001-08-09 Thread Renze Munnik
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

Re: [PHP] correct date (cont.)

2001-08-09 Thread Renze Munnik
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

Re: [PHP] RE: help, weird include problem with functions

2001-08-09 Thread Renze Munnik
: -- -- 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

Re: [PHP] checking for null form fields fails

2001-08-08 Thread Renze Munnik
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

Re: [PHP] checking for null form fields fails

2001-08-08 Thread Renze Munnik
-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

Re: [PHP] checking for null form fields fails

2001-08-08 Thread Renze Munnik
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

Re: [PHP] user's ip

2001-08-08 Thread Renze Munnik
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

Re: [PHP] Passing HTTP_POST from one script to another

2001-08-08 Thread Renze Munnik
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

Re: [PHP] Bug?

2001-08-08 Thread Renze Munnik
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

Re: [PHP] Bug?

2001-08-08 Thread Renze Munnik
; $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

Re: [PHP] checking for null form fields fails

2001-08-07 Thread Renze Munnik
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

Re: [PHP] Currency help

2001-08-07 Thread Renze Munnik
: 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

Re: [PHP] PHP inside code problem

2001-08-07 Thread Renze Munnik
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

Re: [PHP] user's ip

2001-08-07 Thread Renze Munnik
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

Re: [Re: [PHP] user's ip]

2001-08-07 Thread Renze Munnik
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

Re: [PHP] function into string

2001-08-07 Thread Renze Munnik
: -- -- 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

Re: [PHP] IP Address

2001-08-07 Thread Renze Munnik
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

Re: [PHP] IP Address

2001-08-07 Thread Renze Munnik
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

Re: [PHP] IP Address

2001-08-07 Thread Renze Munnik
. -- * 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

Re: [PHP] checking for null form fields fails

2001-08-07 Thread Renze Munnik
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

Re: [PHP] Call to undefined function: imap_open()

2001-08-06 Thread Renze Munnik
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

Re: [PHP] HTTP_POST_VARS variable names?

2001-04-18 Thread Renze Munnik
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

Re: [PHP] syntax

2001-04-12 Thread Renze Munnik
: *** ** 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]

Re: [PHP] assignment operator works for comparison??

2001-04-11 Thread Renze Munnik
;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:

Re: [PHP] string comparsion inf

2001-04-11 Thread Renze Munnik
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

Re: [PHP] php - html

2001-04-10 Thread Renze Munnik
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

Re: [PHP] apostrophe checks

2001-04-09 Thread Renze Munnik
? 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

Re: [PHP] Help w/Error Message

2001-04-06 Thread Renze Munnik
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 **

Re: [PHP] Re: Error message

2001-04-06 Thread Renze Munnik
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

Re: [PHP] file upload question

2001-04-05 Thread Renze Munnik
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

Re: [PHP] More Email ereg Validation

2001-04-05 Thread Renze Munnik
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]

Re: [PHP] Is their a function for this?

2001-04-05 Thread Renze Munnik
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.:

Re: [PHP] how do I delete session

2001-04-05 Thread Renze Munnik
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 *** --

Re: [PHP] Validation Email in PHP programs

2001-04-04 Thread Renze Munnik
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

Re: [PHP] a PHP fucntion like window.confirm(Click OK to continue. Click Cancel to stop.);

2001-04-04 Thread Renze Munnik
-- * 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

Re: [PHP] stop these solfix.net messages

2001-04-04 Thread Renze Munnik
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

Re: [PHP] HOWTO: Dynamically Create A Form

2001-04-04 Thread Renze Munnik
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

Re: [PHP] Global Variables

2001-04-03 Thread Renze Munnik
/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

Re: [PHP] Validation Email in PHP programs

2001-04-03 Thread Renze Munnik
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 **

Re: [PHP] Validation Email in PHP programs

2001-04-03 Thread Renze Munnik
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

Re: [PHP] Shell Programming with PHP, but where is the PHP?

2001-04-03 Thread Renze Munnik
: *** ** 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

Re: [PHP] Array in Session-Vars?

2001-03-30 Thread Renze Munnik
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 ***

[PHP] GZip: NS or HTTP/1.0

2001-03-30 Thread Renze Munnik
'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

Re: [PHP] GZip: NS or HTTP/1.0

2001-03-30 Thread Renze Munnik
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

Re: [PHP] GZip: NS or HTTP/1.0

2001-03-30 Thread Renze Munnik
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

Re: [PHP] Line breaks in PHP

2001-03-29 Thread Renze Munnik
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

Re: [PHP] Session Varables with PHP3

2001-03-29 Thread Renze Munnik
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,

Re: [PHP] sessions and REMOTE_USER

2001-03-29 Thread Renze Munnik
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:

Re: [PHP] fatal error

2001-03-29 Thread Renze Munnik
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

Re: [PHP] Need urgent help... Send HTML with jpg/gif page with php

2001-03-29 Thread Renze Munnik
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]

Re: [PHP] GZip + NS + Print = Trouble

2001-03-28 Thread Renze Munnik
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

Re: [PHP] comparing dates works sometimes and fails another time!

2001-03-28 Thread Renze Munnik
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

Re: [PHP] JavaScript and Submit

2001-03-28 Thread Renze Munnik
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

Re: [PHP] GZip + NS + Print = Trouble

2001-03-28 Thread Renze Munnik
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.

Re: [PHP] GZip + NS + Print = Trouble

2001-03-28 Thread Renze Munnik
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

[PHP] GZip + NS + Print = Trouble

2001-03-27 Thread Renze Munnik
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

Re: [PHP] get the domain to display on my page

2001-03-26 Thread Renze Munnik
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

Re: [PHP] about:home

2001-03-26 Thread Renze Munnik
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

Re: [PHP] reading a URL...

2001-03-26 Thread Renze Munnik
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

Re: [PHP] Header Problem...

2001-03-26 Thread Renze Munnik
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

Re: [PHP] session don't work with php that have version more than 4.03pl1

2001-03-23 Thread Renze Munnik
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

Re: [PHP] session don't work with php that have version more than 4.03pl1

2001-03-23 Thread Renze Munnik
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