[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: .mm.dd 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
ith a input 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://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[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] timestamp iin MySQL not compatible to the one in PHP???

2002-03-05 Thread Andy
day, 19-01-2038 but the mysql timestamp says: 20020305211704 So whats going on? Can anybody help please? Thanx andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

[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
. 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 PROTECT

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

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

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

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

2002-03-10 Thread Andy
Thanx 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
ve 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

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

2002-03-10 Thread Andy
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
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/) To

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

[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/) To

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

2002-03-17 Thread andy
sword ? 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
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 so

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

[PHP] cant get image size because of htaccess

2002-03-18 Thread andy
sword ? 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« sa

[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
gives me a real 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" <[EM

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

2002-03-20 Thread andy
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
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

[PHP] php does not understand ->

2002-03-23 Thread Andy
a bit of a code: 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/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2002-03-24 Thread Andy
e($message)." '.urldecode($message).' 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, An

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

2002-03-24 Thread Andy
ww.php.net/manual/en/function.array-slice.php 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, &

[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
same 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
.""); then I put it in again like this '.rawurldecode($message).' 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, visit: http://www.php.net/unsub.php

[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: 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
pliant, but the decoding is done by PHP > (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

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 d

[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: > &g

[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
Now I 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

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

2002-03-31 Thread Andy
n 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
is set. > > -Rasmus > > On Sun, 31 Mar 2002, Andy wrote: > > > Hi there, > > > > I am wondering how to get a parameter from url like on php.net Example: > > php.net/functionname > > > > I guess this is a server config isn't it? The server woul

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

[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
wide. Thanx for any idea Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] how to create a file with php

2002-04-11 Thread andy
Hi there, I am wondering how to create a file on the server. I do not want to write anything to the file. Just create it. Thanx Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] is it possible to scann subdirectories?

2002-04-11 Thread andy
Hi there, I have to change several filenames in lots of subdirs. The script for changing filenames already works. How could I extend this to include all subdirs? thanx, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] placing data outside the server root

2002-04-15 Thread andy
Hi there, is it possible to place data like images outside the server root, and if so does php still get access to them for displaying? thanx, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] placing data outside the server root

2002-04-15 Thread andy
Hi there, is it possible to place data like images outside the server root, and if so does php still get access to them for displaying? thanx, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How to protect MySQL password

2001-10-23 Thread Andy
including a file pa/pa.php (protected area) but this file also has to have read access to all users and could be read with fopen( "URL", "r" ). Who can help? Andy. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

[PHP] Advanced. Trapped in architecture.

2001-10-26 Thread Andy
stuck here. Thanx for any help Cheers 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] Searchengine friendly URLs

2001-10-26 Thread Andy
Hi there, I heared that search engines are not following things after the question mark. Now I looked arround and noticed, that some sites yust have numbers behind the .php extension. How does this work? Can anybody make an example and list advantages and disadvantages? Thanx, Andy -- PHP

[PHP] Session handling with cookies??

2001-10-29 Thread Andy
. Thanx for any help Cheers 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] PATH_INFO and the ' / ' (search friendly URLs)

2001-11-13 Thread Andy
info behind. This happens on win and unix. It workes for example at this site: http://www.stuttgarter-zeitung.de/stz/page/detail.php/13971 So..does anybody know whats going on with that? Maybe there is a need to enter something in a .htaccess file? Thanx for any help, Cheers Andy -- PHP

[PHP] How to install gdlibrary?

2001-11-27 Thread Andy
Hi there, does anybody know a link where the installation of gdlibrary is explained. I was trying to install zlib which is mandatory for gd but there is nowhere a install documentation! Thanx for any help cheers Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

[PHP] declaring variables mandatory???

2001-11-30 Thread Andy
I have obtained other php code which workes on other systems, but not on mine. Thanx for any help Cheers, 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

[PHP] Configuring PHP. php.ini does not do what it should

2001-12-04 Thread Andy
php.ini. ; Directory in which the loadable extensions (modules) reside. extension_dir = c:/PHP_404/extensions Is there a precompiled version of php with gdsupport included? What would be my best bet to get in running? Thanx in advance, andy -- PHP General Mailing List (http://www.php.net/) To

[PHP] How to resize a jpeg?

2001-12-04 Thread Andy
Hi, after getting gd to work (thanx folks!) I am having some probs with the commands. The simple resize of a jpeg cant be that hard?! I have a 600x400 px jpeg and want to make a 80 x 60 out of it. Do I have to use imagecopyresized? And how. The result looks bad right now. Thanx, Andy

[PHP] Searching for a new provider

2001-12-12 Thread Andy
a VM > - MySQL 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] Parse URL parameters

2001-07-04 Thread Andy
How can I parse parameters sent with the URL of an pgp site? Example: I call the site with http://www.server.xyz/sub/site.php?a1=123&a2=312 How can I get the values of a1 and a2? Thanks, folks! Andy. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [E

[PHP] Single quote

2001-07-06 Thread Andy
eg_replace( "\\'", "'", $sData ); but I had no luck. Who can help? 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]

RE: [PHP] HTTP headers and include()

