RE: [PHP] view source with opera

2002-06-13 Thread Christoph Starkmann
your server has phps (source view) enabled. If it has > then you can see > the source of any file by using the extension .phps. Awright! But then it would be possible with any browser... Kiko -- It's not a bug, it's a feature. christoph starkmann mailto:[EMAIL PROTECTED] htt

RE: [PHP] view source with opera

2002-06-13 Thread Christoph Starkmann
Cheers, Kiko -- It's not a bug, it's a feature. christoph starkmann mailto:[EMAIL PROTECTED] http://www.gruppe-69.com/ ICQ: 100601600 -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Else/For loop

2002-06-12 Thread Christoph Starkmann
> I think I can work around this with some different coding, > but why should I > have to? I have done this same thing in java, perl and other > languages... Yes, also with "==" ;) Cheers, Kiko -- It's not a bug, it's a feature. christoph starkmann mailto:[EMAIL PROTECTED] http://www.gruppe-69.com/ ICQ: 100601600 -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Name of script

2002-06-11 Thread Christoph Starkmann
Hi Liam, hi René! Great, thanx alot, this gets me rid of all thinking ;) At least concerning this... ;) > $PHP_SELF > see Language Reference chapter 7 Variables Cheers, Kiko -- It's not a bug, it's a feature. christoph starkmann mailto:[EMAIL PROTECTED] http://www.gr

[PHP] Name of file

2002-06-11 Thread Christoph Starkmann
idea how to avoid this? Of course I can strip simply everything to [...]/htdocs/, but isn't there a smarter way? Cheers, Kiko -- It's not a bug, it's a feature. [.nfq] christoph starkmann tel.: 0821 / 56 97 94 34 fax.: 0821 / 56 97 94 38 http://www.gruppe-69.com/ ICQ: 1006016

[PHP] Name of script

2002-06-11 Thread Christoph Starkmann
Hi there! I don't find the function or variable returning/containing the name of the script itself; like: echo "Hi, my name is " . $SCRIPT_NAME; Anyone can help? (I did RTFM...) Kiko -- It's not a bug, it's a feature. [.nfq] christoph starkmann tel.: 0821 / 56

RE: [PHP] Secure File Upload

2002-06-06 Thread Christoph Starkmann
int. I was just hoping I was simply missing some point, but then a login wil have to do. Thanks for all your help... Cheers, Kiko -- It's not a bug, it's a feature. christoph starkmann mailto:[EMAIL PROTECTED] http://www.gruppe-69.com/ -- -- PHP General Mailing List (http://www

RE: [PHP] Secure File Upload

2002-06-06 Thread Christoph Starkmann
rs seperated from the message body... But as far as I can see, this is not possible. Sad but true ;) So I have to trust my visitors ;) Cheers, Kiko -- It's not a bug, it's a feature. christoph starkmann mailto:[EMAIL PROTECTED] http://www.gruppe-69.com/ ICQ: 100601600 -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Secure File Upload

2002-06-06 Thread Christoph Starkmann
e quite easy, I guess. But that's not the problem, it's about traffic. > > Answer these two questions and it will help me alot Hope this did ;) Can you help me now? ;) Cheers, Kiko -- It's not a bug, it's a feature. christoph starkmann mailto:[EMAIL PROTECTED] http://

[PHP] Secure File Upload

2002-06-04 Thread Christoph Starkmann
x27;s a feature. christoph starkmann mailto:[EMAIL PROTECTED] http://www.gruppe-69.com/ ICQ: 100601600 -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Variables in PHP: public vs. private

2002-05-17 Thread Christoph Starkmann
ug, it's a feature. christoph starkmann mailto:[EMAIL PROTECTED] http://www.gruppe-69.com/ -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] [""] versus ->

2002-05-14 Thread Christoph Starkmann
ed in the WHYNOT behind this ;) Can you give me a hint? Or at least some place where I could start reading and would find an explanation, not only "you have to use..."? Thanxx Kiko -- It's not a bug, it's a feature. christoph starkmann http://www.gruppe-69.com/ mailto:[

