[PHP] sort problem

2002-07-10 Thread andy
sort the other arrays with the same sorting algo? Or a way to include a iff clause in the query? currently I am doing: SELECT u_name, id, points FROM user WHERE points > 0 ORDER by points desc LIMIT 5 and the top10 reports extra. Has anybody a good idea on that? Andy --

Re: [PHP] sort problem

2002-07-11 Thread andy
other points. Now that we have the users with the additional points we could add them to the total points of the user and then find out the 5 users with the highest total points. Thats the theory, but how to achieve this in real live?? Thanx for any idas, Andy "Analysis & Solutions

[PHP] problem with cookies and some browsers

2002-07-12 Thread Andy
PC as well) Are there any known problems? Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] how can this be? GET instead of POST -> db error

2002-07-13 Thread Andy
where this GET request could come from. This has caused a empty sql statement and therefore a db error. How can could this be achieved? By clicking back in the browser window? I dont think so since the same user was on another site before. Has anybody a idea on that? Andy -- PHP General Mailing

[PHP] how to defend this atack?

2002-07-13 Thread andy
" 400 321 can anybody tell me more about this. How could this harm the server or application installed and what can I do against it? Thank you for any help on that, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Can't Install on Mac OS X

2002-07-14 Thread Andy
apple) to run Marcs script. Not sure though, read his docs. Andy "Brandon Pearcy" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:a05111b00b956353ac94a@[207.229.10.79]... > Hi Everyone, > > In the past I have setup many Mac OS X web servers successfully. Now > I

[PHP] integrating usenet into http? how is this done???

2002-07-15 Thread Andy
=43&s=e80f5f41207018 c5dd5751801faf1037 Has anybody an idea how they do this. I think the forum software is phpbb. But they do not provide such a function as far as I know. All the data inside phpbb comes out of a db usually. How is this done with copyrights anyway? Andy -- PHP Gen

Re: [PHP] integrating usenet into http? how is this done???

2002-07-15 Thread andy
flag to do this? - how is it possible to run a php script periodicly? - can you mak a short example how to read from a nntp server? Thanx for your help, Andy "Stuart Dallas" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >

[PHP] activating php scripts via cron

2002-07-16 Thread Andy
Hi there, I am wondering if it would be possible to activate a php script via cron periodicly. Can anybody give me a hint on that or knows a good article? Thanx in advance, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] activating php scripts via cron

2002-07-16 Thread Andy
so how do you install a second php version?? If you compile it (besides with what kind of flags) and then do a make and a make install the original version will be replaced, right? "Jay Blanchard" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 000f01c22cc9$33046590$8102a8c0@niigziuo4ohhdt">news:000

Re: [PHP] activating php scripts via cron

2002-07-16 Thread Andy
sounds logical, but what happens with my other php version, where I need the flags? will it still be working? And where is this standalone php version gonna be installed? Andy "Jason Wong" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTE

[PHP] how many requests can php serve?

2002-07-17 Thread Andy
help, Andy- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] how many requests can php serve?

2002-07-17 Thread Andy
; mysql > - The design of your site > as good as it gets:-) > - What the users are doing > mainly displaying images 4 - 40 kb > - Your caching strategy ? No cashing server site. Is there something like a benchmark available on such thing? Andy "Miguel Cruz" <[EMAIL

Re: [PHP] Ok thanx sessions that was great, now it's time to go backhome!!!

2001-01-17 Thread andy
's like saying to your mechanic "When I do something in my car, it makes a noise." xxo, Andy -- # Andy Lester http://www.petdance.com AIM:petdance %_=split';','.; Perl ;@;st a;m;ker;p;not;o;hac;t;her;y;ju'; print map $_{$_}, split //, '[EMAIL PROTECTED

[PHP] Cant add new Header

2001-05-04 Thread Andy
a body tag). Can anybody please help me in that case?? Thanx Andy -- 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, e-mail: [EMAIL PROTECTED]

[PHP] Finding out the date on the client machine

2001-05-04 Thread Andy
Hi, I am trying to find out the date via PHP of the clients machine, or from the server to store it to a mysql database. Does anybody know the syntax? Cheers Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

[PHP] Can not send new Header

2001-05-04 Thread Andy
a body tag). Can anybody please help me in that case?? Thanx Andy -- 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, e-mail: [EMAIL PROTECTED]

[PHP] How to get the URL into a var?

