[PHP] who is on the page?

2003-03-23 Thread Oliver Witt
Hi everybody, I've been looking for a script to determine who is on my page (people have to log in). So far, I've been using a script that updates the time in the database continuously as long as the person is on the page. That way, the script could determine whether the user is still online or not

[PHP] include dosn't after Provider-Change - I have it!

2003-03-13 Thread Oliver Witt
nxs! Olly -Ursprüngliche Nachricht- Von: Oliver Witt [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 13. März 2003 10:03 An: [EMAIL PROTECTED] Betreff: [PHP] include dosn't after Provider-Change Hallo, after a Provider-Change my counter-script dosn't work again. My entry is: in an html-d

[PHP] include dosn't after Provider-Change

2003-03-13 Thread Oliver Witt
Hallo, after a Provider-Change my counter-script dosn't work again. My entry is: in an html-document. Is there an Error inside? My server show no error-messages... Thanx for Help. Olly -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] authentication problem

2003-02-28 Thread Oliver Witt
Hi again, My problem was about authentication without the default popup, but with a form that submits the credentials. I still didn't get it to work, so I'd like to know if anyone has ever done anything like that. I just can't get it to work right and I'd like to see a working script thx, Olive

Re: [PHP] simple problem about authentication

2003-02-26 Thread Oliver Witt
Ernest E Vogelsinger schrieb: > At 14:22 26.02.2003, Oliver Witt spoke out and said: > [snip] > >if(isset($user) && isset($pw)){ > >$user = ucwords(strtolower($user)); > >$PHP_AUTH_USER = $user; > >$PHP_AUTH_PW = $p

Re: [PHP] simple problem about authentication

2003-02-26 Thread Oliver Witt
"1lt John W. Holmes" schrieb: > > I'm trying to set up a password section on my website. But I don't want > > a window popping up asking for a username and password. I'd rather like > > to have a form that submits the data. I did that and it works fine, but > > the browser seems to not save the us

[PHP] Re: Submit buttons

2003-02-25 Thread Oliver Witt
Greg schrieb: > Is there any way that I can have a form submit to different pages depending > on the submit button that is pressed? Thanks! dont use submit buttons, but buttons... (type="button") calling a script that submits the form to whatever page you want it to. Olli -- PHP General Maili

[PHP] simple problem about authentication

2003-02-25 Thread Oliver Witt
Hi, I'm trying to set up a password section on my website. But I don't want a window popping up asking for a username and password. I'd rather like to have a form that submits the data. I did that and it works fine, but the browser seems to not save the username and password, because if i click on

Re: [PHP] Size of images (in bytes)

2003-01-23 Thread Oliver Witt
Marek Kilimajer schrieb: > Use output buffer: > ob_start(); > ImageJPEG($im); > $imagestring=ob_get_contents(); > ob_end_clean(); > > Thanks for the answer. But if I do it like that, the picture has been sent to the browser. That's what I don't want. I need to know the size of the picture befor

Re: [PHP] Size of images (in bytes)

2003-01-23 Thread Oliver Witt
"1lt John W. Holmes" schrieb: > > After calling to the function ImageCreateFromJPEG() and before outputing > > the image with ImageJPEG, is there a way to determine the images size in > > bytes? > > I want to reduce the quality more and more until it has reached a > > certain level. > > Thanks, >

[PHP] Size of images (in bytes)

2003-01-23 Thread Oliver Witt
Hi, After calling to the function ImageCreateFromJPEG() and before outputing the image with ImageJPEG, is there a way to determine the images size in bytes? I want to reduce the quality more and more until it has reached a certain level. Thanks, Olli -- PHP General Mailing List (http://www.php.n

Re: [PHP] ftp_put: permission denied

2003-01-09 Thread Oliver Witt
t; On Wed, 08 Jan 2003 20:59:02 +0100 [EMAIL PROTECTED] (Oliver Witt) wrote: > > > I uploaded that script with a common ftp program on my server in the > > internet. > > FOr the host, user and pw, I use the same data as I use to log in with > > my ftp program. So the mis

Re: [PHP] ftp_put: permission denied

2003-01-08 Thread Oliver Witt
did work";} ftp_quit($connection_id);} ?> "Timothy Hitchens )" schrieb: > Using ftp_login() ?? > > Timothy Hitchens (HiTCHO) > Open Platform Consulting > e-mail: [EMAIL PROTECTED] > > > -Original Message- > > From: Oliver Witt [

Re: [PHP] ftp_put: permission denied

2003-01-08 Thread Oliver Witt
"Timothy Hitchens )" schrieb: > I am assuming you have testing from a desktop client. > > Are you sure that the PHP script has been logged in?? > > Can you see via a log file of the successful authentication?? > I logged in using the same information as I used to upload that script. if ((!$conn_

[PHP] ftp_put: permission denied

2003-01-08 Thread Oliver Witt
Hi, I am running a really simple php script to upload files on my server via ftp. But it always return this warning: ftp_put(): Permission denied I can't have to do anything with CHMOD can it? I mean it's ftp!! I don't know what else it is but I guess it's a pretty common problem. Thx for any help,

[PHP] problems with uploading files

2002-12-22 Thread Oliver Witt
Hi, I have a problem with a php script that enables people to upload files on my server. I don't know if this is a general problem or if you need to see the script. It works fine with small files, but as soon as I try to upload files with a size of a couple of MB, if (is_uploaded_file($file)) retur

[PHP] editing .htaccess / .htpasswrd

2002-11-20 Thread Oliver Witt
Hi everyone, I'm looking for a script that enables users of password demanding web sites to change their password, in other words a script, that can write into the .htpsswrd file. Thanks for help, Olli -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/un

Re: [PHP] attachement

2002-11-10 Thread Oliver Witt
Ernest E Vogelsinger schrieb: > At 15:27 10.11.2002, Oliver Witt said: > [snip] > >I had it set like this: > > > >$fp = fopen($file, "r"); > >$contents = fread($fp, $file_size); > >$encoded_file = chunk_

Re: [PHP] attachement

2002-11-10 Thread Oliver Witt
Ernest E Vogelsinger schrieb: > In your mail headers, you should see some MIME like > > Content-Type: multipart/alternative; > boundary=GU4wuTSk68F > > ("alternative" could also read "related" - depends on the content, the > "multipart" is the point here) > > which would te

[PHP] attachement

2002-11-10 Thread Oliver Witt
Hi, I wrote a php script that's supposed to enable me to attach files to an email. However, the attached files ends up being a mess of letters. "Hallo" becomes "SGFsbG8=". That must have to do with encoding. Is that a common problem or do you need the entire script? Thanks, Olli -- PHP General M

[PHP] Re: who's in the chat?

2002-10-10 Thread Oliver Witt
Jason Young schrieb: > Well, when they enter, when its building all of the frames or however > you ahd it set up.. just throw an INSERT in there.. > > Do you know if the chat patrons use the 'leave' button? That could throw > out another SQL statement, or put it wherever you have your unload > fu

Re: [PHP] Re: who's in the chat?

2002-10-10 Thread Oliver Witt
James E Hicks III schrieb: > My chat stores usernames, timestamps in a table on DB. When refresh script runs, > it updates the timestamp on usernames and deletes rows in DB with stale > timestamps (no refresh run). Pulling usernames from this table gives current > chat users. > > James > That's

[PHP] Re: who's in the chat?

2002-10-10 Thread Oliver Witt
Jason Young schrieb: > Without knowing how your chat works as far as entering the chat, you DO > have to put some sort of name with the person, right? Perhaps you could > just update a temp table with their chat name.. > > Or if you can only get into chat by logging into the site, you could > ju

[PHP] Re: who's in the chat?

2002-10-10 Thread Oliver Witt
Jason Young schrieb: > What's the chat built in? Is this web-page-based, telnet-based? > Is this your code (i.e. you have access to the source and can modify it > on-the-fly)? > > Oliver Witt wrote: > > Hi all, > > Here's my problem: > > I created a web

[PHP] who's in the chat?

2002-10-10 Thread Oliver Witt
Hi all, Here's my problem: I created a web site with a chat. People have to log in to get on the site, but not to get into the chat. I can tell who's on the site but not in the chat. Is there anywhy to tell who's in the chat? Thanks, Olli -- PHP General Mailing List (http://www.php.net/) To uns

[PHP] Re: parts of sentences

2002-10-09 Thread Oliver Witt
Bogdan Stancescu schrieb: > You might want to take a look at explode() and array functions - I don't > understand exactly what you want ("I want this -- or that"), but those > will probably solve the problem, whatever that is specifically. > > Bogdan > > Oli

[PHP] parts of sentences

2002-10-09 Thread Oliver Witt
Hi, I have a problem that I don't know how to solve within php. I have the variable $x = "How are you today" and the variable $y. Now, I want the variable to be $y = "are you today" or $y = "you today". How do I do that? Thanks, Oliver -- PHP General Mailing List (http://www.php.net/) To unsubs

Re: [PHP] Chat with php

2002-10-08 Thread Oliver Witt
Thomas Weber schrieb: > I've thought about adding the text on the top, but never found a good way to > make that (not with plain HTML, it would require a java-applet to display > the stream). > Scrolling is quite simple, i use this: > > > >