Jump to content

dlite922

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

dlite922's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. this is for an e-commerce site but can be applied to elsewhere as well. i'm absolutly sure there's a better way, but cannot find it. i have a product page, add-to-cart button calls the same page, gets an action-flag (1 = add to cart) and i that producted to a session kept Object stream (serialzed) my problem has to do with the back button. :'( here's the issue, if i use GET (ie productPage.php?pageAction=1&etc..") then when i click the back button, it re-excutes that URL (and thus the product gets re-added to the order object stream. if i use POST , when i click back, i get a Page Not Found 404 or Page Has Expired. (which on refresh will again re-add the product to the order). the solution i've found is to use a "processing" page. this processing page changes the "header" , so it never gets loaded into the browser's history, but i simply cannot have that. i'm passing other stuff (like message = "your product has been successfully added" for example) which i don't want to use header (Locaton: page.php?message=) ; there's got to be a better way to this kind of processing,how do the big guys do it, eBay, Amazon. ??? any pointers and directions will be greatly appreciated, please let me know if you need more info about my code/setup. -Dan Murad
  2. also work on your margins google: css margin to make sure your text is not attached to your table borders! and for crying outloud, would you get rid of the blue already. there's many articles on the internet about how you choose colors for a site. Contrast! and Complement! blue - white? no. Look at the banner for PHP freaks at the top of this page. difference betweent this and yours? a more texture background and dark blues complement and accent it. good luck,
  3. this needs some major help, i don't think i need re-iterate the other's opinion of the colors, just take them off. We all started like this, like you building ugly 1996 style sites. if you need to get up here with us fast, is to basically copy designs you see instead of creating you own. copy a site that's similar to your and you like, when you develope a design sense, then you can create your own designs. i admire your ambition, but right now you making every website designer look bad. keep trying,
  4. these are way better and more professional, but still the logo...hmm... if i had to choose, i'd choose the first one.
  5. have loaded apache and php 5 on xp pro. don't know why this is happening but when i write to a file, the new line (line break) '\n' character does not show up as a line break but as a square (which is the "unknown symbol" symbol) here's the little tiny code from tigzag tutorials basically copy and pasted. my original application is to find all mp3's in a directory. and let the user build a .m3u playlist and handed over to an embedded windows media player. $myFile = "testFile.txt"; $fh = fopen($myFile, 'w') or die("can't open file"); $stringData = "Bobby Bopper\n"; fwrite($fh, $stringData); $stringData = "Tracy Tanner\n"; fwrite($fh, $stringData); fclose($fh); file shows up with: Bobby Bopper[]Tracy Tanner[] instead of: Bobby Bopper Tracy Tanner google searches return nothing related. can't imagine anybody having this problem. Going nuts, i've done this before dont' know what i'm doing different.
×
×
  • 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.