[PHP] Cache Question
I have a webpage written in the latest version of PHP and need a little bit of help with a rather pesky cache issue. Part of the source code is as follows: page.php ? echo meta http-equiv=pragma content=no-cache; echo meta http-equiv=expires content='-1'; . . . echo embed src=filename.mp3 autostart=true; ? The page does not cache (which is good), but the MP3 file does (which is bad). Is there a way to NOT cache the MP3 file? I would like to keep the file embedded within the page, if possible. Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Help with UPDATE command...
Here is the code I am trying to implement... update table set col1=value where condition=true and condition=true order by col2 desc, col3 desc limit 1; The UPDATE command does not seem to support the ORDER BY part despite it being listed in the instructions on the mysql.com website. Is there any workaround to this that anybody knows of? Thanks in advance for your help. :o) -- Tony Tzankoff http://www.tzankoff.com = -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Opening DOS with PHP commands
Does anybody know if a MS-DOS window (running a BAT file) can be opened using a PHP command? Right now, I have Windows using the Task Scheduler to open the MS-DOS window (which creates a file used later by PHP), while a PHP webpage loops every few minutes and does whatever it needs to with the file. I am trying to intergrate the MS-DOS window timing with PHP to avoid conflicts. ANy suggestions? Is this even doable? -- Tony Tzankoff http://www.tzankoff.com = -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] odd results inquiry
Here is a strange one (for me, anyway)... The command is as follows: select * from xtable where client='name' order by r_date desc, r_time desc limit 0,10; The problem: It returns 20 records and when i execute this command...it returns 30 records select * from xtable where client='name' order by r_date desc, r_time desc limit 11,20; and so on. What the heck is going on here? any ideas? im confoosed! -- Tony Tzankoff http://www.tzankoff.com = -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] localhost - passing variables
Is it possible to pass variables in PHP on the localhost server? Is there some kind of setting or something that I need? I am new to this and am not sure how to go about this. When I upload to a server, the script I have works just fine; but when I work on it locally, it does not work. Please help while I am still technically sane. Thanks. :oP Tony Tzankoff http://www.tzankoff.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php