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
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
.
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
.
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
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
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
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.
(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
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
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
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
--
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
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
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
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
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
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
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
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
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
...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
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]
! 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]
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.
(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
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
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]
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
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
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
.
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
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
32 matches
Mail list logo