Re: [PHP] Passing Parameters

2004-11-28 Thread Burhan Khalid
David Blackburn wrote: I used to pass parameters to my scripts like this shell>php myscript.php "dog=max&cat=jess" Since I have upgraded to PHP5 I dont seem to have this functionality any more, has anyone else noticed this ? or know of a way to get this working again ? You can pass parameters in th

[PHP] Passing Parameters

2004-11-26 Thread David Blackburn
Hi I used to pass parameters to my scripts like this shell>php myscript.php "dog=max&cat=jess" Since I have upgraded to PHP5 I dont seem to have this functionality any more, has anyone else noticed this ? or know of a way to get this working again ? Thanks Dave -- PHP General Mailing List (ht

Re: [PHP] Passing Parameters to PHP Script

2004-04-20 Thread Curt Zirzow
* Thus wrote Ben Ramsey ([EMAIL PROTECTED]): > I'm executing a PHP script from the Windows command prompt: > > c:/path/to/php.exe c:/path/to/script.php > > I want to pass some parameters to script.php, but I can't use a query > string because then I get a file not found type of error. So, how

[PHP] Passing Parameters to PHP Script

2004-04-20 Thread Ben Ramsey
I'm executing a PHP script from the Windows command prompt: c:/path/to/php.exe c:/path/to/script.php I want to pass some parameters to script.php, but I can't use a query string because then I get a file not found type of error. So, how should I pass parameters to the script? -- Regards, Ben

RE: [PHP] passing parameters to include

2004-03-04 Thread Chris W. Parker
Bob Lockie on Thursday, March 04, 2004 10:53 AM said: > I want to pass a parameter to an include file. ok. go ahead, you have my permission. > I know I can do what I want with a function but I'd rather do it with > an include. thanks for sharing. i know some peopl

Re: [PHP] passing parameters to include

2004-03-04 Thread Richard Davey
Hello Bob, Thursday, March 4, 2004, 6:53:24 PM, you wrote: BL> I want to pass a parameter to an include file. BL> I know I can do what I want with a function but I'd rather do it with an BL> include. You cannot "pass" anything to an include file, let alone a parameter. Your included file will al

RE: [PHP] passing parameters to include

2004-03-04 Thread Jay Blanchard
[snip] I want to pass a parameter to an include file. I know I can do what I want with a function but I'd rather do it with an include. [/snip] cool. http://catb.org/~esr/faqs/smart-questions.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/uns

[PHP] passing parameters to include

2004-03-04 Thread Bob Lockie
I want to pass a parameter to an include file. I know I can do what I want with a function but I'd rather do it with an include. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] passing parameters to a script doesn't work

2003-09-22 Thread John Nichel
Sol wrote: Hi, I'm trying to pass parameters to a PHP script and it's not working. Whilst this is the first time I've tried to use this, I'm basically copying an example straight out of a text book and can't understand why this doesn't work. In one script I have a (static) link: http://localh

[PHP] passing parameters to a script doesn't work

2003-09-22 Thread Sol
Hi, I'm trying to pass parameters to a PHP script and it's not working. Whilst this is the first time I've tried to use this, I'm basically copying an example straight out of a text book and can't understand why this doesn't work. In one script I have a (static) link: http://localhost/text/ba

Re: [PHP] Passing parameters

2002-03-15 Thread mnc
On Fri, 15 Mar 2002, Morten Nielsen wrote: > I have a php file where a make a lookup in a data base. I store the result > in a variable call $qid. > I then have an include statement of another file where I need the data from > $qid. Can anybody tell me how I get the data. If it was in the global

[PHP] Passing parameters

2002-03-15 Thread Morten Nielsen
Hi, I have a php file where a make a lookup in a data base. I store the result in a variable call $qid. I then have an include statement of another file where I need the data from $qid. Can anybody tell me how I get the data. Thanks, Morten -- PHP General Mailing List (http://www.php.net/) T

Re: [PHP] passing parameters from one page to another

2002-01-11 Thread Sait Karalar
a credit card number, for security reasons...   good works...   ---Original Message---   From: [EMAIL PROTECTED] Date: 11 Ocak 2002 Cuma 14:13:41 To: [EMAIL PROTECTED] Subject: [PHP] passing parameters from one page to anothe

Re: [PHP] passing parameters from one page to another

2002-01-11 Thread val petruchek
> I want from a Form page to pass a couple of values (fooa, foob, fooc) > which are not form fields > when submit button pressed to the submited page... Use hidden fields: Valentin Petruchek (aki Zliy Pes) http://zliypes.com.ua mailto:[EMAIL PROTECTED] -- PHP General Mailing List (ht

[PHP] passing parameters from one page to another

2002-01-11 Thread Simos Varelakis
Hello everybody I want from a Form page to pass a couple of values (fooa, foob, fooc) which are not form fields when submit button pressed to the submited page... thanks in advance for your help simos

[PHP] passing parameters from the command line

2001-09-24 Thread bill
When PHP is being run as cgi, I can pass parameters in the url like this: http://mysite.com/phpfile.cgi?var1=5&var2=7 Which will get me var1 as 5 and var2 as 7. I want to run this cgi PHP script as a cron job. So, I'm wondering how to pass it parameters from the command line. kind regards, b

[PHP] Passing parameters to another .PHP via tag

2001-06-29 Thread Momchil Kinov
Hi there. I'm completely new in PHP so I apologize for this question. I've download and read PHP manual but I didn't found how to pass parameters from one .PHP to another .PHP file. I'm not trying to send variables from a form using $HTTP_POST_VARS[ ], but pass via . Please tell me what is the con

Re: [PHP] Passing parameters to another .PHP via tag

2001-06-29 Thread Jimi Malcolm
Say you want to pass three variables: color = blue name = Bob day = Monday here's the link click here Pretty simple! -- 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 administrato

Re: [PHP] passing parameters in the url using forward slashes

2001-05-09 Thread Christian Reiniger
On Wednesday 09 May 2001 14:41, hassan el forkani wrote: > hmm.. > good question i don' t know exactly how it's done but i actually know a > site that uses this extensively www.emp3finder.com, they concat strings > i think it involves "massive" server configuration It's quite simple. Read the tut

Re: [PHP] passing parameters in the url using forward slashes

2001-05-09 Thread Thomas Hurst
On 9 May 2001 05:05:30 -0700, [EMAIL PROTECTED] ("Franklin van Velthuizen") wrote: > Good morning/afternoon/evening.. whatever timezone you live in :) > > Small question: we all know how to pass parameter using question marks in an URL >ofcourse.. > but I was wondering whether it was also possi

Re: [PHP] passing parameters in the url using forward slashes

2001-05-09 Thread hassan el forkani
hmm.. good question i don' t know exactly how it's done but i actually know a site that uses this extensively www.emp3finder.com, they concat strings i think it involves "massive" server configuration regards 09/05/01 14:08:25, "Franklin van Velthuizen" <[EMAIL PROTECTED]> wrote: -- PHP

Re: [PHP] passing parameters in the url using forward slashes

2001-05-09 Thread Franklin van Velthuizen
[cut away some explanation] > But I think it is pretty cool to make the program name look like just > another directory in the tree, so I usually use . I suppose it *is* possible then. Anyway, I've already putten "ForceType application/x-httpd-php" in an .htaccess in the appropriate directory,

Re: [PHP] passing parameters in the url using forward slashes

2001-05-09 Thread Rouvas Stathis
The Wise Man Said: Subject: RE: [PHP3] URL without a classic php filename like php, php3, phtml? Date: Tue, 11 Apr 2000 12:54:35 MST From: [EMAIL PROTECTED] To: "Michael Simcich" <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Addressed to: "Michae

[PHP] passing parameters in the url using forward slashes

2001-05-09 Thread Franklin van Velthuizen
Good morning/afternoon/evening.. whatever timezone you live in :) Small question: we all know how to pass parameter using question marks in an URL ofcourse.. but I was wondering whether it was also possible to pass parameters in the URL using forward slashes instead of those question marks, so

Re: [PHP] passing parameters

2001-02-02 Thread Alain Fontaine
Rule #1: Do not post your database credentials into newsgroups. Rule #2: See Rule #1 "Stinie Steinbach" <[EMAIL PROTECTED]> a écrit dans le message news: [EMAIL PROTECTED] > does anyone know what's wrong with this files? > i want to pass the parameter $module_id from one file tot the next so >

[PHP] passing parameters

2001-02-02 Thread Stinie Steinbach
does anyone know what's wrong with this files? i want to pass the parameter $module_id from one file tot the next so that i can extract all records from my tables in the mysql database that have this parameter... the queries that i used are tested and are working correctly... at this moment i cant