RE: [PHP] PHP file Opening Problem

2002-05-13 Thread Christoph Starkmann
ns the result as a HTML-doc to your browser which renders the file. Cheers, Kiko -- It's not a bug, it's a feature. christoph starkmann mailto:[EMAIL PROTECTED] http://www.gruppe-69.com/ -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PRIMARY KEY vs. INDEX

2002-05-03 Thread Christoph Starkmann
> Yes, but that's what the php-db list is for. I am sorry... Gonna get this list. Kiko -- It's not a bug, it's a feature. christoph starkmann mailto:[EMAIL PROTECTED] http://www.gruppe-69.com/ ICQ: 100601600 -- -- PHP General Mailing List (http://www.php.net/) To unsubs

[PHP] PRIMARY KEY vs. INDEX

2002-05-02 Thread Christoph Starkmann
ed automatically ?(I don't think and don't hope so, but one never knows) Thanx, Kiko -- It's not a bug, it's a feature. christoph starkmann mailto:[EMAIL PROTECTED] http://www.gruppe-69.com/ ICQ: 100601600 -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] xml/xslt capability?

2002-04-29 Thread Christoph Starkmann
Only one letter difference between PGP and PHP yet makes no sense... ;) > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.0.6 (GNU/Linux) > > iD8DBQE8zWnJHpvrrTa6L5oRAv5DAJ9Fp8vq7+PPqIiM1Mnqf5sGZlhD5wCfWqan > TWH60NiXJh5ESsHP0QNLsUY= > =dJq7 >

[PHP] registering an array to a session?

2002-04-24 Thread Christoph Starkmann
Hi all! Is it possible to register an array to a session with PHP 4? If yes, how can it be done? Cheers, Kiko -- It's not a bug, it's a feature. christoph starkmann mailto:[EMAIL PROTECTED] http://www.gruppe-69.com/ ICQ: 100601600 -- -- PHP General Mailing List (http://www.ph

RE: [PHP] deleting lines in a textfield

2002-04-22 Thread Christoph Starkmann
AFAIK, there are no lines in a textfield; Text is simply displayed as needed to fit in the area of the textfield. As soon as you can do anything with it in PHP, it is no longer in a textfield but simply one string; This string you may search with regular expressions or using PHP string functions

RE: [PHP] viewing get/post variables

2002-04-16 Thread Christoph Starkmann
ly, your safe_mode seems to be turned on. One way would be to turn safe_mode off again: change the line safe_mode=On to safe_mode=Off in your php.ini. The safer way would be to prepare $var1, for example like this: $var1 = $HTTP_GET_VARS["var1"]; Now you can use $var1. HTH, Kiko -- I

RE: [PHP] Getting values of duplicate keys in array

2002-04-11 Thread Christoph Starkmann
Hi Michael... > hmm...he has a table for premises and one for doctors, hasn't he? > > FROM $medTable m, > > $praxTable p He has ;)) Cheers, Kiko -- It's not a bug, it's a feature. christoph starkmann mailto:[EMAIL PROTECTED] http://www.gruppe-69.co

RE: [PHP] while() query

2002-04-11 Thread Christoph Starkmann
Hi Caspar! $counter = -1; while(++$counter <50) { if ($counter != 39) { do a task on all between 1 and 50 except on 39 } } This should do... Cheers, Kiko -- It's not a bug, it's a feature. christoph starkmann mailto:[EMAIL PROTECTED] http

RE: [PHP] Making graphics

2002-04-11 Thread Christoph Starkmann
Hi Ron! > Here is what I want to do. > > I am taking a poll and I would like to display the results in > a bar graph > format. What is the best way to do this.hopefully you > will not say GD > library! If you don't like GD, why not try Flash instead? ;)) -- PHP General Mailing Lis

RE: [PHP] Getting values of duplicate keys in array

2002-04-11 Thread Christoph Starkmann
d only right way and is part of a standard normalisation process, isn't it? Nevertheless, Thanx for your hint; If I not already had this this would be an important one! And btw., I learnd a new english word, too (premise). So I always keep learning ;) Cheers, Kiko -- It's n

