Jump to content

tbrama

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

tbrama's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Sorta but I need to include variables for amount and item name
  2. I have tried everything and i just cannot figure this out. Here's the situation. I have a client that had his site made by someone else and wants to stop using the Shopping cart that they set him up for and wants to use paypal. I need someone to point me in the right direction or write the code snippet to pass the variables of each DVD he's selling to paypal. Here is the old code <form action=\"http://www.cartserver.com/sc/cart.cgi\" target=\"_blank\" method=\"post\"> <input name=\"item\" value=\"s-2990^CAT".$this_data['id']."D^Catfishing with the Pros, ".$this_data['title']." (DVD)^".$dvd_price."^1\" height=\"0\" type=\"hidden\" width=\"0\"> <input name=\"add\" src=\"images/buttombuy.gif\" border=\"0\" height=\"15\" type=\"image\" width=\"60\"> </form> I need to update it to use paypal. I have the link to pass the variables but could someone give me a hand at writing the url for each button... I am probably just missing a comma or apostrophe... https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&[email protected]&currency_code=USD Thats the link, now I need to append &item_name=, for the Items name, and &amount=, for the price, to that url. I need to fetch those 2 things using variables. Can someone help me out with that?
  3. You have something very similar to what I need and I plan to use php to write to the file but the thing is this file has all the text for each of the pages on the flash template. I need a way to break up the file. If there is a way for php to look for comments and break up each of the sections of the file into different text areas that would work as well.
  4. Here is what I need to do and wonder if someone could tell me how I could go about doing it. I have an HTML file that contains variables read by a flash template. The variable string starts and ends with an &. example: &home_text1=SOME TEXT HERE& What I would like to do is for the code to read through this file locate the first "&" and skip to the = sign then read and post the text in a text box for editing. People have suggested using a MySQL db but I am unaware of how to connect a db to this flash template. I have tried lots of different methods to read the file but don't know how I could filter through the file and do what I need it to. I have the base script to read and edit the file in one textarea but its to confusing to hand over to a customer. If someone could help me out here that would be great.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.