2002-01-30 Thread Andy
Hi there, I am trying to find out which dir the user is browsing. How can I get the URL into a var? I tryed path_info, but it only returns the filename. Here is an example: URL: http://www.server.com/subapp/test.php Should return : subapp Is this possible?? Thanx for any help Cheers Andy

[PHP] PHP 4.1.1 not any more with GDLibrary2.0 ????

2002-01-31 Thread Andy
anybody please help? Thanx Andy -- 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, e-mail: [EMAIL PROTECTED]

[PHP] Re: How to get the URL into a var?

2002-02-01 Thread Andy
Thanx Francois this brought me on the propper road. Works fine now! Cheers Andy "Francois Jordaan" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I am trying to find out which dir the user is browsing. How > >

[PHP] Adding 6 digits to a str?

2002-02-02 Thread Andy
Hi guys, I am trying to force a int to be 8 digits. If it is only 3 dig filling the first ones with 0. Anyhow I tryed it with type casting, but it does not matter what I try, I always get an addition. E.g: $member_id is: 136 should be: 0136 Here is the code, which is still returning 1

[PHP] Re: How to get the URL into a var?

2002-02-02 Thread Andy
thanx works ! "Francois Jordaan" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I am trying to find out which dir the user is browsing. How > > can I get the > > URL into a var? I tryed path_info, but it only returns the filename. > > I'm quite new to

[PHP] Displaying a please wait while doing a file upload?

2002-02-03 Thread Andy
d if there is no output in front. So I can't just echo the sentence. Does anybody know the trick? Thanx for your help. Cheers Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Installing GD original question

2002-02-03 Thread Andy
in PHP4.1.1 there are 2 gdmodules gd1 and gd2 Hope this helps, Andy "Christian Stocker" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > In <[EMAIL PROTECTED]>, Michael Kimsal wrote: > > > > >>>Someo

[PHP] Re: Why doesn't PHP have built-in support for dynamic image generation?

2002-02-03 Thread Andy
in PHP4.1.1 there are 2 gdmodules gd1 and gd2 Hope this helps, Andy "Christian Stocker" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > In <[EMAIL PROTECTED]>, Michael Kimsal wrote: > > > > >>>Someo

[PHP] Re: Adding 6 digits to a str?

2002-02-03 Thread Andy
thanx!!! "John Lim" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Try http://php.net/str_pad > > Andy <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Hi guy

[PHP] can't fint php.ini on OS X

2002-02-03 Thread Andy
does anybody know where the php.ini is on Mac OS X? I would like to activate gdlibrary. Thanx for the hint Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] defining the dpi of an image while uploading -gdlibrary-

2002-02-04 Thread Andy
Hi there, I would like to define the dpi to 72 for images users can upload on my website. Is there a way to do this with gd2.0? Thanx Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] 72dpi with gdlibrary2?

2002-02-05 Thread Andy
Hi there, I would like to create images with 72 dpi with gdlibrary2.01 Is this possible? Thanx Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Tricky array question

2002-02-05 Thread Andy
]; // returns testname I tryed $categories[0][0] but it returns only the first letter of glacier (g) Any ideas?? Thanx, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Tricky array question

2002-02-05 Thread Andy
Hello Rainer, what kind of disadvantages do I take with me, if my form does not validate? Is this a problem because of the spiders, or the functionality? It works fine so far on all browsers I know. Can you please give more details? Thanx Andy "Rainer" <[EMAIL PROTECTED

Re: [PHP] Tricky array question

2002-02-05 Thread Andy
;'; // returns bluddy nothing echo $categories[0]; // returns glacier echo $glacier[0];// returns 110 Does anybody know how to get the 110 out of the array????? Thanx for any help, Andy "Niklas lampén" <[EMAIL PROTECTED]> schrieb im Newsbeitr

Re: [PHP] Re: Tricky array question

2002-02-05 Thread Andy
Put an @ infront of your comand Andy "Val Petruchek" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 000801c1ae32$6fc1e360$[EMAIL PROTECTED]">news:000801c1ae32$6fc1e360$[EMAIL PROTECTED]... > Hello! > > a have following mysql problem: > i need to execute se

[PHP] Seams not to be possible

2002-02-05 Thread Andy
;'; // returns bluddy nothing echo $categories[0]; // returns glacier echo $glacier[0];// returns 110 Does anybody know how to get the 110 out of the array????? Thanx for any help, Andy "Andy" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PR

[PHP] Getting days after last login. Date problem

2002-02-13 Thread Andy
possible to convert the memberdate format to the other one and just search for something like picturedate > logindate? Thanx for any help Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Finding out the resolution of an image

2002-02-15 Thread Andy
to do a math thing on that? Thanx for any help ANdy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] LINUX distrib of PHP different to windows?