[PHP] Getting values of duplicate keys in array

2002-04-11 Thread Christoph Starkmann
y ideas, hints? Thanx alot, Kiko -- It's not a bug, it's a feature. christoph starkmann mailto:[EMAIL PROTECTED] http://www.gruppe-69.com/ ICQ: 100601600 -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Includes

2002-04-05 Thread Christoph Starkmann
which looks as if you where getting different pages... Better now? Cheers, Kiko - It's not a bug, it's a feature. christoph starkmann mailto:[EMAIL PROTECTED] http://www.fh-augsburg.de/~kiko ICQ: 100601600 - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Includes

2002-04-05 Thread Christoph Starkmann
ime (I include this, too). Was this what you wanted to know? Cheers, Kiko - It's not a bug, it's a feature. christoph starkmann mailto:[EMAIL PROTECTED] http://www.fh-augsburg.de/~kiko ICQ: 100601600 - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

FW: [PHP] PHP FAQ (again)

2002-04-03 Thread Christoph Starkmann
k someone who isn't checking ouzt the online doc would be reading the FAQ? Regards, Kiko - It's not a bug, it's a feature. christoph starkmann - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Checking if a link is valid

2002-04-02 Thread Christoph Starkmann
s http://www.gruppe-69.de/ 't is redirected by my provider directly to http://www.gruppe-69.com but my linkchecker thinks it would be dead (404) Any idea how I can check this, too? Thanx and cheers, Kiko - It's not a bug, it's a feature. christoph starkmann mailto:[EMAIL PROTECT

RE: [PHP] ping

2002-03-27 Thread Christoph Starkmann
Hi CHris! > has anyone written a script to check if a host is alive - > like a ping script ? Something like this? BTW, any hints to weak or wrong code are welcome, I'm not this experienced with PHP ;) Cheers, Kiko P.S.: There are some formatting strings and some variables stored in constants.

RE: [PHP] fsockopen

2002-03-26 Thread Christoph Starkmann
Oohh so sorry... Now it works. I simply forgot to crop the tailing "/" from the URL. Call me stupid for now... Thanx alot ;) Cheers, Kiko - Fool me once. Shame on you. Fool me twice. Shame on me. christoph starkmann mailto:[EMAIL PROTECTED] http://www.fh-augsburg.de/~kiko ICQ:

RE: [PHP] fsockopen

2002-03-26 Thread Christoph Starkmann
uot;error opening $url: \$errstr=$errstr, > \$errno=$errno\n"; > > } > > else > > { > > fputs ($fp, "GET / HTTP/1.0\r\n\r\n"); > > echo "s>>>" . fgets($fp,1024); > > fclose($fp); > > } Cheers... Kiko - It'

[PHP] fsockopen

2002-03-26 Thread Christoph Starkmann
e? I guess I'm simply getting sth wrong... Any hint would be great. Cheers, Kiko - It's not a bug, it's a feature. christoph starkmann mailto:[EMAIL PROTECTED] http://www.fh-augsburg.de/~kiko ICQ: 100601600 - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] RE: checking if a link is still "alive"

2002-03-21 Thread Christoph Starkmann
Outsch, sorry, I just found what I wanted... > Is there any posibility to check if there is > actually a website behind a link or just, let's > say a 404? http://www.hotscripts.com/PHP/Scripts_and_Programs/Link_Checking/ Have a nice day ;) Kiko - It's not a bug, it

[PHP] checking if a link is still "alive"

2002-03-21 Thread Christoph Starkmann
nts are appreciated. Cheers, Kiko ----- It's not a bug, it's a feature. christoph starkmann mailto:[EMAIL PROTECTED] http://www.fh-augsburg.de/~kiko ICQ: 100601600 - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] multiple variables

2002-03-15 Thread Christoph Starkmann
traryVariable)==1) or (user($arbitraryVariable)==2) or (...)) Cheers, Kiko - It's not a bug, it's a feature. christoph starkmann mailto:[EMAIL PROTECTED] http://www.fh-augsburg.de/~kiko ICQ: 100601600 - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] ereg

