RE: [PHP] uuencode

2002-02-15 Thread Michael Mehlmann
t; coding!! thanks michi > > -Original Message- > From: Michael Mehlmann [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 15, 2002 8:38 AM > To: Rick Emery > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: RE: [PHP] uuencode > > > > uuencode() is a function,

RE: [PHP] uuencode

2002-02-15 Thread Michael Mehlmann
write OR read to popen() > but I need to write AND read to/from "uuencode"!!! > > thanks > michi > > > IMHO > > M.N. > > --- > > > > Michael Mehlmann wrote: > > > > >Hi! > > > > > >All I want is, to call m

Re: [PHP] uuencode

2002-02-15 Thread Michael Mehlmann
> to convert take a look at http://www.php.net/manual/en/function.popen.php thanks, but you can only write OR read to popen() but I need to write AND read to/from "uuencode"!!! thanks michi > IMHO > M.N. > --- > > Michael Mehlmann wrote: > > >Hi!

[PHP] uuencode

2002-02-15 Thread Michael Mehlmann
Hi! All I want is, to call my php with a URL in my querystring! myphp.php?URL=http my php should download the "URL", uuencode it, and then return the uuencoded text! as this should be binary-safe, it thought of using the linux-included uuencode! But how to get the (perhaps large binary) file

[PHP] temporary image

2001-12-19 Thread Michael Mehlmann
hallo, my applications generates a html-page, with a link to an image. this image is created by the application, and should exist only temporarily - so it can be deleted after being accessed by the html-page - any ideas how to implement this? is working with timetamps (microseconds) safe for crea

Re: [PHP] Insecurity with PHP authorization

2001-08-07 Thread Michael Mehlmann
If you don't have a very high load, then you could move all not-php-files out of htdocs-root and use a pseudo-root directory htdocs/../rawfiles as root for redirect.php. For example image.jpg is placed in htdocs/../rawfiles/images then access it with /redirect.php?/images/image.jpg ! redirect.php

Re: [PHP] Problem with require(), determining context.

2001-08-06 Thread Michael Mehlmann
> Hello! :) > > I have a script that loads another script with require() and based on > the context, I'd like different things to happen. So, index.php is > calling the required file require.php. And when require.php is run, if > there's no HTTP_REFERER and the file is index.php, everything is

[PHP] how to show banners

2001-08-06 Thread Michael Mehlmann
I would like to hear your opinion: how would you organize showing banners? .) save the banners in database or filesystem? .) choose the banner in the main.php: $banner=my_random_func(); echo ""; .) or choose them in a separate script: .) how to output the gif? fpassthrough ??? thanks for any h

[PHP] urlencode/decode

2001-08-06 Thread Michael Mehlmann
this script works as expected, if you don't submit ",' and \ but if you use ",' or \ these characters will be quoted with \ "'\test"'\ -> \"\'\\test\"\'\\ "; ?> how to get rid of this??? I don't want any character been quoted!!! thanks michi -- Aufgepasst - jetzt viele 1&1 New WebHosting Pak

[PHP] mail - sendmail

2001-08-03 Thread Michael Mehlmann
Hi! I wanted to use the full SMTP-Protocol including "MAIL FROM:" and "RCPT TO:", and therefore I can't use mail(). I have written a perl-script, I call from PHP, that connects to the SMTP-server directly and this worked fine - until a server went down, and my ISP's-SMTP-Server told my perl-scrip

[PHP] list all included files

2001-07-28 Thread Michael Mehlmann
Hi! this is half OT :-[ I want to list all files, that are included in my script with include() or require(). I am convinced I can do this in Linux with some command, that listes all files, that have been accessed the last xxx hours or minutes or seconds ... (and this would be exactly what I nee

[PHP] perl2php - question

2001-06-20 Thread Michael Mehlmann
Hi to all of you again!! I have a perl-script for sending a mail (don't ask - I *need* it for sending mails!). In perl I use it like: -- open(MAIL, "|mail.pl"); print MAIL "From: \"xx\@xx.com\" \n". "To: \"xx\@xx.com\" \n". "Subject: TEST\n\n". "This is the body";#[EMAI