You are here:
Any and everything related to PHP4 and PHP5. I specialize in functional, readable, scalable object oriented code, and can answer your troublesome class and object questions.
5 years developing in PHP using flat files and databases (MySQL, Oracle) Lead PHP developer for a very large Texas based web hosting company The coder behind some of the largest pet communities online.
BS - IT/CS
| User | Date | K | C | P | Comments |
|---|---|---|---|---|---|
| Sam | 09/25/11 | 10 | 10 | 10 | Thanks so much Kevin - little details ..... |
| Sam | 09/19/11 | 10 | 10 | 10 | Geez... what's up with you? Every time ..... |
| John | 07/29/11 | 10 | 10 | 10 | Kinda makes me wonder why I just ..... |
| Thomas | 07/26/11 | 10 | 10 | 10 | Thanks a lot Kevi. Regards Thomas |
| Sam | 06/24/11 | 10 | 10 | 10 | Kevin is easily one of the best ..... |
I'm not always super-fast to respond, I suppose. Sorry for the late reply! So your problem is actually caused by a typo of mine in my original reply. It should be $_SERVER['HTTP_HOST'] and NOT $_SERVER['HTTP_POST']
Hi Sam. Thanks for the question! Luckily, this one is a simple one to answer. In your PHP code, wherever you want to insert the tracking code, just do something like this: <?php $domain=str_replace('www'
The code I sent should work fine. The flash file only cares about the syntax of the document, and as long as it looks like valid XML, it should work fine. The only thing I can think of is possibly
Hi John. I might be misreading the question, but I don't understand what the problem is. Here is how I would do this, assuming your PHP script uses parameters from the URL to generate the XML:
Martin - The file extension is actually completely meaningless. A file of ANY extension can be executed with the PHP parser. If I wanted to name my files file.kevin and file2.kevin, I could do that.
Answers by Expert:

©2012 About.com, a part of The New York Times Company. All rights reserved.