Click here to Skip to main content
15,917,808 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
QuestionAJAX and FLEX Pin
Gjm16-Jun-09 14:21
Gjm16-Jun-09 14:21 
AnswerRe: AJAX and FLEX Pin
Marc Firth17-Jun-09 0:23
Marc Firth17-Jun-09 0:23 
QuestionThings needed to create a webmail system Pin
xiaomahe15-Jun-09 10:46
xiaomahe15-Jun-09 10:46 
AnswerRe: Things needed to create a webmail system Pin
Marc Firth15-Jun-09 22:11
Marc Firth15-Jun-09 22:11 
GeneralRe: Things needed to create a webmail system Pin
xiaomahe16-Jun-09 7:06
xiaomahe16-Jun-09 7:06 
GeneralRe: Things needed to create a webmail system Pin
Marc Firth17-Jun-09 0:09
Marc Firth17-Jun-09 0:09 
GeneralRe: Things needed to create a webmail system Pin
Syed M Hussain17-Jun-09 5:23
Syed M Hussain17-Jun-09 5:23 
GeneralRe: Things needed to create a webmail system Pin
xiaomahe20-Jun-09 5:01
xiaomahe20-Jun-09 5:01 
GeneralRe: Things needed to create a webmail system Pin
Marc Firth25-Jun-09 2:40
Marc Firth25-Jun-09 2:40 
QuestionI am posting data to another site but it doesnot work... Pin
Khawar Abbas115-Jun-09 0:33
Khawar Abbas115-Jun-09 0:33 
AnswerRe: I am posting data to another site but it doesnot work... Pin
Marc Firth15-Jun-09 3:36
Marc Firth15-Jun-09 3:36 
QuestionPayPals Add To Cart Button for one off items Pin
Member 373991012-Jun-09 21:35
Member 373991012-Jun-09 21:35 
AnswerRe: PayPals Add To Cart Button for one off items Pin
Member 373991013-Jun-09 19:43
Member 373991013-Jun-09 19:43 
GeneralRe: PayPals Add To Cart Button for one off items Pin
Marc Firth14-Jun-09 21:54
Marc Firth14-Jun-09 21:54 
GeneralRe: PayPals Add To Cart Button for one off items Pin
Member 373991015-Jun-09 3:19
Member 373991015-Jun-09 3:19 
GeneralRe: PayPals Add To Cart Button for one off items Pin
Marc Firth15-Jun-09 3:32
Marc Firth15-Jun-09 3:32 
GeneralRe: PayPals Add To Cart Button for one off items Pin
Member 373991015-Jun-09 3:51
Member 373991015-Jun-09 3:51 
GeneralRe: PayPals Add To Cart Button for one off items Pin
Marc Firth15-Jun-09 4:27
Marc Firth15-Jun-09 4:27 
GeneralRe: PayPals Add To Cart Button for one off items [modified] Pin
Member 373991015-Jun-09 15:02
Member 373991015-Jun-09 15:02 
Again thanks.

Now I will see what mess I can get myself in. Just so you know what I am after my intended site is http://mrtworld.com I am trying video and other means to advertise. I do sell software (Using Rapidq basic and AHK) My main site gets 500 hits a day so I can link. This is a hobby I am retired and well on my way to making my first million/10,000. Still it keeps me out of mischief.

I will post back when I have a working system. You never know you may have stuff you want to sell. I intend to make an automatic site creator. Basic is so easy to manipulate text and RQ works well in Vista. AHK (AutoHotKey) makes a great companion.

Ain't life great. Live well and long
Terry

As an after thought I would tackle the problem this way.
for each item I have for sale I will create a Item_Name.txt file basicly blank but existing.
using your suggestion
I shall create a "If not Fileexists(Item_Name.txt)
Else" condition where the Else will point to an "ItemSold Page"
Obviously on a successful sale I will unlink the Item_Name.txt file.

I now have the solution and need to design the structure o I do not have to modify many pages manually

I will put a test set of pages up and run it in PayPals sandbox.

Well I have it

<br />
<?php  $F = File_Exists("item_sold");<br />
  		If ($F == "1")header 'Location:http://www.mydomain.com/itemforsale.php' );<br />
 		Else header( 'Location: http://www.mydomain.com/sorry.html' );<br />
  ?><br />


The success page(one for each item) will have the unlink of the item_sold above

I found that the buy now button was the best option in this case.

So Marc with the insight you have given me it has awakened my knowledge of C I programmed in over 20 years ago which makes php come to life, I did not realise the syntax was so simular.

It was not long ago I could not even spell programer now I are one

Till my next major requirement Marc stay well, I may need you Wink | ;)

Terry

modified on Tuesday, June 16, 2009 6:59 PM

GeneralRe: PayPals Add To Cart Button for one off items Pin
Marc Firth17-Jun-09 0:32
Marc Firth17-Jun-09 0:32 
GeneralRe: PayPals Add To Cart Button for one off items Pin
Marc Firth17-Jun-09 22:07
Marc Firth17-Jun-09 22:07 
GeneralRe: PayPals Add To Cart Button for one off items Pin
Member 373991017-Jun-09 22:53
Member 373991017-Jun-09 22:53 
GeneralRe: PayPals Add To Cart Button for one off items [modified] Pin
Marc Firth17-Jun-09 22:58
Marc Firth17-Jun-09 22:58 
GeneralRe: PayPals Add To Cart Button for one off items [modified] Pin
Member 373991018-Jun-09 12:27
Member 373991018-Jun-09 12:27 
GeneralRe: PayPals Add To Cart Button for one off items Pin
Marc Firth18-Jun-09 21:52
Marc Firth18-Jun-09 21:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.