[PHP] session.cookie_path problem

2007-06-10 Thread Lasse Brandt
from the print_r(session_get_cookie_params()) that the cookie has changed its path like it should according to my .htaccess file. Am I missing something obvious? -- Kind Regards Lasse Brandt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: session.cookie_path problem

2007-06-10 Thread Lasse Brandt
browser and going straight to /app1/ and then /app2/ I actually got the correct result. So sorry to disturb you - have a nice day :) -- Kind Regards Lasse Brandt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Getting the name of the Class

2004-05-26 Thread Lasse Cederström
. The use of $this – not working since im not calling it as an object, but to the class directly. Looking forward to someone poking me in the right direction :) Lasse

[PHP] PHP /MySQL problem on SMP machines

2004-04-25 Thread Lasse Laursen
. Regards -- Lasse Laursen · VP, Hosting Technology · NetGroup A/S St. Kongensgade 40H · DK-1264 Copenhagen K, Denmark Phone: +45 3370 1526 · Fax: +45 3313 0066 - Don't be fooled by cheap finnish imitations - BSD is the One True Code -- PHP General Mailing List (http://www.php.net

Re: [PHP] PHP /MySQL problem on SMP machines

2004-04-25 Thread Lasse Laursen
Hi Curt, Thanks for your email - please find answers below: Regards -- Lasse Laursen · VP, Hosting Technology · NetGroup A/S St. Kongensgade 40H · DK-1264 Copenhagen K, Denmark Phone: +45 3370 1526 · Fax: +45 3313 0066 - Don't be fooled by cheap finnish imitations - BSD is the One True Code

[PHP] Parse error: parse error, unexpected '='

2004-04-20 Thread Lasse Motroen
I have received some code and am trying to run it. However, I get the following error: *Parse error*: parse error, unexpected '=', expecting ')' It happens on this line when $args=array() is reached: function array_key_remove($args=array(), $keys=array(),$replacement=NULL) I have php-4.2.2-17

[PHP] mysql_connect

2004-04-20 Thread Lasse Motroen
Help again please. Im trying to connect to MySQL server, using the PHP function: mysql_connect('localhost', 'someuser', 'somePword'); I run it, and what I get is: *Fatal error*: Call to undefined function: mysql_connect() What do I have to do in order to make it work? Im using php-4.2.2-17.

[PHP] mysql_connect

2004-04-20 Thread Lasse Motroen
(I sent this message earlier but I got a message saying that it was not sent, if you did receive it, I appologize for sending it again) Help again please. Im trying to connect to MySQL server, using the PHP function: mysql_connect('localhost', 'someuser', 'somePword'); I run it, and what I get

[PHP] Logging PHP Execution time to a file?

2003-07-14 Thread Lasse Laursen
Hi all, We are debugging some web applications to try to determine where the problems with long execution time is. Is it possible to log the execution time of each script executed to a logfile? The PHP processes are run as FastCGI under Zeus. Regards -- Lasse Laursen VP, Hosting Technology

[PHP] exec(), passthru(), system() and shell_exec() hang.