2001-08-22 Thread Andy
See if is there some kind of echo before header()s, or HTML sent to browser. You cannot do this Bla bla Why? Because there is already content sent to the browser. If some code uses header() place it before any output. As I said sometimes a simple echo() breaks all.

[PHP] Quick Guide to Building On Windows

2008-04-18 Thread Andy
I have a question in regards to building php-5.2.5 on Windows. I followed the direction under "Quick Guide to Building On Windows" on the following website exactly: http://php.mirror.camelnetwork.com/manual/en/install.windows.building.php However, I am unable to build the project becaus

RE: [PHP] Database administration framework

2007-06-26 Thread Andy
I have 20 tables that have data's in them. And these table data's must be edited with this admin tool. There are very few joins but there are references between the tables. Regards, Andy. > -Original Message- > From: Chris Boget [mailto:[EMAIL PROTECTED] > Sent: T

[PHP] Database administration framework

2007-06-26 Thread Andy
Hi, I just need a framework for administrating tables in a database. These are simple add/edit/remove operations from tables. Can you suggest a framework for this kind of job? Cause there are a lot of tables and I hope I can find a nice tool to work with. Thank you.

[PHP] Image list performance ISSUE

2006-08-02 Thread Andy
uot;.filesize($fname)); readfile($fname); ... where fname is the image file. I want to know... is this a big performance issue or not(the image is handled by php and not by apache directly) OR... Is there any other way to handle this situation??? Thanx, Andy.

Re: [PHP] Image list performance ISSUE

