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

2001-01-17 Thread andy
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 General Mailing List (http://w

[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 can I get the URL into a var?

[PHP] Adding 6 digits to a str?

2002-02-02 Thread Andy
this thing?? 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-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, but

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

2002-02-03 Thread Andy
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
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: Someone seems to have started this, although I'm not sure why he's not going mor

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

2002-02-03 Thread Andy
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: Someone seems to have started this, although I'm not sure why he's not going mor

[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 guys, I am trying to force a int to be 8 digits. If

[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] schrieb im Newsbeitrag

Re: [PHP] Tricky array question

2002-02-05 Thread Andy
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 Newsbeitrag 008101c1ae2d$a9df7580$ba93c5c3@Niklas"

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 several inserts at one query like this

[PHP] Seams not to be possible

2002-02-05 Thread Andy
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 PROTECTED]">news:[EMAIL PROTECTED]... Hi th

[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
to delete picture no: $picture_id[$i]');\ img src=\../app_global/pics/delete.gif\ width=20 height=20 border=0 alt=\delete\ /a; Can anybody help on this? Thanx for any help Cheers Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[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, winansi); $heading_width

[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] 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, visit: http

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

2002-02-24 Thread Andy
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 Linux newbie and I would reallly like to get this thing working on

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

2002-02-25 Thread Andy
for 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 PROTECTED]">new

[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 which are not allowed in a unix file nam

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

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

[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 not working! The script keeps

[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 eg 2 digit one Underneath is my not working code Maybe someone knows how to solve that Thanx Andy # create topic number 6 digit

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 any one tell me how to start learn PHP? I had

[PHP] Building secure authentification with sessions

2002-03-01 Thread Andy
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://wwwphpnet/) To unsubscribe, visit: http://wwwphpnet/unsubphp

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

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

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

2002-03-05 Thread Andy
: 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 -- PHP General Mailing List (http

[PHP] How to validate this date: 2002-02-31

2002-03-05 Thread Andy
Hi there, I am still lacking of one error the user can provide: Desired format: mmdd Asuming he enters a date: 2002-02-31 (There is no Feb 31) Is there a function which check is the date is ok? Thanx guys, Andy PS: I wrote this function which has the whole: /* * Validates the format

[PHP] addslashes needed for db security? Hack proving web apps

2002-03-05 Thread Andy
like 'delete Are there any good articles on the web about checking user input, securing webapps against hackers? Thanx andy -- PHP General Mailing List (http://wwwphpnet/) To unsubscribe, visit: http://wwwphpnet/unsubphp

[PHP] Re: Directory

2002-03-05 Thread Andy
Hi Roman, Check out: http://www.php.net/manual/en/function.mkdir.php Good luck, andy Roman Duriancik [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED]; Help me, I want create directory on local disc in php script, do you know how ? -- PHP General Mailing List (http

[PHP] timestamp iin MySQL not compatible to the one in PHP???

2002-03-05 Thread Andy
but the mysql timestamp says: 20020305211704 So whats going on? Can anybody help please? Thanx andy -- PHP General Mailing List (http://wwwphpnet/) To unsubscribe, visit: http://wwwphpnet/unsubphp

Re: [PHP] timestamp iin MySQL not compatible to the one in PHP???

2002-03-05 Thread Andy
So what is the proper function in PHP to convert the MySQL timestamp into a proper format like Sonday, Apr. 20th 2002? Thanx, Andy Jason Wong [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED]; On Wednesday 06 March 2002 04:31, Andy wrote: Hi there, I am playing around

[PHP] Difficulty on how to extract data out of a text with string functions.

2002-03-06 Thread Andy
. I am open for any idea! Thanx a lot for any help Cheers, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [PHP-DB] Difficulty on how to extract data out of a text with string functions.

2002-03-06 Thread Andy
this. The question is what would be the fastest way. I never heared of unix shell scripting, but I asume it is something what youwould call a batch file in win or apple script on mac. Thanx again for your help. Andy Gurhan Ozen [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">new

[PHP] Re: Difficulty on how to extract data out of a text with string functions.

2002-03-06 Thread Andy
$DB2.countries SET malaria = '$malaria' WHERE country = '$country[$c]' ; $result = execute_stmt($stmt, $link); ### echo $malaria; echo br; } } } } Hope I could help somebody else Andy Andy [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL

[PHP] Where to get freetype2.x precompiled for windows 2000

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

[PHP] Re: session_id database

2002-03-08 Thread Andy
for the name above.You could also check his website. Good luck Andy Mailing List [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I am new to PHP so please excuse my ignorance. I want to manage and create session id's for my shopping cart with

[PHP] which rights to set for dirs containing uploaded files?

2002-03-10 Thread Andy
andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] setting up virtual hosts

2002-03-10 Thread Andy
on the local machine. As soon as I access the names from another machine in my network I do only get the first application (the first entered in the httpd.conf). No matter which name I type in. Does anybody know how to solve this prob or can make a good hint? Thanx in advance Andy -- PHP

[PHP] Re: gd-library ...

2002-03-10 Thread Andy
it and restart your webserver. Thats it. Good luck, Andy Marcel Besancon [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, i'm trying to use the gd-library under windows, but it doesn't work. How can I include the gd.dll? Where do I put this

[PHP] Testing mail functionality on a local network possible?

2002-03-10 Thread Andy
if this would be possible without connection to the internet. Does anybody know a good article on that, or could give me a hint? Thanx, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] limiting the livetime of a session possible?

2002-03-11 Thread Andy
the cookies lifetime with the configuration value lifetime. Which configuration? I tryed session_set_cookie_params(10); But this is only valid for the same script. Does anybody have a good idea, or possibly a hint? Thanx for any help, Andy -- PHP General Mailing List (http://www.php.net

Re: [PHP] limiting the livetime of a session possible?

2002-03-11 Thread Andy
Hi Andrey, is there no way to control the lifetime without modifiying the php.ini? I am not on my own server. The ISP controles this file. Would you suggest to go for a self made session? Andy Andrey Hristov [EMAIL PROTECTED] schrieb im Newsbeitrag 027901c1c91d$cce57970$0b01a8c0@ANDreY"

[PHP] Renaming of files after a special pattern possible?

2002-03-13 Thread Andy
a php script which scannes the dir for matching Countrycode patterns and renames the filename ? E.g.: Make out of CA-map.gif - canada-map.gif? Thanx for any hint, andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Renaming files after a name in the db field

2002-03-13 Thread Andy
a php script which scannes the dir for matching Countrycode patterns and renames the filename ? E.g.: Make out of CA-map.gif - canada-map.gif? Thanx for any hint, andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] trouble with deleting files on unix

2002-03-14 Thread andy
deletes the files in the test dir not in the test/subdir Thanx for any help Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] What is needed to test php mail on a local testserver

2002-03-14 Thread andy
Hi there, I am wondering, how I could test the mail functions of php on a local machine. Do I have to install something like a mailserver, or does this come with php? Maybe someone knows some good articles on that. Thanx, Andy -- PHP General Mailing List (http://www.php.net

[PHP] securing the website with htaccess creates problems with getimagesize

2002-03-17 Thread andy
? Thanx for any help, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] replacing all non [a-z] chars possible?

2002-03-17 Thread andy
. For example there was one: ï which I did not know. So maybe there are a lot others similar like that. The point is, how could I create a valid filename out of those citynames which contains only the chars from a - z? I tryed erregrplc, but I do have to know the char for that. Thanx for any help, andy

Re: [PHP] replacing all non [a-z] chars possible?

2002-03-17 Thread andy
I don't agree. Under this circumstances no picture search engine is gonna find this file. Thats why I am rewriting this module. Thanx anyway. Andy Bvr [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... A good solution is to store the file under

[PHP] Replacing chars like: º OR ¿

2002-03-18 Thread andy
Hi there, I am still searching for a function which is replacing all chars not between [a-z] for exampe a province name like: minºaqah-ash-shamal¿yah into valid chars or just deleting them. There seems to be an endless amount of those chars. Thanx for any hint, andy -- PHP General Mailing

[PHP] Re: Replacing chars like: º OR ¿

2002-03-18 Thread andy
found it: # remove all others $filename = ereg_replace ([^a-z^0-9^-], , $filename); cheers, andy Andy [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi there, I am still searching for a function which is replacing all chars not betwe

[PHP] cant get image size because of htaccess

2002-03-18 Thread andy
? Thanx for any help, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Replacing chars like: º OR ¿

2002-03-18 Thread andy
so whats the difference between yours and : $filename = ereg_replace ([^a-z^0-9^/.^=^/-], , $filename); Andy Alexander Skwar [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... »Rasmus Lerdorf« sagte am 2002-03-18 um 07:12:21 -0800 : $new = preg

[PHP] Are there link checkers for dynamic web sites?

2002-03-18 Thread Andy
Hi there, I am wondering if there are link checkers for dynamic websites? Thanx, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Whats wrong with getimagesize ??

2002-03-19 Thread andy
headache. Thanx for any help, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Whats wrong with getimagesize ??

2002-03-19 Thread andy
hi.. foud the error. For everybody who might cope with the same error: the prob was that getimagesize requires a path name without protocol like: /pictures/12.gif http://server.com/pictures/12.gif does not work with htaccess and imagesize Thats it. easy hah :-) Andy Andy [EMAIL PROTECTED

[PHP] Loading files via HTTP or directly from the server?

2002-03-20 Thread andy
to access them directly from the disk on the server. due to my architecture I can only use apsolute pathnames. I tryed /folder/file.gif but this does not work. 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 adress pictures stored outside of the http server root?

2002-03-21 Thread andy
/home/user/test/images/22.jpg So how could I do this? I guess this is possible, isn't it? Thanx for any help, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to adress pictures stored outside of the http server root?

2002-03-21 Thread andy
? Thanx, Andy Rasmus Lerdorf [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Think about what you are doing a bit here. You want to store the pictures outside of your document_root, yet you want to reference them directly from a web page. That makes ab

[PHP] php does not understand -

2002-03-23 Thread Andy
of a code: ?php require(email_validation.php); $validator=new email_validation_class; $validator-timeout=10; So timeout is beeing printed out. Does anybody know if this might be a prob on my site, or maybe the class has a prob? Thanx Andy -- PHP General Mailing List (http://www.php.net

[PHP] urldecode adds slashes 3 times on a single quote. Why?

2002-03-24 Thread Andy
). textarea name=message rows=10 cols=53 wrap=virtual'.urldecode($message).'/textarea Result: That\\\'s great! So whats wrong? I can't see the mistake. 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 reduce an array to n values?

2002-03-24 Thread Andy
Hi there, I am trying to reduce an array to n values if it is more than n values. eg. $level_depth = 3; $test = array('banana', 'super', 'php', 'car'); # some array function which is deleting the last item ( car) if existant Thanx for any help, Andy -- PHP General Mailing List (http

Re: [PHP] How to reduce an array to n values?

2002-03-24 Thread Andy
for more details. -Original Message- From: Andy [mailto:[EMAIL PROTECTED]] Sent: 24 March 2002 12:31 To: [EMAIL PROTECTED] Subject: [PHP] How to reduce an array to n values? Hi there, I am trying to reduce an array to n values if it is more than n values. eg. $level_depth = 3

[PHP] cookie problem. Not possible to set and read a cookie on the same page?

2002-03-26 Thread andy
]; Unfortuanaelly it gives me the old session id back. After refreshing I am getting the new sessid and everything works fine. The cookie has been sent with the right value, I did dubble check it. But the HTTP_C... reads the old one. why? Thanx for any help, Andy -- PHP General Mailing List

[PHP] does this newsserver work with office x entourage?

2002-03-27 Thread andy
prob? Other newsservers are running with this software. Thanx, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] urlencode and decode are producing \\\' instead of \'

2002-03-29 Thread andy
this textarea name=message rows=10 style=width:485px; cols=58 wrap=virtual'.rawurldecode($message).'/textarea The problem is, that this is causing a message like this: test \\\' So what's wrong? Can anybody help on this? Thank you, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Re: uploading files problem

2002-03-29 Thread andy
put dubble quotes inside your html. I think this is in the spec, as soon as it is no numeric format: input type=file name=file size=30 Cheers, Andy Claudio Fedel [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... hi there, I'm trying to uploa

Re: [PHP] urlencode and decode are producing \\\' instead of \'

2002-03-29 Thread andy
(or even Apache? I'm not sure) when receiving urlencoded strings via URL and form data. Bogdan andy wrote: Hi there, I am trying to fill a form again when an error occures, therefore I redirect to the form and pass the values via url like this: HEADER(Location:/profiles/6.$recipient_i

Re: [PHP] urlencode and decode are producing \\\' instead of \'

2002-03-29 Thread andy
does not work. Just like the decode function is out of order! It is not even decoding \' Andy Andrey Hristov [EMAIL PROTECTED] schrieb im Newsbeitrag 00e301c1d71e$b00569a0$0b01a8c0@ANDreY">news:00e301c1d71e$b00569a0$0b01a8c0@ANDreY... try to do double rawurldecode(). Andrey -

[PHP] Security hole using cookies for sessions. Workaround?

2002-03-29 Thread Andy
goes! My question is: Is there a way to close this hole and let the session expire as soon as only the active window is closed? Thanx you for any help, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Security hole using cookies for sessions. Workaround?

2002-03-29 Thread Andy
hmm.. but there must be some other way to do this. I know one site which is handling this problem. check out http://www.web.de Andy Rasmus Lerdorf [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... My question is: Is there a way to close this hole

[PHP] changing the color from black to blue on an image. Help on imagecolorset.

2002-03-30 Thread Andy
. Here is my try: # set home color $farbe_b = imagecolorallocate($country_image,0,0,0); // create index for the black color imagecolorset($country_image,$farbe_b,51,51,204); // darker blue Can anybody help on this. Thanx in advance, Andy -- PHP General Mailing List (http

[PHP] Changing black to blue (2)

2002-03-31 Thread Andy
neeed to set this country color to blue or red to indicate a special spot. I just don't want to save the same map double or tripple. How could I color the black spot inside the transparent png? Thanx a lot for any hint. Andy PS: The old message is underneath I would like to change the color

[PHP] fetching a parameter from url like on php.net A mirarcle?

2002-03-31 Thread Andy
is not on the server. And then .. how to get a 404 if this is not a function, but really a not existant page? Maybe someone of the php.net team could uncouver the miracle :-) Thanx Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] fetching a parameter from url like on php.net A mirarcle?

2002-03-31 Thread Andy
thanx Rasmus Lerdorf [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... ErrorDocument 404 your_script.php then in your_script.php look at $REQUEST_URI Or stick a phpinfo() call there initially to see what is set. -Rasmus On Sun, 31 Mar 20

[PHP] Re: Changing black to blue (2)

2002-03-31 Thread Andy
thanx! Hugh Bothwell [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have a map of the world with all countries. I have 250 maps of the same size as png where only one country is black, rest is transp. Now I neeed to set this country color to blue

[PHP] closing a security hole on user accounts possible? - confirming accounts - history function

2002-04-03 Thread andy
and clicks on the confirm link Boom!! He has the session and is able to do all the stuff the other one can. How could I close this security hole? Is there a work around? Thanx, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] how to check if e- mail sending did succeed?

2002-04-08 Thread andy
wrong? 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 cope with too long words which make the table to wide?

2002-04-09 Thread andy
to wide. Thanx for any idea Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Ho to write output of sql query to txt file?

2002-06-04 Thread andy
) Records: 35 Deleted: 0 Skipped: 0 Warnings: 630 The warning already tells it. the datasets are totally empty. Only default of the columns is set. do u have an idea why? Thanx, Andy - Original Message - From: Jay Blanchard [EMAIL PROTECTED] To: 'andy' [EMAIL PROTECTED]; [EMAIL PROTECTED

Re: [PHP] Secure File Upload

2002-06-05 Thread andy
difference. Is there something else we have to take care off? Andy Lowell Allen [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... From: Christoph Starkmann [EMAIL PROTECTED] Hi There! When uploading a file with PHP, AFAIK I can only

[PHP] Converting non latin characters

2002-06-04 Thread Andy
on that, Andy http://www.globosapiens.net Global Travellers Network! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   3   4   5   6   7   8   >