[PHP] Trading senerio

2003-08-22 Thread Joaco
I am trying to create an interface that will allow two users do do a trade
of items live on the web. What I want to happen, and I have seen it done on
other sites, is open a window that both people see on their machine and are
able to offer trades. Once the trade is accepted by both people, the system
should update the database.

How can I create such an iterface?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: cookies and redirection

2003-08-15 Thread Joaco
Ok, I have changed my code so the headers are sent as:

header(HTTP/1.0 302 Redirect);
header(Location: index2.php);
header(Set-Cookie: USER_COOKIE=$sUser);

I have changed the file name to nph-unsecure.php

It successfully sends me to the index2.php page, but no cookie... any ideas
  Joaco [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]
  I have a small problem was wondering if anyone out there knew anyhting about
  this. I set a cookie in my code and then redirect the user using a header
  function. When I do this, my cookie is not created. If i remove the header
  function, then it is. Is there a way around this?



[PHP] cookies and redirection

2003-08-14 Thread Joaco
I have a small problem was wondering if anyone out there knew anyhting about
this. I set a cookie in my code and then redirect the user using a header
function. When I do this, my cookie is not created. If i remove the header
function, then it is. Is there a way around this?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] value not passed

2003-07-15 Thread Joaco
Can anyone tell me why the addDivName field is always passed as a blank...
This is killing me.

?php if($i = 8) {?
td
 input type=text name=addDivName class=textfield
 /td
  td align=right
a href=?php print
index.php?op=addDivisiontotal=.$i.addDivName=.$addDivName; ?
 img src=?php print SITE_DIR
?_img/_buttons/btn_additem.gif
  width=58 height=15 alt= border=0 /
/a
  /td
 ?php } ?

Whenever I click on the anchor everything is sent thru except the value of
addDivName?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] How do I capture a POST responce

2003-06-12 Thread Joaco
I am writing a module that will allow a customer to process a credit card
refund thru a web interface that I am designing. The problem I am having is
that once the information is posted to the gateway, it returns a url encoded
string with the responce from the transaction. How can I capture that
responce on my page rather than having to open or save the returned file?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Array[array]

2003-06-10 Thread Joaco
Try this:

Array[i][j] where i is the index of the array stored in the array and j is the index 
of the value in the stored array.
  Erich Kolb [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]
  How do I get a value from an array thats inside of an array?



[PHP] COOKIES Question?

2003-06-06 Thread Joaco
I was wondering if anyone out there knew if there was any code you could add
to your page that would allow the user to accept a cookie from your site
even though the browser has denied it due to security settings.

Basically, can I add a button that will allow a viewer to allow cookies on
their machine even though their settings would normally block it?

Thanks,

Joaco



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Creating favorites

2003-06-04 Thread Joaco
I have a customer who wants me to add a bookmarking feature on all his pages
that will create a link on the IE toolbar for that page. Any ideas as to how
I can do this?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Creating favorites

2003-06-04 Thread Joaco
That's already very helpful. Thanks.
Edward Peloke [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I know you can use javascript to add the bookmark to the favorites folder,
not sure how to add an icon to the toolbar..



a href=javascript:window.external.AddFavorite('http://www.yourpage.com',
'Your Page');Bookmark This Site!/a

-Original Message-
From: Joaco [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 12:51 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Creating favorites


I have a customer who wants me to add a bookmarking feature on all his pages
that will create a link on the IE toolbar for that page. Any ideas as to how
I can do this?



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Creating favorites

2003-06-04 Thread Joaco
Thanks guys, didnt realize this would be a javascript question, so this post
is on the wrong site. I appreciate all the help none the less.

Yves Daemen [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Adding the icon is done like this (grabbed it from the php.net site):

link rel=shortcut icon
href=http://static.php.net/www.php.net/favicon.ico; /

Edward Peloke [EMAIL PROTECTED] schreef in bericht
news:[EMAIL PROTECTED]
 I know you can use javascript to add the bookmark to the favorites folder,
 not sure how to add an icon to the toolbar..



 a href=javascript:window.external.AddFavorite('http://www.yourpage.com',
 'Your Page');Bookmark This Site!/a

 -Original Message-
 From: Joaco [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, June 03, 2003 12:51 PM
 To: [EMAIL PROTECTED]
 Subject: [PHP] Creating favorites


 I have a customer who wants me to add a bookmarking feature on all his
pages
 that will create a link on the IE toolbar for that page. Any ideas as to
how
 I can do this?



 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php