Re: [PHP] running a script

2004-08-03 Thread John Nichel
On Tuesday 03 August 2004 16:29, Ed Lazor offered up the following tid-bit of information : > > -Original Message- > > If you have register_globals on, you can access it via $id, otherwise > > use $_GET['id'] > > Or $_POST['id'] if you're receiving data from a form (ie. > processForm.php).

RE: [PHP] running a script

2004-08-03 Thread Ed Lazor
> -Original Message- > If you have register_globals on, you can access it via $id, otherwise use > $_GET['id'] Or $_POST['id'] if you're receiving data from a form (ie. processForm.php). -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/un

Re: [PHP] running a script

2004-08-03 Thread Matthew Sims
> Thanks for the tips. > > After clicking http://www.mydomain.com/processForm.php?id= is > 'id' > a variable containing 'some id'. Can I access that by '$id' > > I am just trying to figure out how to write the SELECT statement for that > script. I am guessing, but I would do: > "SELECT * FROM

Re: [PHP] running a script

2004-08-03 Thread John Nichel
On Tuesday 03 August 2004 15:24, Aaron Todd offered up the following tid-bit of information : > Thanks for the tips. > > After clicking http://www.mydomain.com/processForm.php?id= is > 'id' a variable containing 'some id'. Can I access that by '$id' > > I am just trying to figure out how to write

Re: [PHP] running a script

2004-08-03 Thread Aaron Todd
Thanks for the tips. After clicking http://www.mydomain.com/processForm.php?id= is 'id' a variable containing 'some id'. Can I access that by '$id' I am just trying to figure out how to write the SELECT statement for that script. I am guessing, but I would do: "SELECT * FROM temp_users WHER

Re: [PHP] running a script

2004-08-03 Thread John Holmes
Aaron Todd wrote: I like both of these methods...Is one of them more used regularly with PHP. I don't want to start down a road that will eventually dead end if you know what I mean. Relating the information to a unique ID and using that in the email is a better approach. Appending all of the dat

Re: [PHP] running a script

2004-08-03 Thread John Nichel
On Tuesday 03 August 2004 13:32, Aaron Todd offered up the following tid-bit of information : > I like both of these methods...Is one of them more used regularly with > PHP. I don't want to start down a road that will eventually dead end if > you know what I mean. > > Thanks, > > Aaron > > B) St

Re: [PHP] running a script

2004-08-03 Thread Aaron Todd
I like both of these methods...Is one of them more used regularly with PHP. I don't want to start down a road that will eventually dead end if you know what I mean. Thanks, Aaron "John Nichel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On Tuesday 03 August 2004 13:08, Aaron Tod

RE: [PHP] running a script

2004-08-03 Thread Vail, Warren
ng outlook, don't know. Hope this stimulates a few more options, Warren Vail -Original Message- From: Aaron Todd [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 03, 2004 10:08 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] running a script The program I am working on so far will ta

Re: [PHP] running a script

2004-08-03 Thread John Nichel
On Tuesday 03 August 2004 13:08, Aaron Todd offered up the following tid-bit of information : > The program I am working on so far will take input from a form and email > it out. This information needs to be verified by a human and then > somehow the human that verifys the info needs to click som

Re: [PHP] running a script

2004-08-03 Thread Jason Wong
On Wednesday 04 August 2004 01:08, Aaron Todd wrote: > The program I am working on so far will take input from a form and email it > out. This information needs to be verified by a human and then somehow the > human that verifys the info needs to click some link in order to for all > that data to

Re: [PHP] running a script

2004-08-03 Thread Aaron Todd
The program I am working on so far will take input from a form and email it out. This information needs to be verified by a human and then somehow the human that verifys the info needs to click some link in order to for all that data to be entered into an SQL database. I was thinking of somehow h

Re: [PHP] running a script

2004-08-03 Thread John Nichel
On Tuesday 03 August 2004 12:25, Aaron Todd offered up the following tid-bit of information : > Is there any way to run a php script by clicking a link? > > Thanks, > > Aaron Anytime you click on a link to a php document, you are 'running' a php script. Could you be a bit more specific as to wh

[PHP] running a script

2004-08-03 Thread Aaron Todd
Is there any way to run a php script by clicking a link? Thanks, Aaron -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Running a script to check something before submitting a form. Can this be done?

2002-05-31 Thread Kevin Stone
000); $file = str_replace("", $error, $file); echo $file; And that's about as sophisticated as you would ever need to get in this case. -Kevin - Original Message - From: "Jim lucas" <[EMAIL PROTECTED]> To: "Don" <[EMAIL PROTECTED]>;

Re: [PHP] Running a script to check something before submitting a form. Can this be done?

2002-05-31 Thread Jim lucas
ECTED]> Sent: Friday, May 31, 2002 1:46 PM Subject: [PHP] Running a script to check something before submitting a form. Can this be done? Hi, I think I need to use PHP here which is why I'm posting to this ng. I have a form that upon the user pressing submit, calls a PHP form hand

Re: [PHP] Running a script with Crontab

2001-09-30 Thread Jeffrey Paul
At 01:25 PM 9/30/2001, [EMAIL PROTECTED] wrote: >This is what I do, maybe is gonna help you > >bash file structure: > > #!/bin/bash > ## > ## mysql maintenance > ## > /usr/bin/mysql -u username --password=yourpassword < use yourdatabase; > YOUR SQL query HERE; >

[PHP] Running a script with Crontab

2001-09-30 Thread ani
This is what I do, maybe is gonna help you bash file structure: #!/bin/bash ## ## mysql maintenance ## /usr/bin/mysql -u username --password=yourpassword

[PHP] Running a script with Crontab

2001-09-29 Thread Carlos Fernando Scheidecker Antunes
Hello All, I wrote an script to do database maintenance and I forgot how to run a script on the command line without opening it with a web browser. My idea is to add a crontab daily entry to run this script. Can anyone enlight me on this thank you very much, C.F. Scheidecker Antunes. Linux

Re: [PHP] Running a script without flowing

2001-03-30 Thread Mukul Sabharwal
hey, exec("foo > /some/file 2>&1 &"); or register_shut_down("whatever"); incase it's a C program that does the math, you could make it a daemon like thing: and do that math in the main :-) #include #include #include #include #include #include #include // copyright 2001, mukul sabharwal

[PHP] Running a script without flowing

2001-03-29 Thread Jonathan Chum
I'm not sure of the exact term, but what I want todo is run a function in a loop so that it doesn't wait for the function to finish and goes ahead and executes the next in loop. For example: 5; $i++) { run_this(); } ?> run_this may contain some long mathematical computations that takes a whi