Re: [PHP] [more info] Finding all instances

2002-06-30 Thread Andrew Brampton
* FROM table WHERE number=3 OR number=1 Then you can read all these values into a array of some kind and do what you want... I think I may mis-understood the problem a little, but I hope this helps Andrew - Original Message - From: "mikeyb" <[EMAIL PROTECTED]> To: <

Re: [PHP] upgrading php...

2002-07-02 Thread Andrew Brampton
x27;t forget to restart apache for good measures) Andrew - Original Message - From: "Phil Schwarzmann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 02, 2002 7:10 PM Subject: [PHP] upgrading php... > Currently I'm using php 4.0.5 on Win98/apa

RE: [PHP] parsing of SSI scripts.

2002-07-03 Thread Andrew Chase
I'm not sure if Apache will recursively process documents this way (Perl script -> HTML output with embedded PHP -> parsed PHP), but what about adding this HTTP header to your PERL script's output before the HTML/PHP code: Content-type: application/x-httpd-php That way Apache would (in theory)

RE: [PHP] Editing Word Documents

2002-07-09 Thread Andrew Chase
Hmm, I don't know about intercepting the "Save As..." option from word to trigger a PHP URL, but you could direct people to save their edited word files to a specific directory on a network share on a PHP-enabled server (easy enough on a Windows network, and not too much harder with Samba on Linux

Re: [PHP] ??????????????????????????????????????????????????????````````````````````ØØØØØØØØØØ

2002-07-09 Thread Andrew Brampton
If you read the 3 emails he sent previous to his spam you will see that he tried to get the moderators to remove him but after 6 hours he is still on the list, so I guess he thinks that if he starts to spam he will be kicked Andrew - Original Message - From: "Rodolfo Gonzalez&quo

RE: [PHP] Security with XML

2002-07-10 Thread Andrew Chase
You could store passwords as MD5 hashes which of course is NOT really encryption, but it would obfuscate the users' passwords. They would still be vulnerable to social engineering ("Hmm, I'll try his wife's name, then his dog's name, then his phone#," etc) and brute force ("I'm going to run every

Re: [PHP] HTTP_USER_AGENT?

2002-07-10 Thread Andrew Brampton
the $HTTP_USER_AGENT varible contains nothing... Try doing a phpinfo(); to see what the correct varible to use is, it is most likly $_SERVER['HTTP_USER_AGENT'] since the way these varibles are handled changed a few versions ago Andrew "George Hester" <[EMAIL PROTECTED]&g

RE: [PHP] using pdf template

2002-07-11 Thread Andrew Chase
There are a couple of different PHP classes that people have written to make PDF creation easier... maybe they would streamline the process enough that you can make them from scratch after all. http://www.pc4p.net/ http://ros.co.nz/pdf/ I didn't know about those the last time I had to deal with

RE: [PHP] Re: gd ->1:image resolution 2:font quality

2002-07-12 Thread Andrew Chase
The GIMP is free (as in speech), and I've found it to work quite well on windows: http://www.gimp.org/ The GIMP for Windows page: http://www.gimp.org/~tml/gimp/win32/ -Andy > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]> > My idea to solve the problem: > 1:Pic

[PHP] getlastmod() returns error??

2002-07-12 Thread Andrew Ziem
process a directory of PHP files. It pipes them to HTML files in another directory, and I upload those to my server as static pages. I am using Mandrake Linux v8.1 and PHP v4.0.6. Andrew Ziem http://www.springsrescuemission.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Re: getlastmod() returns error??

