Re: [PHP] Probably basic but seems advanced to me, PHP/SQL generation.

2002-02-28 Thread Jason Cox
. 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/SQL generation. Hi Baz, Thanks for mailing back, would you

Re: [PHP] novice question

2002-02-28 Thread Jason Cox
://www.php.net/manual/en/functions.php Regards, Jason Cox - Original Message - From: me us [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 27, 2002 2:23 PM Subject: [PHP] novice question Hi Id reelly like to know the syntax for returning results from a called

Re: [PHP] What's wrong w/ this line?

2002-02-25 Thread Jason Cox
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 General [EMAIL PROTECTED] Sent: Monday, February 25

Re: [PHP] switch continue statements

2002-02-25 Thread Jason Cox
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 Hello, I'm not sure if this is a newsgroup, list

Re: [PHP] Parsing commands to a program

2002-02-02 Thread Jason Cox
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't

Re: [PHP] Need Urgent Help!!

2002-01-31 Thread Jason Cox
like to see after the email is sent. 4) Make 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

re: [PHP] Custom email after form submission

2002-01-29 Thread Jason Cox
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, Check the manual for the mail() function. Here's

Re: [PHP] Copying Files to the Web Directory

2001-02-26 Thread Jason Cox
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

Re: [PHP] try catch in php?

2001-02-26 Thread Jason Cox
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 catch

Re: [PHP] No GIF support in this PHP build???

2001-02-22 Thread jason cox
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

Re: [PHP] image orientation/resizing images

2001-02-21 Thread Jason Cox
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 they are

Re: [PHP] Is it possible to use CyberCash w/o MCK?

2001-02-20 Thread jason cox
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

Re: [PHP] Will this work?

2001-02-19 Thread Jason Cox
Hi, form method="POST" action="?php print("$PHP_SELF"); ?" First Name: input type=TEXT name="FirstName" size=15p Last Name: input type=TEXT name="LastName" size=25p E-mail Address: input type=TEXT name="Email" size=25p input type=SUBMIT input type=RESET /form The form should work. ?php

Re: [PHP] Help!! IP functions!!!

2001-02-19 Thread Jason Cox
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!!! I

[PHP] File Upload equiv. with Java/JSP

2001-02-14 Thread jason cox
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

Re: [PHP] Upload form

2001-02-13 Thread jason cox
Brandon, You can set a default value for a form field by doing something like the following: code input type="text" name="field1" value="? echo $var1; ?" /code Hope that helps, Jason --- Brandon Orther [EMAIL PROTECTED] wrote: Hello, This is off topic, but I have been working on it all

Re: [PHP] file upload temp file is and isn't there

2001-02-13 Thread jason cox
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

Re: [PHP] Cannot get PHP w/GD to compile with Apache on RH

2001-02-12 Thread jason cox
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

Re: [PHP] Capturing Emails

2001-02-12 Thread jason cox
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/

Re: [PHP] PROBLEM TO CONNECT MYSQL...

2001-02-10 Thread jason cox
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