2002-02-16 Thread Andy
php4.1.1 with mysql support and thought thats it. But no! There is no gd version. So I did compile the one from boutel.com and put it into the propper dir changed php.ini but still the same! Thanx for any help Cheers Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Tricky variable question! Impossible??

2002-02-16 Thread Andy
function. How can I pass this html thing and ensure that the variable is gonna be set? Take a look at the code underneath. Like that it is just printing out $picture_id[$i] $icon_1 = " "; Can anybody help on this? Thanx for any help Cheers Andy -- PHP General Mailing

[PHP] How to build PHP on LINUX with GD?

2002-02-17 Thread Andy
not work. It is never finding the gdlib.so in that library. Can somebody please explain how to build php with gd2 and mysql working on RH7.2 Linux? Thank you so much for any help. Linux makes frustrated after a while :-( Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] creating PDF. How to get the xpositioni of a text?

2002-02-18 Thread Andy
Hi there, I would like to create a pdf file and place a heading in the center of the page. pdf_get_value should do the job, but it does not work out. Does anybody know how to get this thing working? Thanx for help ANdy Code: pdf_set_font($dokument, "Times-Roman", 35

[PHP] Getting the pixelwidth of a text in PDF possible?

2002-02-18 Thread Andy
Hi there, I would like to place a text in the middle of a PDF page. This requires to know the length of the text in pixels prior creating the text on the page. Is there a method to find the length of the text? Thanx Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] how to make array_search start from 0?

2002-04-25 Thread andy
rray starting with 1. So php is not found. Does anybody know a workaround for this? Thanx, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] how to make array_search start from 0?

2002-04-25 Thread andy
found in array \$fruit"; } } Replys: Key (0) was found from value apple Key () was found from value notlisted So there must be still something wron in th stmt. Thanx for your help, Andy "Philip Olson" <[EMAIL PROTECTED]> schrieb im Newsbeitrag Pine.BSF.4.10.10204251646060.

Re: [PHP] how to make array_search start from 0?

2002-04-25 Thread andy
found in array \$fruit"; } } Replys: Key (0) was found from value apple Key () was found from value notlisted So there must be still something wron in th stmt. Thanx for your help, Andy "Philip Olson" <[EMAIL PROTECTED]> schrieb im Newsbeitrag Pine.BSF.4.10.10204251646060.

[PHP] array_search

2002-04-25 Thread andy
; } } ?> This code outputs: Key (1) was found for value banana Key (2) was found for value cranberry Key (0) was found for value apple -Kevin - Original Message - From: "andy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 25, 2002 11:39 AM Subjec

[PHP] need help on ereg statement

