[PHP] Re: executing another php.script
I want to thank everyone who responded, both to the list and to my personal box. Also a special thanks to a couple who continued to try to get me to understand that .. as a Rose may smell the same no matter what you call it .. a 'function' may do what you want even if you don't understand the name. Thanks again .. DSig On Mon, 12 Nov 2001 04:43:46 GMT, [EMAIL PROTECTED] (David Tod Sigafoos) wrote: I am sure that I am just .. missing this .. From one script I wish to 'execute' another script. How is this done? Setting a link and clicking is not the answer .. one script loops through all the 'selected' rows and I want to 'execute' another script for each row .. can this be done? thanks DSig David -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Re: Date Problem
On Wed, 21 Nov 2001 09:31:33 +0200, [EMAIL PROTECTED] (Mindhunter) wrote: I am reading a date from an input in format 'DD-MM-' ex. 10-11-2001. Now I want to add 3 months to the date. I have tested mktime and strftime etc and no matter what I do I get the year as 1970. (Systemdate works fine). How would I go about adding 3 months to a date in that format? Though not the most elegant solution by far .. You could explode the data the increment the second element of the array. If gt 12 subtract 12 and increment the year .. Sorry .. the date functions still get me. DSig -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Re: getting started
On Wed, 21 Nov 2001 10:59:31 +, [EMAIL PROTECTED] (Douglas McKenzie) wrote: I've got Apache and MySql up and running on RedHat 7.1. I've installed php4 but can't get it working. There is a .php file under the web root, httpd.conf knows about the .php extension but the file is not geting parsed, just the code shown. are you sure you have modified the httpd.conf file for apache to add the module in? If you don't have it pick up the book Linux Red Hat 7.x Unleashed. It has a great section on the basic requirements. Although I have been using PHP on my Win2k server for quite a while I just started getting into Linux and found it really was a slam dunk after I picked up the book Hope this helps DSig -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Re: executing another php.script
Steve, Thanks for the reply .. but you miss the point (which i probably did not explain well). I already have a script called x.php. IT gets called from links with all the info needed. I have an instance where there will be no interaction between a user so no 'clicking' of the link will happen. I wanted to do the 'same' as a click but without the click. I have temporarily created a function to do what i need AND IF PHP is incapable of calling/executing etc a script (which i find hard to believe) i will rewrite all the other pages sigh Thanks again DSig On Mon, 12 Nov 2001 12:11:19 -, [EMAIL PROTECTED] (Steve Brett) wrote: you don't need a sepaerate script. define two functions and then loop through calling the second function. much neater (and easier) Steve David Tod Sigafoos [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I am sure that I am just .. missing this .. From one script I wish to 'execute' another script. How is this done? Setting a link and clicking is not the answer .. one script loops through all the 'selected' rows and I want to 'execute' another script for each row .. can this be done? thanks DSig David -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Re: executing another php.script
Mike .. thanks for trying .. but that simply is not useful. On Mon, 12 Nov 2001 10:18:34 -0500, [EMAIL PROTECTED] (Mike Harvey) wrote: Just include(script2.inc) in your loop. David Tod Sigafoos [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I am sure that I am just .. missing this .. From one script I wish to 'execute' another script. How is this done? Setting a link and clicking is not the answer .. one script loops through all the 'selected' rows and I want to 'execute' another script for each row .. can this be done? thanks DSig David -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] executing another php.script
I am sure that I am just .. missing this .. From one script I wish to 'execute' another script. How is this done? Setting a link and clicking is not the answer .. one script loops through all the 'selected' rows and I want to 'execute' another script for each row .. can this be done? thanks DSig David -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]