[PHP] Stopping Output

2003-08-21 Thread Oliver
I'm in the process of making a forum in PHP, and am wondering if there is a way to just stop sending stuff the the client(like if they're banned). I'm including a php file in all the .php files that make up the forum(reads the forum configuration file, sets up style sheets, etc). I'd really like

[PHP] Re: Problems with MySql

2004-11-05 Thread Oliver
I have sent am mail to [EMAIL PROTECTED] and the sad to me send the error for this e-mail. --- Begin Message --- Hi Oliver, Please ask support questions at [EMAIL PROTECTED] Regards, Gabor Hojtsy Oliver írta: *Hello. My name is Oliver. I am from Brazil and I have had some problems. Today I

[PHP] using mbstring without having /configure'd it

2002-11-26 Thread Oliver Spiesshofer
Hi, Is it possible to use mbstring after setting the necessary values in ini_set() or htaccess without having it enabled during /configure? thanks Oliver -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] problems with uploading files

2002-12-22 Thread Oliver Witt
$file)) returns false. I wonder why that is! Kind regards, Oliver -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] my Datepicker in PHP, please comment :-)

2003-01-06 Thread Oliver Spiesshofer
# Here is a datepicker that I wrote in PHP. Comments welcome ! # It's supposed to give you an endless calender and a link with the # resulting timestamp when a day is clicked. I might add a time-field # later. I know the code is not perfect, since I am not :-) If you have # suggestions, please

[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,

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_

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-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

[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] 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, >

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

[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

[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

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

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

[PHP] authentication problem

2003-02-28 Thread Oliver Witt
rking script thx, Oliver -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[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] 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] 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] PHP and Web Services (where to start?)

2003-03-28 Thread Stacy Oliver
Hi all, I'm a total newbie to programming, but I picked up PHP last month and redesigned my website (I think it's great). What I want to do now, is create a price comparison engine of online bookstores using PHP and whatever web services the vendors supply. My question is: where should I start

[PHP] uploading pictures

2002-07-25 Thread Oliver Witt
{ echo "Possible file upload attack. Filename: " . $HTTP_POST_FILES['userfile']['name']; the script always returns: Warning: Unable to create '/*.jpg': Permission denied in fotos2.php on line 62 I do not understand why that happens. Do I need to include a pas

Re: [PHP] uploading pictures

2002-07-27 Thread Oliver Witt
Alexander Kuznetsov schrieb: > Hello Oliver, > > Thursday, July 25, 2002, 1:42:05 PM, you wrote: > > OW> Alexander Kuznetsov schrieb: > > >> i think u should set write permissions to directory > >> where u r trying to copy file > > OW> Thank

[PHP] .htaccess

2002-08-02 Thread Oliver Witt
Hi! Using an .htaccess file to limit access to some web files, is there a way to get the name and password into a variable used by a user to log on? Kind regards, Oliver -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] File Upload size limit

2002-08-13 Thread Oliver Schönrock
he first three why not the last one? Can my host stop me from changing a single config? If so how, and what do they need to change so I can get post_max_size = 33M? Or have i missed something really really stupid? Thanks very much in advance Oliver -- PHP General Mailing List (http://www.

Re: [PHP] File Upload size limit

2002-08-13 Thread Oliver Schönrock
these huge (!) settings for my whole site rather than just the necessary scripts. Is there any downside to this (other than misbehaved scripts being really misbehaved)? Cheers Oliver --On 13 August 2002 14:21 -0700 Rasmus Lerdorf <[EMAIL PROTECTED]> wrote: > post_max_size and upload_max_fi

Re: [PHP] File Upload size limit

2002-08-13 Thread Oliver Schönrock
for your whole site. If you want to limit them to > a certain directory or a certain file, tell them to put the settings > inside appropriate or blocks. OK, got it. - Oliver -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Attachements

2002-08-25 Thread Oliver Witt
Fongming schrieb: > Hi: > > the following is my easy way to send MIME mail with a > attach files. It worked for my own mailing system. > > //---Make sure if a file upload or not... > > if(!empty($my_file)) > { > > copy($my_file,"files/$my_file_name"); > $fp=fopen("files/$my_file_name","r"

[PHP] PHP source code

2002-09-19 Thread Oliver Witt
Hi, Is there any way to read php source code? I didn't think so until I heard about people you have done that... Kind regards, Oliver -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP source code

2002-09-19 Thread Oliver Witt
Stephan Seidt schrieb: > On Thu, 19 Sep 2002 16:50:16 +0200 > [EMAIL PROTECTED] (Oliver Witt) wrote: > > > Hi, > > Is there any way to read php source code? I didn't think so until I > > heard about people you have done that... > > Kind regards, >

Re: [PHP] Re: PHP source code

2002-09-20 Thread Oliver Witt
$password); > ?> > > of course, if you are on a shared-host web server (multiple clients on the > same server), you are only as secure as the weakest idiot that > configures/administrates the server, IMHO. Won't the server ask for authorization if the included PHP s

[PHP] Chat with php

2002-10-07 Thread Oliver Witt
I attempted to write a oage that you can chat on with php. It ended up being a page that reloads itself all the time which isn't really what I wanted. But I didn't know how to do it differently. Is there another way? I heard something about flush()? Kind regards, Oliver -- PHP Gener

Re: [PHP] Chat with php

2002-10-07 Thread Oliver Witt
Brad Dameron schrieb: > Another way is to use javascript with PHP to pull the database every so many > seconds. I have seen this in I think it was PHPChat. Been a long time > however. > Well, that's pretty much how I've done it. And it is pretty crappy... Olli -- PHP General Mailing List (ht

Re: [PHP] Chat with php

2002-10-07 Thread Oliver Witt
Marco Tabini schrieb: > Simple trick (well, not so simple, but kind of a Columbus' Egg): > > 1) Create an tag in your web page that is hidden > > 2) Point the img tag to a php script that returns: > > 1) An image with a pixel width of 1 if there is new data to pick >up from t

Re: [Fwd: Re: [PHP] Chat with php]

2002-10-07 Thread Oliver Witt
up any space on your page. > > Also, an apology--I seem to have mailed some messages twice by mistake. > I was checking e-mail between eating my lunch and trying to get a tie on > and things might have gotten a bit out of hand ;-) > > Let me know how it turns out! > Thanks, I will try that script as soon as I find some time, probably tomorrow. But it seems to do the same thing as reloading would do: clicking all the time. But I'll try it tomorrow. Kind regards, Oliver -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Chat with php

2002-10-08 Thread Oliver Witt
Thomas Weber schrieb: > Hi, > > i'm running a selfmade PHP-chat since one and a half year, currently version > 3. Maybe we can share some ideas > The image-idea is interesting, but would take heavy bandwith i think. > My chat runs over a simple dsl-line with 256kbit upstream, there are up to

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: > > > >