I've been off the list for a couple of months after
having been on for 2 years and I must say, it's good
to be back. Unfortunately, my latest job advancement
left me using jsp/servlets but there's always hope...
jason
__
Do You Yahoo!?
Yahoo! Auct
Felipe,
You need to login with the root account to mysql and
then issue the following commands where "user1" is the
user that your modifying and "pass1" is the new
password.
after you've logged in successfully as root, issue the
following commands:
use mysql;
update user set password=Password(
I would just loop through the array and grab the
key/value pairs and then add them to a new array as
you modify them.
Jason
--- Jaxon <[EMAIL PROTECTED]> wrote:
> Hi folks!
>
> If $array contains the following:
>
> boy => hello
> girl => hi
> dog => bark
>
> How can I alter all the elements t
Greg,
I've done this many a time and haven't ever been able
to do it from rpms. I install the gd stuff including
libjpeg and libpng into the same directory. In my
case it's /usr/local/gd. Then you should specify the
path like --with-gd=/usr/local/gd . This has always
worked for me.
Jason
--
Ade,
If you're running Unix/Linux, I would recommend using
Procmail. It does the local delivery for mail. You
would setup processing rules and can work with copies
of emails for processing without disturbing delivery.
Useful Procmail links
Top site: http://www.ii.com/internet/robots/procmail/
Brandon,
You can set a default value for a form field by doing
something like the following:
Hope that helps,
Jason
--- Brandon Orther <[EMAIL PROTECTED]> wrote:
> Hello,
>
> This is off topic, but I have been working on it all
> day with php and can't
> seem to figure it out. Does anyone
Aaron,
Are you processing the file on the page you're
"posting" to? Could you send your processing code so
we can have a look? If you're still having problems,
I can send you an example.
Jason
--- "Aaron D. Turner" <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
Does anyone know the difference between file upload
handling in PHP and with Java/JSP? An example of the
Java equiv. would be most appreciated. I already know
how to do it with PHP and am trying to do a bit of
conversion. I'm interested more in the backend
processing.
thx,
jason
___
Hi,
> ">
> First Name:
> Last Name:
> E-mail Address:
>
>
The form should work.
> if(!IsSet($FirstName, $LastName, $Email))
> {
> header("Location: http://www.SITE.com/error.php");
> exit;
> }
> else
> {
> header("Location:
> http://www.SITE.com/thanks.php");
> exit;
> }
> ?>
Th
Use the variable $REMOTE_ADDR. It contains the request ip address.
Jason
- Original Message -
From: "Bruno Freire" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 19, 2001 12:34 PM
Subject: [PHP] Help!! IP functions!!!
> Hi!!
>
> My name is Bruno, From Brazil!!!
Ben,
In order to use the Cybercash functions in php, you
must have php installed with cybercash support. You
can't compile php with cybercash support without the
MCK. If your provider won't do it, you could always
compile a PHP cgi binary with the cybercash
extensions(or find a different provid
I believe it's still --enable-ftp.
Jason
--- Brandon Orther <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am trying to enable ftp can someone please remind
> me what the command is?
>
> Thank you,
>
>
> Brandon Orther
> WebIntellects Design/Development
> At 17:48 21/02/2001 -0500, Jaxon wrote:
> >Is there any way to take an image from the filesystem, say a .jpg or
.png,
> >and display it in a different orientation? e.g. 20 degrees to the right?
>
> At 17:18 21/02/2001 -0500, Dale Frohman wrote:
> >Does anyone know of a way to resize images as t
You don't have to specify them as "PHP arrays". You
can do something like:
PHP will create the array for you.
Jason
--- Brian White <[EMAIL PROTECTED]> wrote:
> Why do you have to specify multi-value fields in
> HTML
> forms specifically as PHP arrays?
>
> It seems incompatible with othe
Are you trying to create images or just display
images? If you're trying to create images using GD,
you'll need to check the version of GD you have
installed. If you have a newer version or don't have
it installed at all, you won't be able to use that
functionality. If you're trying to display
PHP runs as the webserver user which in most cases is user nobody. For PHP
to write to a directory, it has to be writable to this directory. A
possible solution would be to compile a PHP executable and run a script from
cron to copy the files periodically. By using cron and a cgi-version of PHP
No, PHP doesn't have the extensive error handling that Java does. It's a
bit more like C.
Jason
- Original Message -
From: "Jeff" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 26, 2001 6:30 PM
Subject: [PHP] try catch in php?
> Is there any equivalent java try cat
Sorry. I forgot to reply to the list.
- Original Message -
From: "Jason Cox" <[EMAIL PROTECTED]>
To: "Edward R. Bailey" <[EMAIL PROTECTED]>
Sent: Tuesday, January 29, 2002 8:27 AM
Subject: Re: [PHP] Custom email after form submission
> Ed,
>
>
ke sure this page is on your server and point your form at it.
Voila!
Let me know if you have any problems.
Regards,
Jason Cox
> Shannon,
> I appreciate your help!
> The following are the form fields I have created in Flash and their
variable
> names, I need to be able to rece
How I've done it in the past is to dynamically build the command string and
then pass it through the exec function like so:
$cmdStr = "pure-pw useradd joeblow -u ftpuser -d /home/joeblow";
exec($cmdStr);
The exec call won't display output but I believe if you use system($cmdStr)
it will. I don'
Nick,
I believe you need a space between 'else' and 'if'. Should be two separate
words. If that doesn't work, please send more of the code.
Regards,
Jason Cox
- Original Message -
From: "Nick Richardson" <[EMAIL PROTECTED]>
To: "PHP Gener
e a switch
block but I doubt it will jump you to the default case.
Hope that helps,
Jason Cox
- Original Message -
From: "KAT 44" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, February 23, 2002 9:13 PM
Subject: [PHP] switch & continue statements
He
.
Hope that clears things up a bit.
Jason Cox
- Original Message -
From: "DARCY,MATTHEW (Non-HP-UnitedKingdom,ex2)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 28, 2002 6:55 AM
Subject: RE: [PHP] Probably basic but seems advanced to me, PHP/
7;s a great tool and contains user comments. Chances are that
if you have a problem, someone else has already run into it and posted the
solution in the manual. Here's a link:
http://www.php.net/manual/en/functions.php
Regards,
Jason Cox
- Original Message -
From: "me us" &l
24 matches
Mail list logo