2006-08-07 Thread Andy
check the performance of the system in this case, but I think it will be the same. The performance Issue that I asked was: Is there a difference if apache sends the image or If I output it with php with readfile. Andy. - Original Message - From: "WeberSites LTD" <[EM

Re: [PHP] Image list performance ISSUE

2006-08-07 Thread Andy
Thanks for the answers. I will launch anyway this solution, it is more secure for us... I will monitor the server to see if it can handle the load. Regards, Andy. - Original Message - From: "Chris" <[EMAIL PROTECTED]> To: "Andy" <[EMAIL PROTECTED]&

[PHP] PHP IMAP with Attachments!?

2006-10-31 Thread Andy
Hi to all, I need a class that reads emails from a server and reads the attachments from the mail. The mailservers is an IMAP for mail reading. The attachment types can be: images/pdf/text documents. Any suggestions? On phpclasses.org did not find any which works well. Regards, Andy.

Re: [PHP] Re: umlaut problem in firefox

2006-03-15 Thread Andy
oblem in firefox Andy wrote: Hi to all, I just reinstalled one of our servers last week, and I am noticing a wierd problem. On the old one was php4 running. Suse 9.1 OS. Everything worked very well. On the new one Suse 10. Php5. Only with firefox (sometimes and not always) and only on

Re: [PHP] Re: umlaut problem in firefox

2006-03-15 Thread Andy
2 different servers. The same behavior. Apache2 + php5. With php4 I didn't have this problem. The really stupid thing is that sometimes works well. Andy. - Original Message - From: "Barry" <[EMAIL PROTECTED]> To: Sent: Wednesday, March 15, 2006 11:21 AM

Re: [PHP] Re: PDFLib or some free solution?

2006-03-21 Thread Andy
I suggest also www.fpdf.org. You have there a lot of examples... Regards. - Original Message - From: "Barry" <[EMAIL PROTECTED]> To: Sent: Tuesday, March 21, 2006 4:26 PM Subject: [PHP] Re: PDFLib or some free solution? [EMAIL PROTECTED] wrote: Hi, I have to create some flyers an

Re: [PHP] Re: PDFLib or some free solution?

2006-03-21 Thread Andy
f you need very complicated pdf documents(with javascript and much scripting in it)... then I don't know what class to suggest. Andy. - Original Message - From: Suhas To: Andy Sent: Tuesday, March 21, 2006 9:07 PM Subject: Re: [PHP] Re: PDFLib or some free solution

[PHP] Switching to UTF-8. Need help.

2006-03-23 Thread Andy
are full with german and french characters. Any of these aren't shower correctly. What is the workaround for this? Best regards, Andy.

Re: [PHP] Switching to UTF-8. Need help.

2006-03-24 Thread Andy
correct encoding. By default the browser(tested on IE and firefox) sees as UFT-8 encoding for the page. If I output the string with utf8_encode function than it wroks well. But... it this the solution??? I don't want to modify the whole project. Best regards, Andy. - Original Messag

Re: [PHP] Switching to UTF-8. Need help.

2006-03-24 Thread Andy
No it was not. If I save it with UFT8 encoding it works well. So, do I have to convert all the files to UTF8 encoding? Is there an easy way to do that? - Original Message - From: "Jasper Bryant-Greene" <[EMAIL PROTECTED]> To: "Andy" <[EMAIL PROTECTED]>

[PHP] String /pattern formatting extraction question

2006-04-10 Thread Andy
e order betweeen /o and /p can be switched, so there is no rule that /p is before /o. How can I do this? I tried ereg but no success. Andy.

Re: [PHP] Re: String /pattern formatting extraction question

2006-04-10 Thread Andy
eg[1] eregi("^(.*)/p([^/.*]*)", $html, $reg); print_r($reg); //text is in reg[2] eregi("^(.*)/o([^/.*]*)", $html, $reg); print_r($reg); //text is in reg[2] This example works, but I thought there might be a better way to extract the texts, with a single ereg or preg_match.

[PHP] performance criteria on DEFINE()

2006-04-21 Thread Andy
fine. I don't know how php handles these defines(memory usage, CPU etc) so the question is: how much affects the performace the inclusion of a lot of defines??? Andy.

Re: [PHP] performance criteria on DEFINE()

2006-04-21 Thread Andy
Thanks for the suggests. I will have to make some tests to see what will happen, especially how fast. I will post after that my opinion. Regards, Andy. - Original Message - From: "Jochem Maas" <[EMAIL PROTECTED]> To: "Andy" <[EMAIL PROTECTED]> Cc: S

[PHP] umlaut problem in firefox

2006-02-17 Thread Andy
Any ideeas??? Best Regards, Andy.

Re: [PHP] Re: umlaut problem in firefox

2006-02-17 Thread Andy
debug. Regards. - Original Message - From: "Barry" <[EMAIL PROTECTED]> To: Sent: Friday, February 17, 2006 11:05 AM Subject: [PHP] Re: umlaut problem in firefox Andy wrote: Hi to all, I just reinstalled one of our servers last week, and I am noticing a wierd

[PHP] Magazine Subscription Script

2001-02-15 Thread Andy
Does anyone know of any sites that have any scripts for managing magazine subscriptions! Cheeky I know but may save a lot of time! Thanks Andy Kent Managing Director Angel Solutions Ltd t: 0151 737 1048 f: 0870 126 9837 e: [EMAIL PROTECTED] w: http://www.angelsolutions.co.uk

[PHP] PHP Sessions

2002-12-04 Thread Andy Kirk
Can anyone tell me if session variables should be available to scripts that are included into the main script? It appears to me that they are not unless I am really missing the point. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Parse Errors

2002-12-14 Thread Andy Turegano
I am a PHP beginner so this error may be a stupid one. Anyway, I'm trying to write a simple addition script. The client enters two numbers, then my script (adder.php) adds them. However, when the script is run, I get "Parse Error On Line 3" I have no idea exactly what I have done wrong. Here is the

Re: [PHP] question

2002-12-14 Thread Andy Turegano
Yes, that is indeed true. On Sun, 15 Dec 2002, Justin French wrote: > I assume you know that running PHP on Apache 2 is NOT RECOMMENDED YET, or at > the very least, listed as "experimental"?? > > Justin > > > on 15/12/02 11:13 AM, r.vellinga ([EMAIL PROTECTED]) wrote: > > > Hello, > > > > still t

Re: [PHP] how to send an MSWORD email?

2002-12-15 Thread Andy Turegano
The easiest way to include a picture in the email would be through the html. The second way sounds much more complex. Right now, I really don't know of any other ways. Perhaps copy and paste? On Sun, 15 Dec 2002, Chris Shiflett wrote: > --- See Kok Boon <[EMAIL PROTECTED]> wrote: > > I want to s

Re: [PHP] Code appearing suddenly!.

2002-12-16 Thread Andy Turegano
Perhaps you made an error when you configured it? On Mon, 16 Dec 2002, Lic. Rodolfo Gonzalez Gonzalez wrote: > Hi, > > I've just recompiled PHP 4.2.3 on RedHat w/Apache, after having upgraded > from Perl 5.6.0 to 5.8.0 (I had to disable mod_perl for now, due to > incompatible libraries). But now

Re: [PHP] Array

2002-12-16 Thread Andy Turegano
What you have to do, at least I think, is you have to type: $r = $monthschedule["Jun"]; That is what I think you have to do. The other way you did it was when you have a value-only array. On Mon, 16 Dec 2002, Mako Shark wrote: > I have an array I set up like this: > > $monthschedule = array(1 =

RE: [PHP] Array

2002-12-16 Thread Andy Turegano
;]; > print ("Key: $k; Value: $c"); >} > } > > > Quentin > > -Original Message- > From: Andy Turegano [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, 17 December 2002 10:25 a.m. > To: Mako Shark > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP]

RE: [PHP] php / unix functions

2002-12-17 Thread Andy Turegano
Well, what do you want them to do? On Wed, 18 Dec 2002, Martin Towell wrote: > the only other way I know is to use: $output = `$cmd`; (ie, backticks) > > -Original Message- > From: Greg [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 18, 2002 1:27 PM > To: [EMAIL PROTECTED] > Sub

RE: [PHP] Re: mail()

2002-12-20 Thread Andy Turegano
Yeah, is the best alternative. On Fri, 20 Dec 2002, John W. Holmes wrote: > > I changed this and it works fine but I now lose my formating. It > doesn't > > seem to recognize the \n breaks. Am I asking for to much? > > Well, you'll be required to learn HTML if you're going to send HTML > emai

<    1   2   3   4   5   6   7   8   >