2003-04-01 Thread Lasse Riis
edited my /etc/sudoers file so that the apache user can execute /sbin/service. It works fine in console (with another username (can't really su to apache)) Help me Lasse Riis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Phpadsnew?

2003-03-27 Thread Lasse Laursen
Hi, No - phpads is a bunch of PHP scripts. So if you have any problems with spawned processes then it's your webserver acting up. Regards -- Lasse Laursen [EMAIL PROTECTED] - Systems Developer NetGroup A/S, St. Kongensgade 40H, DK-1264 København K, Denmark Phone: +45 3370 1526 - Fax: +45 3313

[PHP] Making a location with http authentication

2003-02-10 Thread Lasse Laursen
-- Lasse Laursen [EMAIL PROTECTED] - Systems Developer NetGroup A/S, St. Kongensgade 40H, DK-1264 København K, Denmark Phone: +45 3370 1526 - Fax: +45 3313 0066 - Web: www.netgroup.dk - Don't be fooled by cheap finnish imitations ; BSD is the One True Code -- PHP General Mailing List (http

[PHP] PHP and XML parser (expat)

2002-12-29 Thread Lasse Tarp
checked out the manual and found a tip: libexpat.a: $(OBJS) ar -rc $@ $(OBJS) ranlib $@ but i do not know what to do with it ? How do I get the XML parser to work with PHP ??? Kind Regards Lasse Tarp

Re: [PHP] howw do I programm a PREV Next mechanism in PHP? Help Please!!

2001-10-04 Thread Lasse
have an over-powered under-loaded server? I could use a bit of speed at my own site.. :-) -- Lasse -- 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

Re: [PHP] regex help

2001-07-17 Thread Lasse
I think he means swap... -- Lasse Jack Dempsey [EMAIL PROTECTED] wrote in message 000601c10e81$03aca260$22ebd73f@2pqjp01">news:000601c10e81$03aca260$22ebd73f@2pqjp01... What exactly are you trying to do? Switch around in what way? Jack -Original Message- From: Alvin Tan

Re: [PHP] Do not get any PHP-binary in install?

2001-07-16 Thread Lasse Andersson
No it isn't there either. My configure, make and make install do not seem to create a 'php' binary. Lasse Scott wrote: i know it's silly to ask -- but did you look for php in /usr/local/bin/ -Original Message- From: Lasse Andersson [mailto:[EMAIL PROTECTED]] Sent: Monday

[PHP] Re: Popquiz...

2001-07-12 Thread Lasse
Elias [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... How you mean *in it's original form* ? Lasse [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... ..Or call it a riddle.. Whatever... :-) What did the fol

[PHP] Bit-flags in tables?

2001-07-11 Thread Lasse
and attributes? Also, are there any other caveats I should know about? (e.g. PHP's handling of integers) Back in the good ol' 680x0 ASM days this was so easy! :-) TIA -- Lasse -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

[PHP] Re: Mail Bcc to a $variable?

2001-07-11 Thread Lasse
Are $recipients ;-seperated properly? -- Lasse Marcus James Christian [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello, Ok I've got a script going to a Bcc but can't seem to get it to work when it's like this? ?php include(mailinglist.inc); $re

[PHP] Re: HTML tags in database fields

2001-07-11 Thread Lasse
function you'll also be able to accept more tags like TABLE and DIV (with some attribute filtering) since their (more or less) unlikely to cause trouble as long as their properly closed... -- Lasse -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

[PHP] Popquiz...

2001-07-11 Thread Lasse
...Or call it a riddle.. Whatever... :-) What did the following code look like in it's original form? function bitdef($prefix, $name, $bitnum) { define($prefix.B_.$name, $bitnum); define($prefix.F_.$name, 1 $bitnum); } -- Lasse -- PHP General Mailing List (http://www.php.net

[PHP] Re: Function? How to find if xy values are within a coordinates of polygon?

2001-07-11 Thread Lasse
com/tips/point_in_polygon.html -- Lasse -- 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] Mail Bcc to a $variable?

2001-07-11 Thread Lasse
! Missed that one... :-) -- Lasse -- 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]

[PHP] Re: flat file db

2001-07-10 Thread Lasse
Put it outside webscope, that way it won't be possible to browse the db-file directly... -- Lasse Jon Yaggie [EMAIL PROTECTED] wrote in message 030101c1095b$f235f1a0$0100a8c0@piiimonster">news:030101c1095b$f235f1a0$0100a8c0@piiimonster... i am setting up a flat file database.

[PHP] Re: Object oriented if statements

2001-07-10 Thread Lasse
(PrintFormat2); } -- Lasse Patterson Liddle [EMAIL PROTECTED] wrote in message 00ac01c10967$52da3c40$ec0687d9@patlid">news:00ac01c10967$52da3c40$ec0687d9@patlid... I wonder if someone would be kind enough to explain why, if $record-Subject2 sometimes contains

Re: [PHP] Next Book

2001-07-08 Thread Lasse
finetely not a beginner's book though... Also it has a chapter on hacking the PHP core contatining information you probably won't find anywhere else... -- Lasse -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL P

[PHP] Re: when to delete a temporary file ?

2001-07-08 Thread Lasse
rol over your sessions... -- Lasse -- 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_alpha_numeric ?

2001-07-06 Thread Lasse
scott [gts] [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... you could also use this: function is_alphanum($data) { return preg_match('/^\w+$/', $data); } Watch out though... IIRC \w also includes underscore... -- Lasse -- PHP General Mail

[PHP] Re: when to delete a temporary file ?

2001-07-06 Thread Lasse
on isn't alive anymore and delete them. Since the corresponding session is dead anyway the image can be safely deleted... Or am I missing something? -- Lasse -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL P

[PHP] Re: Must Have Cookies. PHP/JavaScript

2001-07-06 Thread Lasse
Um... Can't you just set a cookie and see if you get it back on the next page load? -- Lasse Jeff Gannaway [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... OK, I'm working on a site that absolutely must use a cookie containing a session identifier. I

Re: [PHP] search

2001-07-03 Thread Lasse
. Actually strings are also arrays (at least in PHP4)... Try this for example: $s = 'dogs'; echo $s[strlen($s)-1]; HTH -- Lasse -- 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

[PHP] Upload user account

2001-03-13 Thread Lasse Laurila
On what user account are PHP uploads handled? I tested the upload script from PHP docs and it worked fine only if I gave the world write access to the destination directory (the one I moved the file with move_uploaded_file() function). How should this be done safely? Lasse -- PHP General