[PHP-WIN] Re: cURL: curl_exec returning chopped up result on a POST operation

2002-07-11 Thread Per
ith EAPI. Other than that, no other problems. > > I'm wondering if there is a buffering problem somwhere but I havent found any >mention of this > on any lists > > > There has been a buffer problem with the curl module but it should be fixed in CVS. I' not su

[PHP-WIN] Re: Trapping PHP errors

2002-07-11 Thread Per
gt; > Look in chapter 15 Error Handling in the documentation, there is an example that might help you. /Per -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] second argument in strtotime seems to have no effect

2002-07-11 Thread Per
Second argument in strtotime seems to have no effect. strtotime("2001-02-02 12:01:01",98700); strtotime("2001-02-02 12:01:01",1000); strtotime("2001-02-02 12:01:01",time()); strtotime("2001-02-02 12:01:01"); all gives the same output: 9811116

[PHP-WIN] Get rid of session id in url when using session_set_save_handler

2002-07-19 Thread Per
of it in the URL? /Per -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Compiling PHP under Windows

2003-01-10 Thread Per Lundberg
/ftp.c. Does anyone recognize this, and does anyone have a proper fix? -- Best regards, Per Lundberg / Capio ApS Phone: +46-18-4186040 Fax: +46-18-4186049 Web: http://www.capio.com -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Re: Compiling PHP under Windows

2003-01-10 Thread Per Lundberg
reason, I didn't see these build instructions; I took for granted that it would be in the source archive itself... I'll try following these instructions and let's see what turns out. -- Best regards, Per Lundberg / Capio ApS Phone: +46-18-4186040 Fax: +46-18-4186049 Web: http:

[PHP-WIN] Trouble with php4ts.dll

2003-01-13 Thread Per Lundberg
o I'm suspecting the thread safety code that's broken. Any hints? -- Best regards, Per Lundberg / Capio ApS Phone: +46-18-4186040 Fax: +46-18-4186049 Web: http://www.capio.com -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] php.ini

2003-01-13 Thread Per Lundberg
Apache httpd.conf is set to All for this to work. And, remember that using .htaccess is fairly slow; it would be better to add directives in the Apache config for your directories. -- Best regards, Per Lundberg / Capio ApS Phone: +46-18-4186040 Fax: +46-18-4186049 Web: http://www.capio.com

Re: [PHP-WIN] initialize variables

2003-01-14 Thread Per Lundberg
suggest to go to the local library (if you have one) or a book shop and borrow/buy a book about the basic concepts of computer programming. It will be wortwhile and save you a lot of time in the long run. -- Best regards, Per Lundberg / Capio ApS Phone: +46-18-4186040 Fax: +46-18-4186049 We

Re: [PHP-WIN] Configuring a web server I haven't written yet...

2003-01-24 Thread Per Lundberg
politely (i.e. without using profane/blasphemous language) if you have any other questions. -- Best regards, Per Lundberg / Capio ApS Phone: +46-18-4186040 Fax: +46-18-4186049 Web: http://www.capio.com -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Politely?

2003-01-27 Thread Per Lundberg
anything other than polite? It was stated in the email from me that you quoted: > ... so you may email me politely (i.e. without > using profane/blasphemous language) if you have any other questions. Be polite = do not use profane/blasphemous language. Simple courtesy. -- Best regards,

Re: [PHP-WIN] Re: How do i load my new activex dll?

2003-01-30 Thread Per Lundberg
ts in your php.ini in c:\servers\root\php_nuke\md5.php on line 7 You should not use dl() for loading just any kind of DLL:s, but rather PHP extensions. What kind of error did you get when trying to use the COM support? -- Best regards, Per Lundberg / Capio ApS Phone: +46-18-4186040 Fax: +46-18-41

Re: [PHP-WIN] how to make php4ts.dll act as a module of vb6 program?

2003-02-07 Thread Per Lundberg
"plug and play" like with other stuff; you might be required to write a wrapper in C to implement some of the PHP4 callbacks. But, it is definitely doable. -- Best regards, Per Lundberg / Capio ApS Phone: +46-18-4186040 Fax: +46-18-4186049 Web: http://www.capio.com -- PHP Windows Ma

Re: [PHP-WIN] how to make php4ts.dll act as a module of vb6 program?

2003-02-07 Thread Per Lundberg
ch as "Dependency Walker" (included in Visual Studio). -- Best regards, Per Lundberg / Capio ApS Phone: +46-18-4186040 Fax: +46-18-4186049 Web: http://www.capio.com -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] how to make php4ts.dll act as a module of vb6 program?

2003-02-10 Thread Per Lundberg
; it may or may not be a trivial task. -- Best regards, Per Lundberg / Capio ApS Phone: +46-18-4186040 Fax: +46-18-4186049 Web: http://www.capio.com -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] dom

