Re: [PHP] RE: Find out cookies on a computer?

2006-06-29 Thread Richard Collyer
Peter Lauri wrote: Is the question dumb? Why you answer it then? It is very interesting in a security manner. I have very low knowledge about them, so therefore the question. And if you think this question is unethical, and the rest of the society does that, we would probably not have as secure t

Re: [PHP] ASCII Chars Only

2006-06-03 Thread Richard Collyer
Rabin Vincent wrote: On 6/3/06, Richard Collyer <[EMAIL PROTECTED]> wrote: Hello, Trying to get the following working. I am trynig to select only ASCII characters (not extended ASCII) so that if the string contains characters outside the 32 - 126 range of "good" characters

[PHP] ASCII Chars Only

2006-06-03 Thread Richard Collyer
Hello, Trying to get the following working. I am trynig to select only ASCII characters (not extended ASCII) so that if the string contains characters outside the 32 - 126 range of "good" characters then $Discard is returned as > 0. But it is going overboard telling me that every character i

Re: [PHP] Security Concerns with Uploaded Images:

2006-05-17 Thread Richard Collyer
Richard Lynch wrote: On Mon, May 15, 2006 1:58 am, Jason Wong wrote: 2) the uploaded file is a "script" (perl/php/python/etc) In the case of (2), if the script relies on its shebang line to execute Not necessarily -- What if I upload an "image" file named "badscript.php" and then I surf to

Re: [PHP] PHP suddenly stops working on FreeBSD

2006-05-10 Thread Richard Collyer
Paul Waring wrote: Some version numbers in case it helps: php -v PHP 4.4.2 (cli) (built: May 10 2006 14:40:03) Copyright (c) 1997-2006 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies httpd -v Server version: Apache/2.0.58 Server built: May 7 2006 10:42:02 Does t

Re: [PHP] Amazon WSDL

2006-04-25 Thread Richard Collyer
John Meyer wrote: Hey, is it possible to use the Amazon WSDL within PHP? Lookie what the first google entry for "Amazon WSDL php" was: http://www.onlamp.com/pub/a/php/2003/07/03/php_amazon_soap.html Richard -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.

Re: [PHP] how to reload a PHP page via PHP code

2006-04-14 Thread Richard Collyer
Alain Roger wrote: Hi, I would like to know if it exist a method to reload a PHP page via PHP code ? the topic behind is that i do not want to specify the PHP page to reload. It must reload the actual page only. for example, if use views the page : test.php and click on US flag image. PHP shoul

Re: [PHP] GD

2006-04-03 Thread Richard Collyer
I have a very big problem with GD. I want to make a picture which includes two pictures. And anybody can download it by right click and save as. How can i do this? Please help! Please go away and re-write the question so that we have an idea of what you are after. Without more information

Re: [PHP] Onclick event and PHP function

2006-02-15 Thread Richard Collyer
glish > ">french > ... > > > but this does not work because my session variable is always setup to the > last value (in this case "fre"), even if i click only on english :-( > > could you help me with this PHP issue ? > thanks a lot, > > Alai

Re: [PHP] Parsing MS-WORD docs

2005-09-07 Thread Richard Collyer
my brain (http://www.phpgurru.com) > Hello, Take a look over at SquirrelMail. http://www.squirrelmail.org/ In thier Plugins section they have a script that parses all sorts of documents. Could be a start to build your own - however this needs a couple of extra packages (when installed in U

Re: [PHP] Between Query (0T)

2005-05-08 Thread Richard Collyer
Ryan A wrote: On 5/8/2005 5:33:46 PM, Richard Collyer ([EMAIL PROTECTED]) wrote: Ryan A wrote: Hi, Sorry I know this is OT but I'm hoping someone will still help...it should be quite simple :-) I have a field in the database called "age" which is a DATE field. I also have a we

Re: [PHP] is this possible in PHP?

2005-05-04 Thread Richard Collyer
[EMAIL PROTECTED] wrote: I'd make a script that went through the httpd.conf file with DOM and pulled out all the virtual hosts. Either that or looked at the home directory listings for each site. If this is what you were getting at (seeing as you mentioned root access and what-not), then read the

[PHP] Image Generation: Centering Text

2005-05-02 Thread Richard Collyer
Hello, I am using the following code. imagefill($img_number,0,0,$white); $number = $_GET['text']; Imagettftext($img_number, 10,0,4,15,$black,'arial.ttf',$number); header("Content-type: image/jpeg"); $rotate = imagerotate($img_number, 270, 0); imagejpeg($rotate); ?> But I need to center the text in

Re: [PHP] Newbie Help

2005-05-02 Thread Richard Collyer
Hello, Should work if you use ?page=index Might I suggest that what you are doing is a bad idea. Not only will it look bad becuase of people seeing stuff like ?page=/review/review23.php in the URL. Also its a security risk allowing people to call php scripts from the URL. Cheers Richard Thomas

[PHP] Timetables

2005-04-25 Thread Richard Collyer
Hello, This is probably more of a db question but... I am writing an employee database for work. The majority of it is simple enough however I am stuck on the timetabling. It has to be done in PHP as there are 40 plus team leaders whose computers are all old and have IE on them as one similarity