Re: [PHP] =??Q?Esco=AE?= Frontier Acela High Performance Fume Hoods

2009-11-03 Thread Hanjie Xu
What's this? 2009/11/4 Esco Biotech Pvt. Ltd. > Esco® Frontier Acela High Performance Fume Hoods > > > > *ESCO's Industry Leading Frontier Acela Fume Hood gives you ** > Maximum Flexibility, Energy Savings and Quality all at an Affordable Price! > * > > · Low Velocity (0.3 m/s) yet H

Re: [PHP] =??Q?Esco=AE?= Frontier Acela High Performance Fume Hoods

2009-11-03 Thread Adam Randall
Spam. On Tue, Nov 3, 2009 at 5:28 PM, Hanjie Xu wrote: > What's this? > > 2009/11/4 Esco Biotech Pvt. Ltd. > >>     Esco® Frontier Acela High Performance Fume Hoods >> >> >> >> *ESCO's Industry Leading Frontier Acela Fume Hood gives you ** >> Maximum Flexibility, Energy Savings and Quality all a

Re: [PHP] [Q] Exec'ing a command

2008-06-28 Thread Per Jessen
Eric Gorr wrote: > Hopefully this will be clear. > > I've got a unix command-line app which I will be exec'ing (or some > other similar command) from a php script. > > The special property of this unix app is that while it executes and > terminates quickly, only a single instance can be running

Re: [PHP] [Q] Exec'ing a command

2008-06-27 Thread Eric Gorr
On Jun 27, 2008, at 3:18 PM, Daniel Brown wrote: On Fri, Jun 27, 2008 at 3:12 PM, Eric Gorr <[EMAIL PROTECTED]> wrote: Now, one possible solution to this problem is that the php script adds it's request to run the unix app to a queue and their is some other code which pulls a request off

Re: [PHP] [Q] Exec'ing a command

2008-06-27 Thread Daniel Brown
On Fri, Jun 27, 2008 at 3:12 PM, Eric Gorr <[EMAIL PROTECTED]> wrote: > > Now, one possible solution to this problem is that the php script adds it's > request to run the unix app to a queue and their is some other code which > pulls a request off the queue, performs the operation and returns the d

[PHP] [Q] Exec'ing a command

2008-06-27 Thread Eric Gorr
Hopefully this will be clear. I've got a unix command-line app which I will be exec'ing (or some other similar command) from a php script. The special property of this unix app is that while it executes and terminates quickly, only a single instance can be running at any one time. Howev

Re: [PHP] Q: Logical assignment with strstr( )

2007-02-23 Thread Richard Lynch
On Fri, February 23, 2007 5:24 am, [EMAIL PROTECTED] wrote: > strstr returns a string (in case the needle is found), > but a boolean if there is no needle in the haystack. As the manual suggests, using the === operator to check for FALSE is probably the best way. > I am trying to make a readable

Re: [PHP] Q: Logical assignment with strstr( )

2007-02-23 Thread Robert Cummings
On Fri, 2007-02-23 at 12:24 +0100, [EMAIL PROTECTED] wrote: > Dear list, > > strstr returns a string (in case the needle is found), > but a boolean if there is no needle in the haystack. > > I am trying to make a readable evaluation of some tests, but this fails > to work as supposed because o

[PHP] Q: Logical assignment with strstr( )

2007-02-23 Thread rgx
Dear list, strstr returns a string (in case the needle is found), but a boolean if there is no needle in the haystack. I am trying to make a readable evaluation of some tests, but this fails to work as supposed because of - undefined results when "OR"ing strings with possible string (?) - use

Re: [PHP] another non php Q

2005-04-07 Thread Richard Lynch
On Thu, April 7, 2005 11:32 am, William Stokes said: > Is there a way to limit a size with som sort of a maxlength > value > > I know it's not php but thanks anyway There is no widely-supported HTML attribute for that for TEXTAREA (just for INPUT). Silly HTML. You can write JavaScript to help n

Re: [PHP] another non php Q

2005-04-07 Thread Joseph Connolly
www.w3.org http://www.w3.org/MarkUp/html3/textarea.html wrong list though William Stokes wrote: Is there a way to limit a size with som sort of a maxlength value I know it's not php but thanks anyway -Will -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php

RE: [PHP] another non php Q

2005-04-07 Thread Jay Blanchard
[snip] Is there a way to limit a size with som sort of a maxlength value [/snip] No, http://www.w3.org/TR/html4/interact/forms.html#h-17.7 but you can do it with JavaScript. STFW -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] another non php Q

2005-04-07 Thread John Nichel
William Stokes wrote: Is there a way to limit a size with som sort of a maxlength value I know it's not php but thanks anyway -Will STFW -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.n