2003-02-10 Thread Per Lundberg
There should be a line (commented out) listing php_domxml.dll. -- Best regards, Per Lundberg / Capio ApS Phone: +46-18-4186040 Fax: +46-18-4186049 Web: http://www.capio.com -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] site navigation with odbc mssql7

2003-02-10 Thread Per Lundberg
[EMAIL PROTECTED] wrote: we need example for site navigation (for database, we use odbc and MSSQL 7), Be more specific. What kind of site navigation? A javascript menu, a HTML site map or something else? What kind of help are you looking for, a table design? -- Best regards, Per Lundberg

RE: [PHP-WIN] reading lines from a file

2003-02-12 Thread Per Lundberg
on doing this with C/C++, which would be my natural choose > when writing a cmd line parser. But then again, doing the parser would be a much more time-consuming process. And even worse, we're on the wrong mailing list for that... :) -- Best regards, Per Lundberg / Capio ApS Phone: +46-18-41

Re: [PHP-WIN] quotes and backslashes

2003-02-12 Thread Per Lundberg
rself on the subject. I think it will work straight off if you remove the rawurlencode() or change the setting of magic_quotes_gpc to off (but be aware that this can be a HUGE security risk if your code is not well-written). -- Best regards, Per Lundberg / Capio ApS Phone: +46-18-4186040 Fax: +46

Re: [PHP-WIN] Problems installation of Apache 2.0.44

2003-02-18 Thread Per Lundberg
File/Apache Group/Apache2/conf/ > httpd.conf: > cannot load c:/php-4.3.0-win32/sapi/php4apache.php into serve: the specificied >module cannot be found." The file is called php4apache.dll, not .php -- Best regards, Per Lundberg / Capio ApS Phone: +46-18-4186040 Fax: +46-18-41

Re: [PHP-WIN] Information not being correctly parsed

2003-02-19 Thread Per Lundberg
my settings. Any ideas? The default value of register_globals has changed. This means that a POST variable called "test" will now be in $_POST["test"] and not $test. You can change this behaviour in php.ini if you like but it is not recommended; rather, rewrite your code. -- Best reg

[PHP-WIN] Re: why is this mail code not working on a windows server?

2003-02-22 Thread Per Christian
It does not look like you have set the SMTP-port in the code you use below... Try to set the port too and see if that helps Best Regards, Per Christian "Cathy" <[EMAIL PROTECTED]> skrev i melding news:[EMAIL PROTECTED] > Hi, > I'm getting rather desperate about

[PHP-WIN] Duplicate entry removal

2003-02-22 Thread Per Christian
on or some code that removes duplicate entries from a array? Best Regards, Per Christian -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Forget it...

2003-02-22 Thread Per Christian
Just forget it... I figured it out myself "Per Christian" <[EMAIL PROTECTED]> skrev i melding news:[EMAIL PROTECTED] > Hi > > I'm building a PHP project for fun, and are going to get some dates from my > database (mysql). > The problem is that I only want the

[PHP-WIN] Re: The inevitable LoadModule problem

2003-02-23 Thread Per Christian
orked fine for me. Best Regards, Per Christian "Rotsky" <[EMAIL PROTECTED]> skrev i melding news:[EMAIL PROTECTED] > Okay, I know you've all heard this one before, but I'm really new to all > this, can't really claim to be a programmer and am on a steep learning &

Re: [PHP-WIN] Re: Subject: Disable FTP in Win32 Binary ?

2003-02-26 Thread Per Lundberg
TP functions to the list). You can of course do > this better by per-site configuration in Apache httpd.conf This is not enough to stop FTP; it is easy to write an FTP client in PHP if someone wanted to. What you would effectively need to stop is all socket access from PHP. -- Best regards, Pe

Re: [PHP-WIN] not serving css styles?, css not showing up on localdev box

2003-02-27 Thread Per Lundberg
at it could be a bad MIME configuration. CSS files should be sent as text/css. This is configured in mime.types in Apache. Mozilla will print a warning message about this in the Javascript console, so you can look there and see what you get. -- Best regards, Per Lundberg / Capio ApS Phone: +46

Re: [PHP-WIN] PHP as CSS Stylesheet - broken in IE6/PHP 4.3.x

2003-03-28 Thread Per Lundberg
text/css"); -- Best regards, Per Lundberg / Capio ApS Phone: +46-18-4186040 Fax: +46-18-4186049 Web: http://www.capio.com signature.asc Description: This is a digitally signed message part

Re: [PHP-WIN] PHP as CSS Stylesheet - broken in IE6/PHP 4.3.x

2003-03-28 Thread Per Lundberg
On Fri, 2003-03-28 at 13:15, Isetro Savi wrote: > On Fri, Mar 28, 2003 at 10:45:10AM +0100, Per Lundberg wrote: > > Do you have something like this in your PHP code? > > > > header("Content-type: text/css"); > > I did not have that in the stylesheet, but

Re: [PHP-WIN] PHP as CSS Stylesheet - broken in IE6/PHP 4.3.x

