[PHP] Comparison Problems with 5.2.5

2007-12-30 Thread Magnus Anderson
Hi, I have runned into a slight annoying problem with my code, that I have never had before. Either I have something wrong in my code or PHP 5.2.5 that I user is acting weird in windows. I have recently installed PHP on my windows machine for local developement instead of a remote server. What

[PHP] Check valid chars in string

2002-12-02 Thread magnus nilsson
: 3.23.51 // magnus n. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] strange parse error at EOF

2002-12-01 Thread Bård Magnus Fauske
.). I use ?php ? as start/end tags in php Address to webpage: http://studorg.nlh.no/storband/wopen.php Address where you can download the file http://studorg.nlh.no/storband/docs/wopen_was_php Bård Magnus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Upload wont work, OS X

2002-11-29 Thread magnus nilsson
I have trouble using upload scripts - none of them work on my current config. I'vq got php 4.2.3 and global registerd = off. The problem is that the script doesnt send the variable $_FILES['my_file'] as it should. I can only upload if i hard code the filename into the script. OS: OS X 10.2

Re: [PHP] Upload wont work, OS X

2002-11-29 Thread magnus nilsson
It works, partially. I can upload the file, but it's named array. On fredag, nov 29, 2002, at 16:28 Europe/Stockholm, Beth Gore wrote: Hi Magnus, Your problem was you weren't using the correct part of the $_FILES array when using copy(); Cut and Past This: if ($ok){ $res = copy

[PHP] DomDocument-dump_file don't work!

2002-10-25 Thread Magnus Stålberg
I can't get the DomDocument-dump_file($file, false, true); to work.! help needed! Everyting else works just fine. Running IIS5 PHP 4.2.3 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] unless something...

2002-09-12 Thread Magnus Solvang
I'm used to the unless-statement in perl... How do I do this: if string A or B are NOT in string C, then do something and quit. In perl, I would do this: unless ($c =~ /$a|$b/) { blabla exit 0 } - M -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Checking Insert to Postgre, whats wrong?

2002-07-28 Thread Bård Magnus Fauske
above, not the whole string. What is the reason for this? Has it something to do with the pg_last_oid()? I can't see how since this only identify the inserted row (or am I wrong?) which I select afterwards. Thanks for answer. Bård Magnus -- PHP General Mailing List (http://www.php.net

[PHP] mail() returned a strange error, what is this?

2002-05-30 Thread Magnus Hammar
on line 216 -- Can anyone explaun why I get these errors, mail() with sendmail is working fine with other php-sites on the server... Thanks. /Magnus Hammar -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Re: Serious problem with Cookies..

2001-11-15 Thread Magnus
always delete them if he wants to. Thanks. /Magnus Hammar -- 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] Need a little help with IMAP (OT?)

2001-11-14 Thread Magnus
. /Magnus Hammar -- -- 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] SSL and PHP = problems?

2001-09-11 Thread Magnus
or is it because of the SSL, or do you have any other sugestions? I find it hard to beleve that it is because of the programming because before the SSL-connection when I only have a regular HTTP-connection there were never any problems, and it works fine with MacOS users. Please help! ;) Thanks. /Magnus Hammar

Re: [PHP] Cookie Not Setting..

2001-07-11 Thread Magnus Hammar
. To really see if the cookie is set you can use Netscape and let it warn you before accepting a cookie, in that way you will see the cookiename and it's value and then you can be sure the cookie is set. 4. You can do the same thing with IE. /Magnus Hammar - The cookiemonster

[PHP] SMTP-access with PHP...

2001-06-20 Thread Magnus Hammar
); fputs($smtp_connection, Content-Type: text/plain; charset=iso-8859-1\n); fputs($smtp_connection, Content-Transfer-Encoding: 8bit\n); fputs($smtp_connection, X-mailer: Magnus Mail); fputs($smtp_connection, \n\n); fputs($smtp_connection, $bodyn\n\r); fputs($smtp_connection, ); $return_value

Re: [PHP] SMTP-access with PHP...

2001-06-20 Thread Magnus
Den 01-06-20 18.28, skrev Andreas D. Landmark [EMAIL PROTECTED]: Contact your mailserver admin and get him/her to open for relay from the IP of your webserver. Thanks, I'll try that and see what will happen. Sincerely, /Magnus Hammar -- -- PHP General Mailing List (http

[PHP] carriage return (writing files)

2001-05-09 Thread Magnus Lawrie
hello, I'm writing to files with php. How do I include a carriage return, i.e. write strings to different lines in a text file? Thanks, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

[PHP] slashes \ appearing

2001-05-04 Thread magnus lawrie
I am using a form to test posting a variable. If my variable looks like this in script post_var.php3 : stringinaaform then it comes out like this in recieve.php3 : \stringinaaform\ why? thanks in advance. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] appended with \

2001-05-04 Thread magnus lawrie
I am using a form to test posting a variable. If my variable looks like this in script post_var.php3 : stringinaaform then it comes out like this in recieve.php3 : \stringinaaform\ why? thanks in advance. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL