[PHP] want to take credit card payments (novice)?

2005-04-26 Thread AndreaD
Does anyone have any handy links/tip/tutorials for a newbee who wants to take credit card payments? Using php never set up a SSL or anything. thanks Ross -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: want to take credit card payments (novice)?

2005-04-26 Thread AndreaD
Been looking into and and you both are right. All I have to do is sort out the SSL!! AndreaD [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Does anyone have any handy links/tip/tutorials for a newbee who wants to take credit card payments? Using php never set up a SSL

[PHP] number of cookies and if there are any cookies set?

2005-04-26 Thread AndreaD
I need two bits of info... (i) Are there ANY cookies set? (ii) How many cookies are set? how do I find this information out? AD -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] trying to send mail via localhost

2005-04-16 Thread AndreaD
When trying to send mail via localhost I get the following error Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Any ideas?/ RH -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] deleting $_SESSION

2005-04-11 Thread AndreaD
I have a session variable called $_SESSION['total'] the problem is I can't delete/reset it. I have tried $_SESSION['total']= 0; $_SESSION['total']= ; and the thing remains. Is there a special way to delete them?? AD -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] passing variables with HTTP_GET_VARS

2005-04-02 Thread AndreaD
Can someone show me a simple example of how to make variables availble to all pages in my site via $http_post_vars and $http_get_vars. just say I have a page index.php and that is doing a calucualtion and creating a couple of variables called $age and $height. How so I make these variables

[PHP] Re: passing variables with HTTP_GET_VARS

2005-04-02 Thread AndreaD
By the way these variables are not part of a form they are just generated by index.php AndreaD [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Can someone show me a simple example of how to make variables availble to all pages in my site via $http_post_vars and $http_get_vars

[PHP] deleting all my cookies

2005-03-30 Thread AndreaD
I have a button that sets a variable when pressed. I then try delete any cookies using the following code but no joy. if (isset($scrub)){ echo this works; if (isset($_COOKIE['cookie'])) { foreach ($_COOKIE['cookie'] as $name = $quantity) { setcookie($name, ); } } } Please help. Any

[PHP] deleting cookies on the touch of a button

2005-03-26 Thread AndreaD
I have a range of cookies that need to be deleted on the click of a button. The cookies are set by using. setcookie(cookie[$name], $age) Is there a simple command to delete all cookies or I have to do a foreach statement? How can I execute the code/function on a click of a button? Thanks,

[PHP] header already sent problem

2005-03-25 Thread AndreaD
is there an alternative way to suppress the headers already sent problem? Ob_start/flush is not very neat way to so this. AD -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] header already sent problem

2005-03-25 Thread AndreaD
It's not a header it is a setcookie, how do I arrange the code so the cookies are set before the header is set? At what point in the HTML are the headers sent. R. Ken [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Fri, 25 Mar 2005 15:03:45 -, AndreaD [EMAIL PROTECTED

[PHP] re-setting all cookies

2005-03-22 Thread AndreaD
I want a button that resets all my cookies. Can I reset them all with a foreach command? AD -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] spot the mistake??

2005-03-22 Thread AndreaD
there is a hidden field called submitte Chris Ramsay [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [snip] if (isset($submitted)){ [/snip] s...what sets $submitted then? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] cant get this to work at all

2005-03-22 Thread AndreaD
Fairly new to php and just working my way around it. I have the text boxes and want to retrieve the values using a foreach. Many thanks, AD begin 666 problem.php M/#]P:' -@T*:[EMAIL PROTECTED]ESV5T(@DW5B;6ET=5D*2E[#0H-F9O[EMAIL PROTECTED] M)%]03U-46R=C;V]K:64G72!AR D;F%M92 ]/B

[PHP] here is the problem again

2005-03-22 Thread AndreaD
http://www.aztechost.com/problem.phps -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: cant get this to work at all

2005-03-22 Thread AndreaD
http://www.aztechost.com/problem.phps AndreaD [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Fairly new to php and just working my way around it. I have the text boxes and want to retrieve the values using a foreach. Many thanks, AD -- PHP General Mailing List (http

[PHP] Re: here is the problem again

2005-03-22 Thread AndreaD
The cookie will not/set or print out. AndreaD [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] http://www.aztechost.com/problem.phps -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] refreshing an included php file

2005-03-21 Thread AndreaD
I have a file, index.php and this has an included file, lets call it calculate.php. When I insert values in text boxes and hit submit the values are written as cookies. The question is how can I refresh calculate.php so it shows the new value. AD -- PHP General Mailing List

[PHP] Re: refreshing an included php file

2005-03-21 Thread AndreaD
Richard had got it spot on! Have solved it by using iframes. AD AndreaD [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have a file, index.php and this has an included file, lets call it calculate.php. When I insert values in text boxes and hit submit the values are written

[PHP] looking for address finder..uk

2005-03-19 Thread AndreaD
I'm looking for an address finder where a user types in a postcode and house number and then the user is given an option of to houses to choose from. Anything like this available for a small charge? Ross -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] More function troubles

2005-03-18 Thread AndreaD
Still strugglin through with the PHP stuff.. I keep getting a Warning: Missing argument 2 for check_zero() in c:\Inetpub\wwwroot\ecurry\order.php on line 5 if ($name == andrea) { $experience= 2; $age= 24 check_zero($age, $experience); } This calls check which is at the very top of the

[PHP] multiple OR's

2005-03-17 Thread AndreaD
Looking for the most code efficient way to do multiple boolean OR's on one line if ($name==andrea) OR ($name==john) Ta AD -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] multiple OR's

2005-03-17 Thread AndreaD
Looking for the most code efficient way to do multiple boolean OR's on one line if ($name==andrea) OR ($name==john) Ta AD -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] multiple OR's

2005-03-17 Thread AndreaD
Looking for the most code efficient way to do multiple boolean OR's on one line if ($name==andrea) OR ($name==john) Ta AD -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] can I do a for each here??

2005-03-17 Thread AndreaD
I have about 10 text boxes each taking in value (ages) , The code I have checks for a value and if it is set it then sets the cookie to that value. The else just clears the value. On the next page I use a foreach to get the values but I think there must be a quicker way to collect the data

[PHP] Re: multiple OR's

2005-03-17 Thread AndreaD
This works... if ($name == jim || andrea || tommy) I must have had an extra ( somewhere. AD AndreaD [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Looking for the most code efficient way to do multiple boolean OR's on one line if ($name==andrea) OR ($name==john) Ta AD

Re: [PHP] can I do a for each here??

2005-03-17 Thread AndreaD
Think what I want to do then is create two arrays, one for the values of the age and one for the correponding name e.g. $age = array() // this is the inputed textbox values $name= array('john', 'bob', 'tim') Then I need to assign the the ages to cookie of the persons name by using a for or

[PHP] Re: can I do a for each here??

2005-03-17 Thread AndreaD
Thanks for all your replies. I liked Jeffs approach as it was more straightforward and using age[Andrea] for the texboxes creates les confusion when doing the foreach statement. I didn't quite get the cookie vs session bit. Are you saying they [cookies] use greater resources? AD AndreaD