2002-07-12 Thread Andrew Ziem
I upgraded to PHP 4.2.1,and I still receive the error. Andrew "Andrew Ziem" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > I am using getlastmod() to create a META HTTP-EQUIV tag. However, > getlastmod(

Re: [PHP] ob_start

2002-07-14 Thread Andrew Brampton
#x27;t have the correct compression libraries compiled into PHP... I spent ages trying to figure out why mind didn't work and this was the problem. The anonying thing is that if you don't have this libs it doesn't even tell you andrew - Original Message - From: "Kevin Wat

Re: [PHP] newbie: mysql statement

2002-07-15 Thread Andrew Brampton
Shouldn't this be "UPDATE header SET parent='$this->parent' WHERE posted = max(posted)" Otherwise the max(posted) = max(posted) is true for all records (therefore all records get updated) Andrew - Original Message - From: "Martin Clifford" <

RE: [PHP] Any PHP editor for windows

2002-07-18 Thread Andrew Chase
ftp://ftp.gnu.org/gnu/windows/emacs/latest A helpful Emacs resource: http://www.emacswiki.org/cgi-bin/wiki.pl Be sure to download php-mode for Emacs, too! http://sourceforge.net/projects/php-mode/ And PSGML if you do much with HTML/XHTML/XML: http://www.lysator.liu.se/projects/about_psgml.html

RE: [PHP] Re: Doing an HTML POST using header()

2002-07-22 Thread Andrew Braund
> Forging a POST is a complicated task when compared to its GET cousin, > and there is no 'easy' way > > You must either use CURL, or write your own mini web client... > > Francis wrote: > > > > using NT? all I need it for is so the user can skip a registration step put > > its all coded using

Re: [PHP] auto 'jump' to link

2003-09-03 Thread Andrew Brampton
if ($x == 5) header('Location: http://blah.com/blah'); This what you were looking for? Also make sure this is sent before any other output Andrew - Original Message - From: "DougD" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, Septembe

Re: [PHP] suggestion: recursive calls

2003-09-04 Thread Andrew Brampton
very odd number to set the stack size to. I'm also guessing that it wouldn't be too hard for the PHP Dev team to place a limit on the recursion depth, or maybe it is a bit too hard and thats why they didn't bother :)... Andrew - Original Message - From: "Ronald van Raapho

Re: [PHP] GD problem

2003-09-23 Thread Andrew Brampton
d you have HTML in there as well :/ If you are doing something like: echo ''; ImagePNG(); //I want the image to appear here echo ''; Then you will need to do: echo ''; echo ' echo ''; and in somephpfile.php you will have the code to generate the

[PHP] alpha channel inpng

2003-10-04 Thread Andrew Chernyack
Hi all... I have the problem: As a result i get an image but without transparency. What's the matter?

Re: [PHP] PHP Notice: Undefined variable

2003-10-04 Thread Andrew Chernyack
I recommend the next variant if ($_POST["msg"] =="hi") Why? I've created an html file with form's action parameter as info.php that contains phpinfo(). The result was PHP_SELF /~adolf/info.php _POST["a"] dv fdsvz _SERVER["CONTENT_LENGTH"] 10 You see, _POST["a"] - Orig

[PHP] Hotmail servers, Was RE: [PHP] LiteSpeed Web Server 1.1

2003-10-08 Thread Andrew Whyte
back to FreeBSD. There is also good rumour about that MS have fully ported .NET to FreeBSD so that they can use the .NET framework for coding, and FreeBSD to continue running Hotmail. Of course, this could all be just rumour... but it's interesting to ponder. :-) -Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] email certain people

2003-10-09 Thread Andrew Whyte
ot;] as $key => $email_addr ) { // send your email to each user... } } This way you can simply add more email input fields to the form over time and the code will always work with it... I'll leave the email sending as an exercise for the reader, ther

RE: [PHP] Maybe a silly question

2003-10-09 Thread Andrew Whyte
xpect it to be should you go an change the table layout with ALTER TABLE. Cheers, Andrew > -Original Message- > From: Tom Ray [Lists] [mailto:[EMAIL PROTECTED] > Sent: Friday, 10 October 2003 3:57 PM > To: [EMAIL PROTECTED] > > I'm wondering if someone can explai

[PHP] PHP Installation Problems

2003-10-10 Thread Andrew Woolley
-Original Message- From: Mehdi Achour [mailto:[EMAIL PROTECTED] Sent: 10 October 2003 12:28 To: Andrew R. Woolley Cc: [EMAIL PROTECTED] Subject: Re: PHP Installation Problems Hi Andrew, Please ask support questions at [EMAIL PROTECTED] didou > I use php a lot myself but have o

[PHP] SQL Query OT question for the experts :)

2003-10-17 Thread Andrew Brampton
7;,'4','Cairn Hotel'); (105356,NULL,'http://blah/photos/105356/EAB105356.jpg','1','Ramada Jarvis Bolton'); (105356,NULL,'http://blah/photos/105356/CAB105498.jpg','2','Ramada Jarvis Bolton'); If I can't do this with some quick and dirty SQL, I'll write some PHP to do the process, but since I'm not being paid to fix this problem, and the client caused it himself I thought I'll take the easier option of using SQL before I wrote some code out of kindness... Thanks very much Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php cgi configuration w/ htaccess

2003-10-20 Thread Andrew Warner
My ISP hosted website uses the php apache module version, but I'm trying to use php cgi version for the part of my site edit application that actually creates and edits files on the site. This will avoid all the permision and chmod hassle when php tries to create and edit files. My ISP has plac

[PHP] read session data without starting session

2003-11-26 Thread Andrew Warner
I have a script that browses a sessions table and extracts and displays the session values for display. The function below (I don't remember where I got it) extracts session data without starting a session, but it doesn't handle session values that are arrays. Anyone have something like this th

RE: [PHP] date conversion

2003-12-10 Thread Andrew Wilson