[PHP] mail server (again!)

2001-05-20 Thread FredrikAT
es them to a database, PHP probably isn't the way to go. A Java Servlet > would probably be a more appropriate application for that. > > But I don't think that's what you're wanting to do. > > > Plutarck > > ""FredrikAT"" <[EMAIL PROTEC

Re: [PHP] Email form

2001-05-20 Thread FredrikAT
Check: http://www.php.net/mail <[EMAIL PROTECTED]> skrev i melding [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I've been out of the loop for so long. > > I make a normal form, but the action is something.. > > I don't want it to send from the uers email, but use the server. Some > people do

Re: [PHP] Mailserver?!

2001-05-20 Thread FredrikAT
es them to a database, PHP probably isn't the way to go. A Java Servlet > would probably be a more appropriate application for that. > > But I don't think that's what you're wanting to do. > > > Plutarck > > ""FredrikAT"" <[EMAIL PROTEC

[PHP] Mailserver?!

2001-05-19 Thread FredrikAT
Hi! I want to have a mailapp on my server (win32) wich writes all incoming mails to a MySQL db. Is this possible? - Fredrik A. Takle [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] Books!

2001-05-12 Thread FredrikAT
Can anyone recommend a php(/mysql) book? -- - Fredrik A. Takle [EMAIL PROTECTED] -- 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,

[PHP] mysql_trouble (check fast!)

2001-05-08 Thread FredrikAT
$na_pw is the active password... ..if pw is blank or wrong i want to output a error message... ...iknow that I could do if (empty($na_pw) and $na_pw <> $pw), but then I would have to send another query to MySQL.. I thought that q_updateresult would say (when i echo) 0 when password is bad, but it

[PHP] Flash/PHP/MySQL

2001-05-06 Thread FredrikAT
Can Flash import some text from a database (e.g MySQL) and print it on the fly? - Fredrik A. Takle [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[PHP] logging in (online?!)

2001-04-23 Thread FredrikAT
Hi! I have users logging in on my site (they write news).. What is the best way to show how's online? Write to MySQL (last logged in) ? Somehow use the sessions to this ? - Fredrik A. Takle [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/)

[PHP] user active

2001-04-21 Thread FredrikAT
Hi! I have users logging in on my site (they write news).. What is the best way to show how's online? Write to MySQL (last logged in) ? Somehow use the sessions to this ? - Fredrik A. Takle [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] how to scale down image using ImageMagick?

2001-04-19 Thread FredrikAT
Hi! This is what I do: if (!empty($picture)) { $size = GetImageSize ("pics/$picture"); if ($size[0] >= '175') { $width = '175'; $height = $size[1] * ($width / $size[0]); } else { $width = $size[0]; $height = $size[1]; } } echo ""; Fredrik A. Takle Be

[PHP] php, mysql, and wysiwyg.

2001-04-13 Thread FredrikAT
Hi! I'm starting a news site, and I have one problem. (not with php or mysql, workin' fine!): 1. I want my authors to be able to make the text bold, italic ++, but I can't find anything that works. 2. The best sollution must be something similar to hotmails... I've looked around for ages, but I

[PHP] Starting a Forum?!

2001-04-02 Thread FredrikAT
Hi... I'm starting a forum, but I have one problem.. 1. Is there a easy way to ignore/don't take HTML/php tags inside a post.. e.g someone echo's $mysql_password/username? or something else... include, require etc... ...Fredrik:) -- - Fredrik A. Takle [EM

Re: [PHP] $myfile[$count]_type?!

2001-03-27 Thread FredrikAT
Hi, again! Didn't work... This is the scene: (file.php?a=input) (file.php?a=reg) Trying to echo type... ${$myfile[$count] . '_type'} // NOT WORKIN' ${$myfile$count}_type // NOT WORKIN' Any suggestions? Fredrik A. Takle Bergen, Norway ""FredrikAT&qu

[PHP] $myfile[$count]_type?!

2001-03-27 Thread FredrikAT
Why can't I do $myfile[$count]_type?! What schould I do instead? - Fredrik A. Takle [EMAIL PROTECTED] -- 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] General question :)

2001-03-26 Thread FredrikAT
Hi! What do you think is best..: - have alot of small .php (files)? - or a few big? What's good & bad with these solutions?! - Fredrik A. Takle Bergen, Norway [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] date (urgent!)

2001-03-11 Thread FredrikAT
Hi! I have 2 dates... $start = "20010101"; $end = "20010312"; What is the easiest way of finding out how many days are between? Thanx! - Fredrik A. Takle [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROT

[PHP] date

2001-03-11 Thread FredrikAT
Hi! I have 2 dates... $start = "20010101"; $end = "20010312"; What is the easiest way of finding out how many days are between? Thanx! - Fredrik A. Takle [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PRO

Re: [PHP] email.. (check this one out!)

2001-02-14 Thread FredrikAT
I explained my problem badly in the last message... What I want to send is written without and \n... I want to set like a column width or something but without using HTML in my email... Anyone? ""FredrikAT"" <[EMAIL PROTECTED]> skrev i melding 96eu04$uef$[EMAIL P

[PHP] email.. (check this one out!)

2001-02-14 Thread FredrikAT
Hi! I want to send a email usin' email() (plain text!), but I have a problem. What i want to send! $email_body = "This is just nothing, This is just nothing, This is just nothing, This is just nothing, This is just nothing, This is just nothing, This is just nothing, This is just nothing, This i

[PHP] UserAUTH from webform

2001-02-08 Thread FredrikAT
Can I set a userid & pw from a webbased interface (make iexplore ... remember the id & pw ... like $PHP_AUTH_USER & PHP_AUTH_PW does while sending headers?) Do I have to set a cookie? - Fredrik A. Takle [EMAIL PROTECTED] -- PHP General Mailing List (http:

[PHP] PHP Authenticate

2001-02-04 Thread FredrikAT
Hi... I have a problem with PHP Authenticate ...if I enter user/pw wrong the first time it stops and I have to close/open browser.! I've tried to unset $PHP_AUTH_USER but then it just loops... if(!isset($PHP_AUTH_USER)) { Header("WWW-Authenticate: Basic realm=\".: Privat område :.\"");

[PHP] php-nuke?

2001-02-03 Thread FredrikAT
What is php-nuke? How could I make a php-page execute something (itself?) without entering the site... it starts evry hour?! - Fredrik A. Takle [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For ad