* 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: <
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
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)
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
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
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
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
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
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
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
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(
#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
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" <
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
> 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
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
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
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
Hi all...
I have the problem:
As a result i get an image but without transparency.
What's the matter?
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
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
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
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
-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
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
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
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