[PHP] RE: Lists are back up

2001-06-20 Thread Henrik Johansson
Title: RE: Lists are back up





Hi Rasmus!


Thank You for sharing that; I was beginning to fear that I had been permanetly banned. ;-)
Good work!


Best Regards,
Henrik J.


--
From:   Rasmus Lerdorf[SMTP:[EMAIL PROTECTED]]
Sent:   den 18 juni 2001 21:15
To:     [EMAIL PROTECTED]
Subject:    Lists are back up


We have re-enabled the PHP mailing lists.  They are now running from a
temporary machine sitting on the floor of my spare bedroom.  A more
permanent home is in the works.


-Rasmus





[PHP] Redirect?

2002-01-16 Thread Henrik Johansson

Hi!
How do I do a redirect to a different location in PHP?

Regards
Henrik Johansson


-- 
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] Inquiry on sql query class.

2002-08-19 Thread Henrik Johansson

Hi.

I am constructing a somewhat generic class to contain all queries needed to
make a self sustaining base to
conform for a larger purpose.

Basically I am quite new to the concept of writing classes, which doesn´t
have much to do with this inquiry though.
One of the issues I ran into was how to handle possible multiple selections
from an sql query without putting
in a lot of if statements or switches to accomodate this. Instead I´ve taken
the approach of using the "explode/implode" array handler to overcome this. 
Consider a very simple query: "SELECT foo,bar FROM table ORDER BY foo asc;".
Suppose the "foo" and "bar" was assigned to the array "fields" in the HTML
form (the fields would of course be checked against the table and that
sufficient privileges existed for the logged in user, before trying to
perform the query.), would the "$selected_fields = implode(",",$fields);"
followed by "$sql_query = "SELECT $selected_fields FROM table ORDER BY foo
asc;";" be a proper way of handling this issue or am I in over my head?

Cheers,
Henrik J.




RE: [PHP] SSL Support for PHP....

2002-06-14 Thread Henrik Johansson

Hi.

You probably want to use Windows 2000 Server instead; after all, Windows XP
is
more or less targeted against workstations and home use (as of yet). It may
need some tweaking to be suitable for server-use. Consider the complexity of
all DCOM+ components that coexist and rely on various services to excel in
performance and functionality.

I doubt this neither, is of any real use. Just my thoughts on the subject,
and my
practical experience with IIS 5/PHP is limited.

Cheers,
Henrik J.

-Original Message-
From: Chris Bunting [mailto:[EMAIL PROTECTED]]
Sent: den 14 juni 2002 10:41
To: [EMAIL PROTECTED]
Subject: Re: [PHP] SSL Support for PHP


Hello,
  I'm not to sure about the servers. I use Windows XP Pro and I'm coding and

stuff offline to learn more about php, lasso and mysql. I've been doing this

awile now but I've had problems with various php/mysql scripts. I usually 
get scripts from hotscripts.com and have prolly about 100 different programs

running. Just messing moreless.

On IIS 5.0 that comes with WINXP Pro, I ran IIS5.0, MySQL, PHP and Lasso. 
Every once in a while, IIS would hang and would not do anything at all. This

happened on many propular scripts such as php nuke.

I have also ran the same configuration above along with Cold Fusion and 
tried, Xitami (imatix.com), Omnihttpd, and Apache..

All these servers ran well with no problems. Xitami is slow, Apache is much 
better but I don't care much for non gui stuff, and Omnihttpd is the fastest

in my opinion.

However, I'm only using this software on a home computer, Gateway 1.5 MHZ 
with 512 MB ram. I am now using apache again on WINXP PRO and all has been 
well for now.

Personally, I like IIS although it does get slow on smaller servers with 
alot of traffic. ASP and the likes slow it down to much for me but other 
than that, there is alot of documentation for seting it up to run various 
programs such as Cold Fusion, Lasso, Php ect.

I know this isn't much help. It's just my thoughts on what I've went through

recently and just my general thoughts on the server. Remember, Apache on 
WIN2K or any windows machine isn't nearly as fast as on linux.

Chris

_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Execute AppleScript

2002-03-21 Thread Henrik Johansson

Is this possible from php?
Regards,
Henrik

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] 'Embedding' a PDF file

2001-04-17 Thread Henrik Johansson

Hi alexis.

Yes, with Internet Explorer equipped with the shell-integration component in
a Windows
environment, this is possible with the Adobe Acrobat plugin.
For Netscape, this is not currently (to my knowledge) an option.
Further, to display a pdf-document in only a part of IE, the easiest way, i
guess, would be
to use frames as a base for Your HTML/PHP-documents.

Best Regards,
Henrik Johansson! 

> --
> From: Alexis Antonakis[SMTP:[EMAIL PROTECTED]]
> Reply To: [EMAIL PROTECTED]
> Sent: den 17 april 2001 11:32
> To:   Php-General@Lists. Php. Net
> Subject:  [PHP] 'Embedding' a PDF file
> 
> Hi,
> 
> I've got a couple of questions relating to PDF files.
> 
> Firstly, to display a PDF file in your browser, I presume that you must
> have
> a 'plug-in' installed?
> 
> Secondly, is it possible to display a PDF file within a table, as I have
> only ever seen them fill up the entire browser?
> 
> TIA
> Alexis
> 
> 
> -- 
> 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] mail() error handling

2008-06-05 Thread Henrik Johansson
Hi.

I have a piece of code that uses mail() to, well, send mail.
It works, but not the error handling which is as follows:


$send = @mail( $to, $subject, $body, $headers );

if($send)
{header( "Location: http://somewhere/thankyou.html"; );}
else
{print "Oops, couldn't deliver the message, please try again soon."; }

I checked, and it always returns 1, even though I tried a [EMAIL PROTECTED] that
doesn't exist!
Anyone got a clue what I've done wrong?

Kind Regards,
Henrik Johansson
System Administrator
RADIUS Sweden AB

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] cancel of <[EMAIL PROTECTED]>

2008-06-05 Thread Henrik Johansson
cancel by original author

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php