Re: [PHP] session woes[RESOLVED]

2005-03-23 Thread Mignon Hunter
your php.ini file on the dev server. http://www.thelonecoder.com [EMAIL PROTECTED] 562.924.4454 (office) 562.924.4075 (fax) continuing the struggle against bad code */ ?> > From: "Mignon Hunter" <[EMAIL PROTECTED]> > Date: Wed, 23 Mar 2005 11:20:24 -0600 > To: &g

[PHP] session woes

2005-03-23 Thread Mignon Hunter
I had my script working beautifully on my box but when transferring to dev server no such luck Because we have an older version of php on the webservers, I had to get my admin to change the php.ini on the session.use_trans_id = 1 so that the SID wouldnt show in the URL. But I'm not sure if that

RE: [PHP] Session in URL [RESOLVED}

2005-03-17 Thread Mignon Hunter
I had my admin change the session.use_trans_sid = 1 to =0 no more sess ID in the URL - woo hoo I guess this has to be 0 or in later versions 4.3.0 session.use_only_cookies = 1 * Hello I have tested this app on my machine but it doesnt do this - but

Re: [PHP] file/array manipulation

2005-03-16 Thread Mignon Hunter
Ok I got this to work but I'm not sure how -- and am having trouble re-producing the data: My script I have so far is: $lines = file('test2.csv'); foreach ($lines as $line) { $line_split = explode(",", $line); if(!(empty($line_split[0]) ) ){ //echo "I'm not empty"

Re: [PHP] file/array manipulation[RESOLVED]

2005-03-16 Thread Mignon Hunter
Got it - never mind instead of $new_array = array($line_split[0] => $line_split[1] ); it's $new_array = array($line_split[0] , $line_split[1] ); But I'm still not sure how it works so well... Ok I got this to work but I'm not sure how -- and am having trouble re-p

[PHP] file/array manipulation

2005-03-14 Thread Mignon Hunter
Hello I'm trying to manipulate a text(.csv) file using php. I've read the file and can print each line, but I need to write where column A is missing ColumnAColumnB RABC company ABC company ABC company ABC company O

[PHP] file/array manipulation

2005-03-14 Thread Mignon Hunter
Hello I'm trying to manipulate a text(.csv) file using php. I've read the file and can print each line, but I need to write where column A is missing ColumnAColumnB RABC company ABC company ABC company ABC company O

[PHP] file/array manipulation

2005-03-14 Thread Mignon Hunter
Hello I'm trying to manipulate a text(.csv) file using php. I've read the file and can print each line, but I need to write where column A is missing ColumnAColumnB RABC company ABC company ABC company ABC company O

RE: [PHP] PHP- accessing session var

2003-08-14 Thread Mignon Hunter
Ps i'm a girl On Thu, 2003-08-14 at 08:53, Mignon Hunter wrote: > Thanks Mike and Michael Smith. > > It works ! > > On Thu, 2003-08-14 at 05:57, Ford, Mike [LSS] wrote: > > On 13 August 2003 23:00, Mignon Hunter wrote: > > > > > Hi > > > &g

RE: [PHP] PHP- accessing session var

2003-08-14 Thread Mignon Hunter
Thanks Mike and Michael Smith. It works ! On Thu, 2003-08-14 at 05:57, Ford, Mike [LSS] wrote: > On 13 August 2003 23:00, Mignon Hunter wrote: > > > Hi > > > > This will be real simple for you guys. When I print_r my session > > vars part of what get is:

[PHP] PHP- accessing session var

2003-08-14 Thread Mignon Hunter
Hi This will be real simple for you guys. When I print_r my session vars part of what get is: [_SESSION] => Array ( [cart] => shoppingcart Object ( [contents] => Array ( [37] => Array

RE: [PHP] Probs with Vars in shop cart app

2003-07-30 Thread Mignon Hunter
Here's one to scratch your head. I wrote a function to call an external program from my shopping cart app: get_new_tax($state, $zip, $new_city, $amt); This function does a calculation and returns the results. In the main function function tep_get_tax_rate(){ the code returns $tax_multiplier. Wh

Re: [PHP] passing commands via ssh

2003-07-09 Thread Mignon Hunter
-07-09 at 15:49, Jeff Harris wrote: > On Jul 9, 2003, "Mignon Hunter" claimed that: > > |Hello all, > | > |I am trying to execute a command on another server from my web > |application. > | > |I need to execute the command via ssh for security reasons. I have a >

[PHP] passing commands via ssh

2003-07-09 Thread Mignon Hunter
Hello all, I am trying to execute a command on another server from my web application. I need to execute the command via ssh for security reasons. I have a private key/passphrase installed for ssh so that I can run ssh without a password. The command: ssh -i vertex [EMAIL PROTECTED] TX 77041

[PHP] Re: exec() and passthru()

2003-06-19 Thread Mignon Hunter
('/path/to/a.out'); -- -- Alberto Ferrer [EMAIL PROTECTED] http://www.barrahome.org On Thu, 2003-06-19 at 13:55, Mignon Hunter wrote: > Still no out put here's my script test.php: > $output = shell_exec(&qu

[PHP] Re: exec() and passthru()

2003-06-19 Thread Mignon Hunter
tried $output = shell_exec("./a.out"); * In that case what you want is shell_exec(): $output = shell_exec('/path/to/a.out'); // note the whole command line has // to be enclosed in '' or "". echo $output;

[PHP] Re: error handling

2003-06-19 Thread Mignon Hunter
Yes, manual > Error Handling and Logging Functions On Friday 20 June 2003 02:11, Mignon Hunter wrote: > On my dev server the php.ini is set to log all errors and notices. > > Isnt there a way to over ride this on a per script basis to output to > stdout (or my browser) ? --

[PHP] error handling

2003-06-19 Thread Mignon Hunter
On my dev server the php.ini is set to log all errors and notices. Isnt there a way to over ride this on a per script basis to output to stdout (or my browser) ? Thx -- Mignon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] exec() and passthru()

2003-06-19 Thread Mignon Hunter
mplex function in c, and bring variables back to my php shopping cart. Here's my test.php: -- Mignon Hunter Web Master and Developer Toshiba International 713.466.0277 x 3461 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] exec(), passthru()

2003-06-19 Thread Mignon Hunter
hello all, I am trying to use either of the functions above to execute a compiled c program on linux. The command line works with ./a.out (a.out being the filename). Both my test.php and the exe are in the same directory. I've tried combinations of all the following. Thx Mignon http://www.php.

[PHP] Calling c function from php

2003-06-18 Thread Mignon Hunter
hello, I thought I posted this yesterday but accidentally posted to php-db. Anyway, can any make a suggestion on how to connect to a c function from a php app? I have to connect to a sales tax calculation software. The function is being written for me but I have to figure how to call it - get