2002-05-04 Thread Andy
Hi there, I am trying to validate a password. Only characters in the alphabet and numbers should be allowed. Somehow my statement does not work at all :-( if (ereg("^[A-Za-z0-9]",$new_passw)) echo 'invalid'; Can anybody help on that? Thanx in advance, Andy --

[PHP] how to generate a date between 1998 and today by random?

2002-05-07 Thread andy
#x27;,'Jul','Aug','Sept','Okt','Nov','Dez'); $date = $month[rand(0,count($month))].' '.rand(0,31).', '.$year[rand(0,count($year))]; But there might be an easyer and faster (better performant) way. Thanx for any help, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] rand(0,1) does seem to get more often 1

2002-05-07 Thread andy
Hi there, I am wondering if it is possible that this function tends to be more often 1. I do get 8 of 10 times 1. srand((double)microtime()*100); if (rand(0,1) == 1){ code... it looks ok to me. Thanx for any help, Andy -- PHP General Mailing List (http://www.php.net/) To

[PHP] problems installing gd2 on linux

2002-05-10 Thread andy
, and which. Can anybody help on that ? Thanx in advance, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Apache is not rendering php pages. Config problem?

2002-05-10 Thread andy
application/x-httpd-php-source .phps but does not help anything. Did I miss something? I did compile php with apxs and apache with --enable-module=so Thanx for any help, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Apache is not rendering php pages. Config problem?

2002-05-10 Thread Andy
there is not much inside the log. (I do asume you mean the logs) Nothing related to that prob. What yould be a propper config command for apache to build. I would like to run php as an apache module apxs Thanx, Andy "Eugene Lee" <[EMAIL PROTECTED]> schrieb im Newsbeitrag

[PHP] Re: Apache is not rendering php pages. Config problem?

2002-05-10 Thread Andy
directory die datei libphp4.so befindet sich auch definitiv nicht auf der maschine. Hab ich da was bei der compillierung falsch gemacht? Gruss Andy "Sven Herrmann" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > There is

[PHP] Re: Apache is not rendering php pages. Config problem?

2002-05-10 Thread Andy
I did find the prob! So for all guys struggeling with the same one.. First install apache, then php! I did reinstall apache after php. After compiling php again it is up and running. Thanx guys, Andy "Javier" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECT

[PHP] Problem with new variable system in 4.2

2002-05-12 Thread andy
EST_URI); $user_name = $parameter[1]; So now I do get as $PATH_INFO the username which is mixing up my whole idea! How can I get both parameters like in good old former times :-) Do u see my trouble? I appreciate every help on that, Thanx, Andy -- PHP General Mailing List (http://www.php.net/) T

[PHP] Re: Problem with new variable system in 4.2

2002-05-12 Thread andy
basicly this problem seems to result of the new way I do get the string from the url I used to get it with $PATH_INFO Now I do a $PATH_INFO = $_SERVER[REQUEST_URI]; which is not the same result. Does anybody know a equal command for $PHP_INFO ? ANdy "Andy" <[EMAIL PROTECTED

Re: [PHP] Problem with new variable system in 4.2

2002-05-12 Thread andy
thanx, this worked Andy "Philip Olson" <[EMAIL PROTECTED]> schrieb im Newsbeitrag Pine.BSF.4.10.10205121820290.61243-10@localhost">news:Pine.BSF.4.10.10205121820290.61243-10@localhost... > > > In php4.1.1 it worked fine. Now I changed the first functi

[PHP] Problems compiling php4.2.1 (lex command not found)

2002-05-14 Thread andy
bison if you want to regenerate the PHP parsers. checking for flex... lex checking for yywrap in -ll... no checking lex output file root... ./configure: lex: command not found configure: error: cannot find output from lex; giving up root@saratoga:/home/andy/sw/php-4.2.1 > ./configure --with-gd=/h

Re: [PHP] Problems compiling php4.2.1 (lex command not found)

2002-05-14 Thread andy
does that mean that I can fix it anyhow, or this is a bug on 4.2.1? I don't know what flex is. Andy "Rasmus Lerdorf" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > quick-fix is to just install flex on your box -

Re: [PHP] Problems compiling php4.2.1 (lex command not found)

2002-05-14 Thread andy
thanx, works "Rasmus Lerdorf" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > You don't really need to know what flex is. Just install the flex rpm. > > On Tue, 14 May 2002, andy wrote: > > > does that mea

[PHP] counting max word length fails on line brake

2002-05-15 Thread andy
ölakjdfölakjdöfkjaödlfkjöaksdjföl it asumes thtat the word is: test ölakjdfölakjdöfkjaödlfkjöaksdjföl Does anybody know why this happens? Thanx for any help, andy function max_word_length($string, $maxlength){ $word = explode(" ",$string); for($x=0;$x 2 * $maxlength) return false; if (strle

[PHP] what is php.ini on linux?

2002-05-16 Thread andy
Hi there, I am wondering what the equivalent to php.ini is on linux. There is no such file on linux. Is there a different name? I would like to set up the max execution time Thanx, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] what is php.ini on linux?

2002-05-16 Thread andy
I did copy the php.ini-recommended into /etc/php.info, rename it to php.ini put the max execution time to 6 and restarted apache (php as module) But I do still get a max execution time 30s reached. Do you have an idea what's wrong? Thanx, Andy "Rasmus Lerdorf" <[EMAIL P

[PHP] blank screen on parse errors after creating php.ini on linux

2002-05-18 Thread andy
parse error, unexpected T_STRING in /include/user.php on line 208 Fatal error: Call to undefined function: get_userdata_2() in /index.php on line 29 So whats wrong with my php.ini? It does return a blank screen on parse erorrs. Thanx for any help on that, Andy -- PHP General Mailing List

[PHP] need help on a ereg stmt. validating website adress

2002-05-18 Thread andy
with that? Thanx, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] need help on a ereg stmt. validating website adress

2002-05-18 Thread andy
> "andy" <[EMAIL PROTECTED]> wrote: > > > Hi there, > > > > I would like to validate a website adress. Unfortunatelly my eregi stmt does > > not work: > > > > if (eregi("^@([0-9a-z][0-9a-z-\.]+)\.([a-z]{2,3}))", $website)

[PHP] Trouble with recocnizing jpeg files. Some work, some do not

2002-05-19 Thread andy
. This returns a type called: application/octet-stream So what is this type anyway. I do know jpeg and jpg and pjpeg but octed-stream?! Thanx for any help on that, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Trouble with recocnizing jpeg files. Some work, some do not

2002-05-19 Thread andy
well to do a kind of createfromjpeg commmand?! Thanx, Andy "Miguel Cruz" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Sun, 19 May 2002, andy wrote: > > I do have trouble with finding out if a file is a jpeg or not. T

[PHP] how to select a file on a random basis?

2002-05-19 Thread Andy
Hi there, I would like to pick a file out of a directory by random. There are 400 files and I just want to pick on of those by random. Is there a way with rand() and file ? Thanx for any hint, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] displaying an image with header(... does not work

2002-05-25 Thread andy
forever. I can not see any error in that. Outputting text works, but not the image. Thanx for any help, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: displaying an image with header(... does not work

2002-05-25 Thread andy
sound pretty funny... but I opened the browser to test it again, and it worked without problems :-) No clue why. Anyway.. thank you Andy "Jens Lehmann" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > Hi there, >

[PHP] Storing img into db does not work with imagecreatefromjpeg?

2002-05-25 Thread andy
o the db, but it did not change anything. Thank you so much for any hint, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] problems with storing image data to the db

2002-05-27 Thread andy
o the db, but it did not change anything. Thank you so much for any hint, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP can not connect to mysql

2002-05-31 Thread andy
w running. Can anybody help on that? Thank you very much in advance, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP can not connect to mysql

2002-05-31 Thread andy
That is the wron socket. I found out that my mysql version is running on socket /tmp/mysql.sock while the old one is running on /var/lib/mysql/mysql.sock. How can I tell php to connect with the other socket? Thanx, Andy - Original Message - From: "Michael Davey" <[EM

[PHP] problems with installing freetype2

2002-06-01 Thread andy
Hi there, I have problems to find out if the installation of freetype 2 has been successfull. It seems that only freetype 1 is running, since I can not use some commands. something went wrong, but there have been no complains during installation. Thanx for any help, andy -- PHP General

[PHP] cant start apache after compiling PHP with LDAP

2002-06-02 Thread Andy
: undefined symbol: ldap_first_reference /usr/local/apache/bin/apachectl start: httpd could not be started Can anybody help me in this case? Any help is appreciated, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] still running the old version after recompiling??

2002-06-02 Thread Andy
Hi there, I did recompile php with different flags. Phpinfo() tells me that I am still running the old insatllation! I did restart apache after compiling. So whats wrong. Did I forget something? I did configure with some flags make make install restart apache Thanx for any help, Andy

Re: [PHP] still running the old version after recompiling??

2002-06-02 Thread Andy
help, Andy "Jason Wong" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Sunday 02 June 2002 17:32, Andy wrote: > > Hi there, > > > > I did recompile php with different flags. Phpinfo() tells me that I am

[PHP] lots of trouble installing php on linux

2002-06-02 Thread Andy
Hi there, I am having trouble to get a php installations working on suse72 with following configure command: ./configure' '--with-gd=/home/andy/sw/gd-2.0.1' '--with-freetype=/usr/lib' '--enable-gd-native-ttf' '--enable-gd-imgstrttf' '--with-jpe

[PHP] building php --with-imap problems

2002-06-03 Thread andy
associated services. This is pretty generic. - Where do I obtain ipopd/ipop2d and so on. I am on suse72 this is the - second point... I cant find this system in Makefile. - What do I have to enter in /etc/inetd.conf ? Thanx for any help, Andy -- PHP General Mailing List (http://www.php.net/) To

[PHP] Re: php.ini question

2002-06-03 Thread Andy
document root is where your webserver gets his files from. Default on Apache is htdocs. Hope this helps, Andy http://www.globosapiens.net Global Travellers Network! "Taylor Lewick" <[EMAIL PROTECTED]> schrieb im Ne

[PHP] uploading files | how to avoid submitting twice?

2002-02-23 Thread Andy
twice. Is there a way to redirect imediatelly to a waiting page? I tryed to redirect, but somehow the server is first uploading the file before something else happens. Thanx for any help Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Redirecting with PHP if JS is disabled?

2002-02-23 Thread Andy
anybody have an idea on that? Thanx andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Disabliing browser cache possible?

2002-02-24 Thread Andy
Hi there, I would like to disable clients browser cache. Anyhow this does not work. In a PHP book I found following line: header("Pragma: no-cache"); Does not work though. Can anybody help? Thanx Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

[PHP] Installing PHP4.1.1 on RH7.2 impossible!

2002-02-24 Thread Andy
igure line?? Thank you so much for any help Cheers Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Installing PHP4.1.1 on RH7.2 impossible!

2002-02-24 Thread Andy
Thanx Rasmus, Andy "Rasmus Lerdorf" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > See http://www.php.net/~rasmus/gd.html > > On Sun, 24 Feb 2002, Andy wrote: > > > Hi there, > > > > I am a L

[PHP] How many files can be in one directory?

2002-02-25 Thread Andy
any comment, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How to get information about the php installation

2002-02-26 Thread Andy
Hi there, I saw on the website of my provider that he is displaying environment variables about his php installation. Not only the version with phpversion() but also about installed libraries etc.. Is there a function for that? Thanx Andy -- PHP General Mailing List (http://www.php.net

Re: [PHP] How many files can be in one directory?

2002-02-26 Thread Andy
So this means, that I can not increas the amount by splitting the files into more than 1 directory? In fact it would make it even less, because dirs also need those i-nods, right? Thanx Andy "Thalis A. Kalfigopoulos" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECT

[PHP] Compiled php again but running still old php version

2002-02-26 Thread Andy
for any help Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Valid characters for filenames. List available?

2002-02-26 Thread Andy
Hi guys, I am wondering if there is anywhere a list of characters which are not allowed in a unix file name. I gues somethin like ' or \ is not allowed, but what else? cheers Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Valid characters for filenames. List available?

2002-02-26 Thread Andy
Thanx Eric! Andy "Erik Price" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > On Tuesday, February 26, 2002, at 01:34 PM, Chris Hewitt wrote: > > >> I am wondering if there is anywhere a list of characters

[PHP] Getting the compression rate of a jpeg image

2002-02-27 Thread Andy
application, PHP will "blow" up the size by going back to 75 %. Quality stayes the same. So it is absolutly neccessary to know that value. Does somebody know how to get this thing? Thanx for your help guys, Cheers Andy -- PHP General Mailing List (http://www.php.net/) To unsubscr

[PHP] Getting the compression rate of a jpeg image possible?

2002-02-27 Thread Andy
application, PHP will "blow" up the size by going back to 75 %. Quality stayes the same. So it is absolutly neccessary to know that value. Does somebody know how to get this thing? Thanx for your help guys, Cheers Andy -- PHP General Mailing List (http://www.php.net/) To unsubscr

[PHP] Re: Uploading Files through PHP

2002-02-27 Thread Andy
maybe your code is inside a function. If this is the case set the var to global. Andy "Georgie Casey" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm trying to let users upload word files through a PHP form but its

[PHP] Inserting leading 0 infront of a variable

2002-02-27 Thread Andy
Hi guys, is there a possibility to add a string in front of a veriable like the .= commands adds it to the end? I would like to create a 6 digit number out of a e.g. 2 digit one. Underneath is my not working code. Maybe someone knows how to solve that. Thanx Andy # create topic number 6

Re: [PHP] Hi

2002-02-28 Thread Andy
http://www.phpbuilder.com is an excellent site. Features articles and tutorials! Good luck Andy "Simon Willison" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED].; > dharmavatar wrote: > > >Hi everybody, > >I am new in this group,so could

[PHP] Building secure authentification with sessions

2002-03-01 Thread Andy
. Maybe someone can relate to a good site dealing with security issuses on this topic. I would really like to avoid that some hacker gets admin access on my website :-) Thanx for any hints, Cheers Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] How to generate an broun & white JPG with GD

2002-03-02 Thread Andy
Does anybody know how to do this with GD? Thanx for any help Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How to get the local date formated like this: 2002-03-15 Y2K Problem

2002-03-05 Thread Andy
27;-'.$local_time[tm_mday]; Returns: Date: 102-2-5 The prob is, that tm_year is not y2k compliant and the 0 are missing for month and day The goal is to find out, if a date provided by the user is in the future or not. His date is in this format: [-mm-dd] Has anybody an idea? Thanx, Andy

<    1   2   3   4   5   6   7   8   >