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
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
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
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
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:
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
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
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
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,
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
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
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
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
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
http://www.aztechost.com/problem.phps
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
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
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
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:
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
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
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
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
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
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
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
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
28 matches
Mail list logo