last week I posted a question about the yahoo! store and being able to use php to dynamically pull out file ID's from a database and populate a single design page. After further investigation and phone calls to Yahoo! support, I deemed it impossible to accomplish the mission I was after. I therefore came up with my own scheme which, on paper, sounded perfect.
I would generate a php page that would accept a url parameter then write out a static HTML page with the yahoo store tags containing the ID of the particular item that the HTML page was for. Great, problem solved right?
In principle yes, it works exactly as it should. It writes out the HTML with the yahoo! store tags then does a nice simple header() redirect to the new html page. Great, works fine the right?
Nope! instead of yahoo! parsing the page and displaying the contents correctly, I actually see the yahoo store tags on the page (in the source code). Even if I refresh the page (this is just static HTML at this point), it doesn't parse the yahoo! store tags. Now here's where it gets funky. If I download the html page with an ftp client (FileZilla in my case) and then simply upload it back to the yahoo! store, then refresh my page, it works!?!?
I've seen some strange voodoo in my programming days, but this one takes the cake. All I can assume is that somehow the ftp'ing of the file is somehow modifying it to yahoo!'s liking.
can anyone shed some light here? I suppose I could set it up to ftp the file offline, then pull it back...but oh my gawd what a pita would that be?
Very Very weird behavior....file needs to be ftp'd to work?
Moderator: General Moderators