2003-03-31 Thread Per Lundberg
before the starting tag (like debug messages and such). I don't know if this is the cause of your problems (it might not be) but it might be worth at try. Try also using a blank page (or as blank as possible) that includes the CSS to make sure there is nothing that interferes somehow. -- B

Re: [PHP-WIN] doing $mc=new myclass(); or $mc= &new myclass(); ?

2003-06-06 Thread Per Lundberg
On Fri, 2003-06-06 at 11:23, Peter Misun wrote: > need help: > what do you suggest to use: > > $mc = new myclass(); > or > $mc = &new myclass(); The first form will copy the object. If you don't want this, use the second form. -- Best regards, Per Lundberg / Capi

Re: [PHP-WIN] Re: Display new Page after Form is processed

2003-06-06 Thread Per Lundberg
On Fri, 2003-06-06 at 18:19, Cristian MARIN wrote: > Yes,you can, I just did it. I don't know if it is because I use > php4.3.2 or what is the cause You probably have some form of output buffering enabled. -- Best regards, Per Lundberg / Capio ApS Phone: +46-18-4186040 Fax: +46-18-

Re: [PHP-WIN] Installation problems...

2003-06-02 Thread Per Lundberg
p://www.phpmyadmin.net. It will let you access your MySQL databases from a web browser, and also do user management etc. (Regarding your other question, about only listening on the local interface: I don't know much about Apache 2, but look in the configuration for the BindAddress directive) --

Re: [PHP-WIN] Best way to upgrade?

2003-06-03 Thread Per Lundberg
am regularly on Windows and it works like a charm. It is also Open Source/free software, just like PHP itself. -- Best regards, Per Lundberg / Capio ApS Phone: +46-18-4186040 Fax: +46-18-4186049 Web: http://www.nobolt.com signature.asc Description: This is a digitally signed message part

Re: [PHP-WIN] Re: Undefined variables

2003-06-16 Thread Per Lundberg
these are very bad advice. Why not fix the code instead of relying on bad and deprecated functionality? -- Best regards, Per Lundberg / Capio ApS Phone: +46-18-4186040 Fax: +46-18-4186049 Web: http://www.nobolt.com signature.asc Description: This is a digitally signed message part

Re: [PHP-WIN] Re: Undefined variables

2003-06-17 Thread Per Lundberg
PWS web servers. And now, today, many people are connected to the Internet using broadband connections, where their machines are accessible through the Internet all day long. Using an operating system that was never designed for this kind of environment. Oh, how I wish that Microsoft would just

Re: [PHP-WIN] Install

2003-06-18 Thread Per Lundberg
ourself. But then again, that doesn't mean that it cannot work. I have had it running on Linux for quite a while now with very few problems. I recommend going with option (1) since you seem to say you don't have very much experience setting PHP up. -- Best regards, Per Lundberg / Capio

RE: [PHP-WIN] Install

2003-06-19 Thread Per Lundberg
asier to break) way of doing things. That's actually not a bad idea at all. It will make the code easier to port do other database engines in the future as well. -- Best regards, Per Lundberg / Capio ApS Phone: +46-18-4186040 Fax: +46-18-4186049 Web: http://www.nobolt.com signature

Re: [PHP-WIN] Upgrading to MySQL 4.1 or higher worried aboutclients

2003-06-25 Thread Per Lundberg
e to use the ODBC driver for MySQL, but that will likely not be at all as fast as the native driver. -- Best regards, Per Lundberg / Capio ApS Phone: +46-18-4186040 Fax: +46-18-4186049 Web: http://www.nobolt.com signature.asc Description: This is a digitally signed message part

Re: [PHP-WIN] E-Mail Attachments...

2003-07-31 Thread Per Lundberg
On Thu, 2003-07-31 at 19:14, Guru wrote: > Hi, > > Are there any efficient ways fo attaching files to e-mails and sending them > using mail() function... please help Try phpmailer. http://phpmailer.sf.net -- Best regards, Per Lundberg / Capio ApS Phone: +46-18-4186040 Fax: +46-18

[PHP-WIN] Problem uploading files...

2001-01-18 Thread Per Nielsen
adHandle.php It seems that PHP is trying to fetch the file from the same directory as where my "form" and "php-scrip"t are placed and NOT from the chosen directory on client's directory! What am I doing wrong? Per -- Code and config below --- The Code === The

[PHP-WIN] Re: Uploading files...Solved

2001-01-19 Thread Per Nielsen
Well... My problem uploading files is now solved. The problem was my restriction in file size in my upload form and the size of the file I picked for uploading. Well needless to say that I feel a bit more than ordinary stupid right now. Not the first time though... Per

[PHP-WIN] SV: File Uploading

2001-02-05 Thread Per Nielsen
ed to handle each file separately in your php-file. Best regards, Per The code: === --- File: form.html --- Upload Send this file: --- File: uploadhandle.php --- "); echo($userfile); if (copy($userfile, "upload.txt")) { echo("The file is now uploaded...