2002-02-11 Thread Christoph Starkmann
Hi there! Is there any mean to tell PHP to use ereg etc. greedy? Thanx, Kiko - It's not a bug, it's a feature. [.nfq] christoph starkmann tel.: 0821 / 56 97 94 34 fax.: 0821 / 56 97 94 38 http://www.fh-augsburg.de/~kiko ICQ: 100601600 - -- PHP General Mailing

[PHP] Maximum execution time of 30 seconds exceeded

2001-12-06 Thread Christoph Starkmann
- It's not a bug, it's a feature. christoph starkmann mailto:[EMAIL PROTECTED] http://www.fh-augsburg.de/~kiko ICQ: 100601600 - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contac

RE: [PHP] Global storage of objects.

2001-11-29 Thread Christoph Starkmann
it's a feature. christoph starkmann mailto:[EMAIL PROTECTED] http://www.fh-augsburg.de/~kiko ICQ: 100601600 - -- 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 administrat

[PHP] foo-bar

2001-11-29 Thread Christoph Starkmann
BTW... Can anybody tell me where the words foo and bar come from? Thanx, Kiko - It's not a bug, it's a feature. christoph starkmann mailto:[EMAIL PROTECTED] http://www.fh-augsburg.de/~kiko ICQ: 100601600 - -- PHP General Mailing List (http://www.php.net/) To unsubscri

[PHP] mkdir()

2001-11-28 Thread Christoph Starkmann
file or directory... If there was, I wouldn't have to create one ;) Any ideas? Hints? Every tidy bit of wisom is appreciated... Cheers, Kiko - It's not a bug, it's a feature. christoph starkmann mailto:[EMAIL PROTECTED] http://www.fh-augsburg.de/~kiko ICQ: 100601600 - -- PHP

[PHP] Recursive directory scan

2001-11-26 Thread Christoph Starkmann
ll directories, does something with all files found there and stops after returning to the starting directory? Phew... Would be great, I'm kind of in a hurry... Cheers, Kiko - It's not a bug, it's a feature. christoph starkmann mailto:[EMAIL PROTECTED] http://www.fh-augsburg.de/

[PHP] php->html

2001-11-23 Thread Christoph Starkmann
time...) Any hints? Cheers, Kiko - It's not a bug, it's a feature. christoph starkmann mailto:[EMAIL PROTECTED] http://www.fh-augsburg.de/~kiko ICQ: 100601600 - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

[PHP] ereg

2001-11-23 Thread Christoph Starkmann
tire page, containing one php-script-section at the very top and one at the very botton, and maybe some inbetween. Now the above ereg always returns me the entire site in $phpIncludes[0]; All help is appreciated, thanx a lot, cheers, Kiko - It's not a bug, it's a feature. ch

[PHP] SuSE 7.1 mySQL

2001-11-21 Thread Christoph Starkmann
.sock at port 111 ?!?!?! I tried to reinstall it with yast2, reinstall it manually, but to no extend. Anyone got an idea? I'm quite new to Linux and mySQL... so forgive me if this should be an easy/stupid question... ;) Cheers, kiko - It's not a bug, it's a feature. christoph

RE: [PHP] stupid little problem

2001-11-16 Thread Christoph Starkmann
p? HTML is "normalizing" all text; So any number of spaces, tabs newlines etc. become one space " "; If you want a certain number of spaces, you could use the  -entity: $a = "test"; $b = "test2"; $data = $a . "" . $b . ""; echo

RE: [PHP] Url Length Limitations?

2001-11-12 Thread Christoph Starkmann
e is not limitation... Cheers, Kiko - It's not a bug, it's a feature. christoph starkmann mailto:[EMAIL PROTECTED] http://www.fh-augsburg.de/~kiko ICQ: 100601600 - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: [PHP] = 0 and = "0"

2001-10-25 Thread Christoph Starkmann
comparison with false > in certain situations. Are there any cases where you need > to do a direct comparison with true? AFAIK it's only a matter of speed. Unary operators consume less time than binary ones... Correct me if I'm wrong. > Are you coming to Ottawa in