[PHP] another non php Q

2005-04-07 Thread William Stokes
Is there a way to limit a size with som sort of a maxlength value I know it's not php but thanks anyway -Will -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] [Q] mail() & security

2005-04-05 Thread Richard Lynch
On Tue, April 5, 2005 9:22 pm, Eric Gorr said: >> It's possible, though extremely unlikely, that somebody could construct >> a >> malicious email that passes through strip_tags and/or htmlentities and >> still does something *bad* for your particular email application. > > Can you give an example?

Re: [PHP] [Q] mail() & security

2005-04-05 Thread Eric Gorr
Richard Lynch wrote: On Mon, April 4, 2005 2:00 pm, Eric Gorr said: I wanted to setup a good 'contact me' page on my website. I do not want to reveal my e-mail address, so I was going to use a form. The PHP script with the actual mail() function would define the To and Subject parameters, so these

Re: [PHP] [Q] mail() & security

2005-04-05 Thread Richard Lynch
On Mon, April 4, 2005 2:00 pm, Eric Gorr said: > I wanted to setup a good 'contact me' page on my website. I do not want > to reveal my e-mail address, so I was going to use a form. > > The PHP script with the actual mail() function would define the To and > Subject parameters, so these could not b

Re: [PHP] [Q] mail() & security

2005-04-04 Thread Eric Gorr
Anthony Tippett wrote: http://www.devshed.com/c/a/PHP/PHP-Security-Mistakes/ Actually, I am familiar with everything this document mentions. Unfortunately, this document does not discuss what one might need to be concerned about when passing text to the body parameter of the mail() function. If

Re: [PHP] [Q] mail() & security

2005-04-04 Thread Eric Gorr
Anthony Tippett wrote: http://www.devshed.com/c/a/PHP/PHP-Security-Mistakes/ thank you for the suggestion. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] [Q] mail() & security

2005-04-04 Thread Anthony Tippett
Eric, It sounds like you just need to do some reading on "best practices" of security when writing php code. It's pretty vast what one can do when trying to hack a php application and depending on what php server settings are set, you may need to do certain things. I'd suggesting reading / googl

Re: [PHP] [Q] mail() & security

2005-04-04 Thread Eric Gorr
Chris W. Parker wrote: > Or in a less extreme case, your computer get hijacked and used to send spam because you used htmlentities() instead of strip_tags(). Well, this is why I asked the question to begin with. I am concerned (as everyone _should_ be) about such things and desire to do my best to

RE: [PHP] [Q] mail() & security

2005-04-04 Thread Chris W. Parker
Eric Gorr on Monday, April 04, 2005 3:48 PM said: > htmlentities would potentially make the body text messier then seems > necessary. Then just use strip_tags() and be done with it. It's not like nuclear missiles are going to be launched via your email form if you

Re: [PHP] [Q] mail() & security

2005-04-04 Thread Josip Dzolonga
Eric Gorr wrote: Shouldn't strip_tags be enough? What dangerous/annoying things might happen if I replaced htmlentities with strip_tags in the above function and then passed the body text to the mail() function? Nothing, but with htmlentities() you can be sure if the user has tried to inject som

Re: [PHP] [Q] mail() & security

2005-04-04 Thread Eric Gorr
Josip Dzolonga wrote: Eric Gorr wrote: Any other suggestions? Well see this example : function clean_body($body_text) { if(ini_get('magic_quotes_gpc')) $body_text = stripslashes($body_text); // If magic_quotes are on, strip the extra-added slashes return htmlentities($body_text); // Return

Re: [PHP] [Q] mail() & security

2005-04-04 Thread Eric Gorr
Chris W. Parker wrote: It seems as if strip_tags strip out everything that htmlentities would change and would therefore be unnecessary. strip_tags() and htmlentities() both perform seperate functions (hence they have different names). htmlentities() encodes special characters, strip_tags() strips

RE: [PHP] [Q] mail() & security

2005-04-04 Thread Chris W. Parker
Eric Gorr on Monday, April 04, 2005 3:13 PM said: > Remember, the text being processed goes straight from $_POST[ 'body' ] > through strip_tags (+ more?) into mail(). Remember? You didn't mention this is your original email so how could I be told to recall this info

Re: [PHP] [Q] mail() & security

2005-04-04 Thread Josip Dzolonga
Eric Gorr wrote: Any other suggestions? Well see this example : function clean_body($body_text) { if(ini_get('magic_quotes_gpc')) $body_text = stripslashes($body_text); // If magic_quotes are on, strip the extra-added slashes return htmlentities($body_text); // Return the value } This is a

Re: [PHP] [Q] mail() & security

2005-04-04 Thread Eric Gorr
Chris W. Parker wrote: www.php.net/addslashes I am uncertain what dangerous/annoying things might happen if I did not call this function. Can you come up with any? Remember, the text being processed goes straight from $_POST[ 'body' ] through strip_tags (+ more?) into mail(). It would seem that

RE: [PHP] [Q] mail() & security

2005-04-04 Thread Chris W. Parker
Eric Gorr on Monday, April 04, 2005 2:01 PM said: > The only concern I had was how to process the body text. Any > recommendations? > > One useful function would appear to be strip_tags, so no one could > embed annoying or destructive HTML, etc. which I may accident

[PHP] [Q] mail() & security

2005-04-04 Thread Eric Gorr
I wanted to setup a good 'contact me' page on my website. I do not want to reveal my e-mail address, so I was going to use a form. The PHP script with the actual mail() function would define the To and Subject parameters, so these could not be faked. I also plan to use a captcha. The only conce

[PHP] Q: static method working in PHP4 and PHP5

2005-03-24 Thread Piotr Klaban
Hi, An example script: would produce in PHP5 error: PHP Strict Standards: Non-static method Foo::test() should not be called statically in ... line 8 I have two questions: 1. Could it be possible that under specific circumstances such a call can produce fatal error "Non-static method Foo

Re: [PHP] Q re: php-5.0.2 ./configure --with-soap --with-openssl --with-tidy (copy)

2004-10-28 Thread Bill McCuistion
Curt Zirzow wrote: > * Thus wrote Bill McCuistion: >> Q re: php-5.0.2 ./configure --with-soap --with-openssl --with-tidy >> >> Hello all. Hoping for some direction with the above step. >> >> Have PHP-5.0.2 and can configure the soap and openssl options, but when I >> add the tidy option, the op

Re: [PHP] Q re: php-5.0.2 ./configure --with-soap --with-openssl --with-tidy (copy)

2004-10-27 Thread Curt Zirzow
* Thus wrote Bill McCuistion: > Q re: php-5.0.2 ./configure --with-soap --with-openssl --with-tidy > > Hello all. Hoping for some direction with the above step. > > Have PHP-5.0.2 and can configure the soap and openssl options, but when I > add the tidy option, the operation stops with the foll

[PHP] Q re: php-5.0.2 ./configure --with-soap --with-openssl --with-tidy (copy)

2004-10-27 Thread Bill McCuistion
Q re: php-5.0.2 ./configure --with-soap --with-openssl --with-tidy Hello all. Hoping for some direction with the above step. Have PHP-5.0.2 and can configure the soap and openssl options, but when I add the tidy option, the operation stops with the following message. --> checking for TIDY sup

Re: [PHP] [Q] How to setup Dreamweaver so that PHP scripts are executed?

2004-08-06 Thread David Bevan
On Fri, 2004-08-06 at 17:17, Michael T. Peterson wrote: > Hi, > > I know this must be really obvious to many of you, but I have been unable to > configure DW (using [preferences] or [site->edit]) so that it will execute a > php script from a tag. When the submit button is > clicked the php file

[PHP] [Q] How to setup Dreamweaver so that PHP scripts are executed?

2004-08-06 Thread Michael T. Peterson
Hi, I know this must be really obvious to many of you, but I have been unable to configure DW (using [preferences] or [site->edit]) so that it will execute a php script from a tag. When the submit button is clicked the php file is displayed, rather than executed. Here's the HTML code of the sub

RE: [PHP] [Q] Converting SQL Datetimes to timestamps

2004-08-03 Thread Ed Lazor
: Tuesday, August 03, 2004 11:05 AM > To: [EMAIL PROTECTED] > Subject: [PHP] [Q] Converting SQL Datetimes to timestamps > > Evidently the strtotime() function will not convert an SQL datetime to a > timestamp. Am I missing something? Here's an example of what I mean: > > $

Re: [PHP] [Q] Converting SQL Datetimes to timestamps

2004-08-03 Thread John Nichel
On Tuesday 03 August 2004 14:05, Michael T. Peterson offered up the following tid-bit of information : > Evidently the strtotime() function will not convert an SQL datetime to a > timestamp. Am I missing something? Here's an example of what I mean: > > $sql_datetime = '1948-30-03 01:30:00'; > $ts

Re: [PHP] [Q] Converting SQL Datetimes to timestamps

2004-08-03 Thread John Holmes
Michael T. Peterson wrote: Evidently the strtotime() function will not convert an SQL datetime to a timestamp. Am I missing something? Here's an example of what I mean: $sql_datetime = '1948-30-03 01:30:00'; $ts = strtotime( $sql_datetime ); print( $ts.''); When this script is executed, strtotime()

Re: [PHP] [Q] Converting SQL Datetimes to timestamps

2004-08-03 Thread Jason Wong
On Wednesday 04 August 2004 02:05, Michael T. Peterson wrote: > Evidently the strtotime() function will not convert an SQL datetime to a > timestamp. Am I missing something? Here's an example of what I mean: > > $sql_datetime = '1948-30-03 01:30:00'; > $ts = strtotime( $sql_datetime ); > print( $ts

Re: [PHP] [Q] Converting SQL Datetimes to timestamps

2004-08-03 Thread Matthew Sims
> Evidently the strtotime() function will not convert an SQL datetime to a > timestamp. Am I missing something? Here's an example of what I mean: > > $sql_datetime = '1948-30-03 01:30:00'; > $ts = strtotime( $sql_datetime ); > print( $ts.''); > > When this script is executed, strtotime() returns -1

RE: [PHP] [Q] Converting SQL Datetimes to timestamps

2004-08-03 Thread Vail, Warren
Behalf Of Michael T. Peterson Sent: Tuesday, August 03, 2004 11:05 AM To: [EMAIL PROTECTED] Subject: [PHP] [Q] Converting SQL Datetimes to timestamps Evidently the strtotime() function will not convert an SQL datetime to a timestamp. Am I missing something? Here's an example of what I

[PHP] [Q] Converting SQL Datetimes to timestamps

2004-08-03 Thread Michael T. Peterson
Evidently the strtotime() function will not convert an SQL datetime to a timestamp. Am I missing something? Here's an example of what I mean: $sql_datetime = '1948-30-03 01:30:00'; $ts = strtotime( $sql_datetime ); print( $ts.''); When this script is executed, strtotime() returns -1. If true, th

Re: [PHP] [Q] Regex Woes

2004-07-18 Thread John W. Holmes
Michael T. Peterson wrote: I need to find all lines that begin with the string 'WAZ' after reading from a url (http://www.atmos.washington.edu/data/zone_report.KSEW.html). While I've tried every combination of expressions under the sun (using the functions preg_match(), ereg()), I can not figure ou

[PHP] [Q] Regex Woes

2004-07-18 Thread Michael T. Peterson
All, This should be dirt simple -- So simple, in fact, that I'm somewhat embarassed to make this post, but, oh well I need to find all lines that begin with the string 'WAZ' after reading from a url (http://www.atmos.washington.edu/data/zone_report.KSEW.html). While I've tried every combinati

Re: [PHP] [Q] PHP 101 -- How to check for session existence?

2004-07-14 Thread Justin Patrin
Just a quick comment. It's recommended to use $_SESSION instead of $HTTP_SESSION_VARS, $_POST instead of $HTTP_POST_VARS, etc. Look at the docs about superglobals for more. On Wed, 14 Jul 2004 16:18:14 -0700, Michael T. Peterson <[EMAIL PROTECTED]> wrote: > To protect certain web pages on my site,

[PHP] [Q] PHP 101 -- How to check for session existence?

2004-07-14 Thread Michael T. Peterson
To protect certain web pages on my site, I am using the following code inserted at the very beginning (top) of the page: ... Dreamweaver template code here... Is this a recommended way of doing this? Next, to initialize the session, a login page posts the username - password information to

[PHP] [Q] Using $_SERVER['DOCUMENT_ROOT'] correctly

2004-07-12 Thread Michael T. Peterson
I'm attempting to define a set of environment variables that will allow me to edit and test my web pages on my local machine and then upload to my ISP for verification and publication without having to change any symbols. What variable should I use for the document root? Here's how some of the sym

Re: [PHP] [Q] Why does my php file gets displayed instead of executed

2004-07-11 Thread Michal Migurski
> The problem is that the php script, validate_member_login.php, is > displayed in the browser rather than being executed. Are you running an Apache server? If so, be sure you have the appropriate AddType lines in your configuration, as described in http://www.php.net/manual/en/install.apache.php

[PHP] [Q] Why does my php file gets displayed instead of executed

2004-07-11 Thread Michael T. Peterson
When a user first comes to my site, the user's session id is checked and validated. If no session id is present or the validation fails, the user is vectored to a second page containing a login form. When the user enters the username and password and then clicks the submit button the info is forwa

Re: [PHP] [Q] PHP code embedded in html files - What happens?

2004-03-14 Thread Steve Edberg
At 6:01 PM -0800 3/14/04, Michael T. Peterson wrote: When the following file, tmp.htm, is executed no output is produced. Test hello world'; ?> However, when the name of the file is changed to tmp.php the expected output, 'hello world', is obtained. Is this the correct behavior? More spec

[PHP] [Q] PHP code embedded in html files - What happens?

2004-03-14 Thread Michael T. Peterson
When the following file, tmp.htm, is executed no output is produced. Test hello world'; ?> However, when the name of the file is changed to tmp.php the expected output, 'hello world', is obtained. Is this the correct behavior? More specifically, is the php script not executed? Cheers,

RE: [PHP] [Q] Session management when WEB site is based on template

2004-03-13 Thread Mike Mapsnac
I like this tutorial about session: http://www.phpfreaks.com/tutorials/41/0.php From: "Michael T. Peterson" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: [PHP] [Q] Session management when WEB site is based on template Date: Sat, 13 Mar 2004 18:15:24 -0800 I'm having di

[PHP] [Q] Session management when WEB site is based on template

2004-03-13 Thread Michael T. Peterson
I'm having difficulty figuring out where/how to integrate PHP session management into a web site whose pages are based on a template. Pointers to docs and/or examples would be very helpful. Cheers, Michael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

Re: [PHP] [Q] About "Method Not Allowed" error message

2004-02-20 Thread Shane Nelson
I don't think you can send a POST to a .html page. Maybe your page (register_new_member.html) should be .php instead? Either that or you might have to change your : > When I click the submit button (after completing a [member registration] > form), I get the following error message: > > Me

[PHP] [Q] About "Method Not Allowed" error message

2004-02-20 Thread Michael T. Peterson
When I click the submit button (after completing a [member registration] form), I get the following error message: Method Not Allowed The requested method POST is not allowed for the URL /northwest_steelheader/members/register_new_member.html. This used to work but, during the course of m

Re[2]: [PHP] [Q]PHP not taking input values from forms

2004-02-14 Thread Richard Davey
Hello Dan, Saturday, February 14, 2004, 5:19:26 PM, you wrote: DA> yeah. phpinfo() works, which is how I know for sure that PHP is working DA> fine. It's just not taking inputs. WTF is going? heheI'm going nuts over DA> here. Any other ideas? The fact that you cannot post any data to your in

RE: [PHP] [Q]PHP not taking input values from forms

2004-02-14 Thread Dan Aloma
yeah. phpinfo() works, which is how I know for sure that PHP is working fine. It's just not taking inputs. WTF is going? heheI'm going nuts over here. Any other ideas? From: "Vail, Warren" <[EMAIL PROTECTED]> To: "'Dan Aloma'" <[EMAIL PROTEC

RE: [PHP] [Q]PHP not taking input values from forms

2004-02-13 Thread Vail, Warren
--Original Message- From: Dan Aloma [mailto:[EMAIL PROTECTED] Sent: Friday, February 13, 2004 12:38 PM To: Vail, Warren Cc: [EMAIL PROTECTED] Subject: RE: [PHP] [Q]PHP not taking input values from forms when i run that, it doesn't show return anything. I really don't understand what

RE: [PHP] [Q] Howto go directly to a URL?

2004-02-13 Thread Chris W. Parker
Alex Hogan on Friday, February 13, 2004 1:10 PM said: > if($login == "successful"){ > $url = "yourin.php"; > } > else{ > $url = "tryagain.php": > } > > header("Location: $url"); don't forget the rest of the url and don't forget to exit like matt said...

Re: [PHP] [Q] Howto go directly to a URL?

2004-02-13 Thread Matt Matijevich
Can I avoid that intermediate step, somehow? When my script logs in the user, how to I write the code that dispatches directly to the home page? Have you tried a redirect? http://www.php.net/header http://www.example.com/";); /* Redirect browser */ /* Make sure that code below does not get

RE: [PHP] [Q] Howto go directly to a URL?

2004-02-13 Thread Chris W. Parker
Michael T. Peterson on Friday, February 13, 2004 1:03 PM said: > I have written a very straightforward user login script. Once the > user successfully logs in, I would like my PHP script to take him > directly to the home page. [snip] > Can I avoid that intermediate

RE: [PHP] [Q] Howto go directly to a URL?

2004-02-13 Thread Alex Hogan
February 13, 2004 3:03 PM > To: [EMAIL PROTECTED] > Subject: [PHP] [Q] Howto go directly to a URL? > > I have written a very straightforward user login script. Once the user > successfully logs in, I would like my PHP script to take him directly to > the > home page. I know this so

[PHP] [Q] Howto go directly to a URL?

2004-02-13 Thread Michael T. Peterson
I have written a very straightforward user login script. Once the user successfully logs in, I would like my PHP script to take him directly to the home page. I know this sounds simple, but the only solution I've found is a function called do_html_url() from Welling and Thompson's book (see http:

RE: [PHP] [Q]PHP not taking input values from forms

2004-02-13 Thread Dan Aloma
ork for me. Any other ideas? I REALLY need to get this running, and it's upsetting because I don't get what's going on. TIA. From: "Vail, Warren" <[EMAIL PROTECTED]> To: "'Philip Olson'" <[EMAIL PROTECTED]>,Dan Aloma <[EMAIL PROTE

RE: [PHP] [Q]PHP not taking input values from forms

2004-02-12 Thread Vail, Warren
ooking for. NOTE: if you are not using the form "POST" method, change all instances of "POST" to "GET" in the statement. good luck, Warren Vail -Original Message- From: Philip Olson [mailto:[EMAIL PROTECTED] Sent: Thursday, February 12, 2004 1:55 PM To: Dan A

Re: [PHP] [Q]PHP not taking input values from forms

2004-02-12 Thread Philip Olson
> > > that tag is working fine and shows me the info. For some reason php will > > > take input values only from the URL, not from the html code. any ideas? > > > >A few questions: > > > > a) What's the exact version of PHP? > > b) Please post the smallest possible form that creates this > >

Re: [PHP] [Q]PHP not taking input values from forms

2004-02-12 Thread Dan Aloma
n <[EMAIL PROTECTED]> To: Dan Aloma <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: [PHP] [Q]PHP not taking input values from forms Date: Thu, 12 Feb 2004 16:44:37 + (GMT) On Thu, 12 Feb 2004, Dan Aloma wrote: > that tag is working fine and shows me the info.

Re: [PHP] [Q]PHP not taking input values from forms

2004-02-12 Thread Philip Olson
On Thu, 12 Feb 2004, Dan Aloma wrote: > that tag is working fine and shows me the info. For some reason php will > take input values only from the URL, not from the html code. any ideas? A few questions: a) What's the exact version of PHP? b) Please post the smallest possible form that crea

Re: [PHP] [Q]PHP not taking input values from forms

2004-02-12 Thread Dan Aloma
that tag is working fine and shows me the info. For some reason php will take input values only from the URL, not from the html code. any ideas? From: André Cerqueira <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: [PHP] [Q]PHP not taking input values from forms Date: Wed, 11 Feb 2

RE: [PHP] [Q]PHP not taking input values from forms

2004-02-12 Thread Ford, Mike [LSS]
On 11 February 2004 18:01, Dan Aloma wrote: > Sorry about not including code the first time. Here is a > snippet of code I > am fairly certain should be doing something. Thank you SOOO > much for the > help. I've been working on setting up php for four days now > and EVERYTHING > else works (phpin

Re: [PHP] [Q]PHP not taking input values from forms

2004-02-11 Thread André Cerqueira
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 time() is only echo'ed if $_POST['submit'] is something on this case maybe he has a really old version of php... $HTP_POST_VARS...? do what Richard Davey is saying, on the top Richard Davey wrote: Hello Dan, Wednesday, February 11, 2004, 6:39:35 PM,

Re[4]: [PHP] [Q] Problems invoking a PHP script - Have no hair left to pull - Please help [:-)

2004-02-11 Thread Richard Davey
Hello Tony, Wednesday, February 11, 2004, 9:16:18 PM, you wrote: TDS> That was the problem. The PHP book I have doesn't mention $_GET or $_POST. TDS> The exercises right from the beginning use register_globals. I didn't TDS> realise they were turned off by default. Whoever wrote that book ought

Re: [PHP] [Q]PHP not taking input values from forms

2004-02-11 Thread John Nichel
Dan Aloma wrote: I tried adding that code you gave me, but all it does go back to the same page, and doesn't echo out the time(); results. I can't seem to figure it out for the life of me. like i said, everything else in php is working fine, except for this. Fill in some values for your form fi

Re[6]: [PHP] [Q]PHP not taking input values from forms

2004-02-11 Thread Richard Davey
Hello Dan, Wednesday, February 11, 2004, 6:39:35 PM, you wrote: DA> they're being tested on a testing machine we use. I know PHP is (rather DA> appears to be) working fine. Why would it be parsing files fine and calling DA> phpinfo() fine, but not being able to take input values. that's strange..

RE: Re[4]: [PHP] [Q]PHP not taking input values from forms

2004-02-11 Thread Dan Aloma
o: Richard Davey <[EMAIL PROTECTED]> To: "Dan Aloma" <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re[4]: [PHP] [Q]PHP not taking input values from forms Date: Wed, 11 Feb 2004 18:35:31 + Hello Dan, Wednesday, February 11, 2004, 6:32:16 PM, you wrote: DA> I tried adding

Re[4]: [PHP] [Q]PHP not taking input values from forms

2004-02-11 Thread Richard Davey
Hello Dan, Wednesday, February 11, 2004, 6:32:16 PM, you wrote: DA> I tried adding that code you gave me, but all it does go back to the same DA> page, and doesn't echo out the time(); results. I can't seem to figure it DA> out for the life of me. like i said, everything else in php is working fi

RE: Re[2]: [PHP] [Q]PHP not taking input values from forms

2004-02-11 Thread Dan Aloma
ED]> Reply-To: Richard Davey <[EMAIL PROTECTED]> To: "Dan Aloma" <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re[2]: [PHP] [Q]PHP not taking input values from forms Date: Wed, 11 Feb 2004 18:20:11 + Hello Dan, Wednesday, February 11, 2004, 6:01:21 PM, you wrote:

Re: [PHP] [Q]PHP not taking input values from forms

2004-02-11 Thread John Nichel
Dan Aloma wrote: Sorry about not including code the first time. Here is a snippet of code I am fairly certain should be doing something. Thank you SOOO much for the help. I've been working on setting up php for four days now and EVERYTHING else works (phpinfo() calls, etc), but for some reason

Re[2]: [PHP] [Q]PHP not taking input values from forms

2004-02-11 Thread Richard Davey
Hello Dan, Wednesday, February 11, 2004, 6:01:21 PM, you wrote: DA> Sorry about not including code the first time. Here is a snippet of code I DA> am fairly certain should be doing something. Thank you SOOO much for the Your code is (mostly) fine. The only part that didn't work is the final "the

Re: [PHP] [Q]PHP not taking input values from forms

2004-02-11 Thread Dan Aloma
IL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: [PHP] [Q]PHP not taking input values from forms Date: Wed, 11 Feb 2004 17:49:56 + Hello Dan, Wednesday, February 11, 2004, 5:47:21 PM, you wrote: DA> Can anyone tell me why PHP is not taking any values I give it? In other DA> words,

RE: [PHP] [Q]PHP not taking input values from forms

2004-02-11 Thread Shaunak Kashyap
Please post your code. It makes it easier to understand the problem. Shaunak > -Original Message- > From: Dan Aloma [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 11, 2004 12:47 PM > To: [EMAIL PROTECTED] > Subject: [PHP] [Q]PHP not taking input values from fo

Re: [PHP] [Q]PHP not taking input values from forms

2004-02-11 Thread Richard Davey
Hello Dan, Wednesday, February 11, 2004, 5:47:21 PM, you wrote: DA> Can anyone tell me why PHP is not taking any values I give it? In other DA> words, if I post something it doesn't accept any of those values. I have set DA> register_globals to on, which is the only thing I could think of that wo

Re: [PHP] [Q]PHP not taking input values from forms

2004-02-11 Thread John Nichel
Dan Aloma wrote: Can anyone tell me why PHP is not taking any values I give it? In other words, if I post something it doesn't accept any of those values. I have set register_globals to on, which is the only thing I could think of that would be doing this. I'm a newbie to php, and I've scoured

[PHP] [Q]PHP not taking input values from forms

2004-02-11 Thread Dan Aloma
Can anyone tell me why PHP is not taking any values I give it? In other words, if I post something it doesn't accept any of those values. I have set register_globals to on, which is the only thing I could think of that would be doing this. I'm a newbie to php, and I've scoured the net for an ans

Re[2]: [PHP] [Q] Problems invoking a PHP script - Have no hair left to pull - Please help [:-)

2004-02-11 Thread Richard Davey
Hello Tony, Wednesday, February 11, 2004, 11:18:49 AM, you wrote: T> I have a similar problem whereby in the receiving PHP program the variable T> $Myname doesn't contain anything (i.e. echo $Myname returns nothing) however T> $_GET['Myname'] returns the correct value. How can this be? Because

Re: [PHP] [Q] Problems invoking a PHP script - Have no hair left to pull - Please help [:-)

2004-02-11 Thread Tony
Hello, I have a similar problem whereby in the receiving PHP program the variable $Myname doesn't contain anything (i.e. echo $Myname returns nothing) however $_GET['Myname'] returns the correct value. How can this be? I attach the two short files. I'd appreciate it if anyone can tell me why th

Re: [PHP] [Q] Problems invoking a PHP script - Have no hair left to pull - Please help [:-)

2004-02-11 Thread Richard Davey
Hello Michael, Wednesday, February 11, 2004, 2:48:00 AM, you wrote: MTP> Again, no are any errors displayed or logged. Any help would be greatly MTP> appreciated. Your code is fine (well, the code you posted anyway) so I'd bet the problem is Apache related regarding the config of PHP on your sy

RE: [PHP] [Q] Problems invoking a PHP script - Have no hair left to pull - Please help [:-)

2004-02-10 Thread Larry Brown
PROTECTED] Subject: [PHP] [Q] Problems invoking a PHP script - Have no hair left to pull - Please help [:-) I have a registration form which collects some data then, when the user clicks the submit button sends the data to a second page (a PHP script). The problem I'm having is getting my we

[PHP] [Q] Problems invoking a PHP script - Have no hair left to pull - Please help [:-)

2004-02-10 Thread Michael T. Peterson
I have a registration form which collects some data then, when the user clicks the submit button sends the data to a second page (a PHP script). The problem I'm having is getting my webserver (apache) to invoke the PHP scrip to process the data. What's so baffling about this is that I've already wr

[PHP] Q on EPOCH limitations

2004-01-13 Thread jsWalter
How can I determine if a given UNIX timestamp is out of range on the current system? Right now I get an error thrown that tells me the timestamp is out of range. I'd like to "catch" that error, deal with it in my own manner, and not have the user see what went wrong. Thanks Walter -- PHP Gene

[PHP] [Q] Compatibility issues using Apache and/or IIS

2003-12-24 Thread Michael T. Peterson
First I'm very new to all this, so forgive the naivity of these questions: Anyway, I am building a WEB Site dev environment that supports PHP-MySQL development. I have both IIS and Apache WEB servers available for local testing which begs the following question: What are the factors that would in

Re: [PHP] [Q] Best Practices Question - Directory Structures for WEB site dev using PHP

2003-12-23 Thread Matt Matijevich
[snip] 1) How do experienced developers layout their [dev] directory hierarchy? For example, is there an accepted place to put one's function libraries? On IIS (Windows XP), the default directory structure is c:\inetpub\ AdminScripts iissamples mailroot Scripts wwwroot\

[PHP] [Q] Best Practices Question - Directory Structures for WEB site dev using PHP

2003-12-23 Thread Michael T. Peterson
Hi, I'm new to PHP and WEB site development, but have coded in C/C++, Java, and multiple shells for over 20 years. So far I've found this stuff really neat (and challenging). Anyway, I have a few questions dealing with file locations, [de facto] directory structures, etc., when designing a WEB Si

[PHP] Q on RegExp & extended Char

2003-12-15 Thread jsWalter
I've hit my limit on regular expressions. I need to check a string to see if it contains legal characters... A thru Z [a-z], SPACE, PERIOD, DASH/HYPHEN, APOSTROPHE [\' -,\.] OK, this is not a problem. My problem comes in with extended characters, as these examples... González Vänligen för

RE: [PHP] [Q] Development Best Practices

2003-11-18 Thread Luis Lebron
Before considering using templates you may want to take a look at http://www.phppatterns.com/index.php/article/articleview/4/1/1/ Luis -Original Message- From: Adam [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 7:39 PM To: [EMAIL PROTECTED] Subject: [PHP] [Q] Development

Re: [PHP] [Q] Development Best Practices

2003-11-18 Thread Chris Hayes
At 04:20 18-11-03, you wrote: Adam wrote: My question, how do you guys build your pages? Do your scripts generate all the HTML? I'm looking for tips and resources. Remember for my first site I've embarked on a fairly large site. Code maintenance will be an issue for me as I need to enhance and

Re: [PHP] [Q] Development Best Practices

2003-11-17 Thread Rob Burris
Adam wrote: My question, how do you guys build your pages? Do your scripts generate all the HTML? I'm looking for tips and resources. Remember for my first site I've embarked on a fairly large site. Code maintenance will be an issue for me as I need to enhance and fix it later on. The practic

Re: [PHP] [Q] Development Best Practices

2003-11-17 Thread Robert Cummings
On Mon, 2003-11-17 at 20:47, Jason Godesky wrote: > > There's certainly nothing wrong with putting bits of PHP into a primarily > HTML document, but for very large, complicated sites (and you mention that > yours is), you'll probably want to use templates to separate out > presentation and logi

Re: [PHP] [Q] Development Best Practices

2003-11-17 Thread Jason Godesky
There's certainly nothing wrong with putting bits of PHP into a primarily HTML document, but for very large, complicated sites (and you mention that yours is), you'll probably want to use templates to separate out presentation and logic. http://smarty.php.net/ http://sourceforge.net/projects/xt

  1   2   3   >