Re: [PHP] Image problem
I had a similar problem and I just put this in front of my php so everytime my scripts are called they always tell the browser and any proxy servers not to cache anything from me. header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");// Date in the past header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // always modified header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1 header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma: no-cache"); // HTTP/1.0 - Original Message - From: "Donahue Ben" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 09, 2002 1:00 PM Subject: [PHP] Image problem > I upload an image. Once I upload this image using the > is_uploaded_file function, then writing this image > file using the copy function. Everything seems to > work fine. When i try to update (that is uploading a > new file and saving it with the same name as the first > file created) it shows the first image instead of the > second image. So what I did was closed my browser, > then reopened it, then everything was ok. So I figure > that I have a cache problem. I then tried using the > clearstatcache() function right after I update this > image file. But it did not seem to work. So am I > going to have to close and reopen my browser to see > these changes take place or is there something else I > can do? > > Ben > > __ > Do you Yahoo!? > Faith Hill - Exclusive Performances, Videos & More > http://faith.yahoo.com > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP as a Servlet in Tomcat
read.runIt(PoolTcpEndpoint.java:565) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:619) at java.lang.Thread.run(Thread.java:536) Dynamic libraries: 0x0040 - 0x00406000 C:\j2sdk1.4.1_03\bin\java.exe 0x77F8 - 0x77FFB000 C:\WINNT\system32\ntdll.dll 0x7C2D - 0x7C332000 C:\WINNT\system32\ADVAPI32.dll 0x7C4E - 0x7C599000 C:\WINNT\system32\KERNEL32.DLL 0x77D3 - 0x77D9E000 C:\WINNT\system32\RPCRT4.DLL 0x7800 - 0x78045000 C:\WINNT\system32\MSVCRT.dll 0x6D34 - 0x6D46B000 C:\j2sdk1.4.1_03\jre\bin\client\jvm.dll 0x77E1 - 0x77E75000 C:\WINNT\system32\USER32.dll 0x77F4 - 0x77F7C000 C:\WINNT\system32\GDI32.DLL 0x7757 - 0x775A C:\WINNT\system32\WINMM.dll 0x6BD0 - 0x6BD0D000 C:\WINNT\system32\SYNCOR11.DLL 0x6D1E - 0x6D1E7000 C:\j2sdk1.4.1_03\jre\bin\hpi.dll 0x6D31 - 0x6D31E000 C:\j2sdk1.4.1_03\jre\bin\verify.dll 0x6D22 - 0x6D239000 C:\j2sdk1.4.1_03\jre\bin\java.dll 0x6D33 - 0x6D33D000 C:\j2sdk1.4.1_03\jre\bin\zip.dll 0x6D2E - 0x6D2EE000 C:\j2sdk1.4.1_03\jre\bin\net.dll 0x7505 - 0x75058000 C:\WINNT\system32\WSOCK32.dll 0x7503 - 0x75044000 C:\WINNT\system32\WS2_32.DLL 0x7502 - 0x75028000 C:\WINNT\system32\WS2HELP.DLL 0x782C - 0x782CC000 C:\WINNT\System32\rnr20.dll 0x7798 - 0x779A4000 C:\WINNT\system32\DNSAPI.DLL 0x7734 - 0x77353000 C:\WINNT\system32\iphlpapi.dll 0x7752 - 0x77525000 C:\WINNT\system32\ICMP.DLL 0x7732 - 0x77337000 C:\WINNT\system32\MPRAPI.DLL 0x7515 - 0x7515F000 C:\WINNT\system32\SAMLIB.DLL 0x7517 - 0x751BF000 C:\WINNT\system32\NETAPI32.DLL 0x7C34 - 0x7C34F000 C:\WINNT\system32\SECUR32.DLL 0x751C - 0x751C6000 C:\WINNT\system32\NETRAP.DLL 0x7795 - 0x7797A000 C:\WINNT\system32\WLDAP32.DLL 0x77A5 - 0x77B3C000 C:\WINNT\system32\OLE32.DLL 0x779B - 0x77A4B000 C:\WINNT\system32\OLEAUT32.DLL 0x773B - 0x773DF000 C:\WINNT\system32\ACTIVEDS.DLL 0x7738 - 0x773A3000 C:\WINNT\system32\ADSLDPC.DLL 0x7783 - 0x7783E000 C:\WINNT\system32\RTUTILS.DLL 0x7788 - 0x7790E000 C:\WINNT\system32\SETUPAPI.DLL 0x7C0F - 0x7C152000 C:\WINNT\system32\USERENV.DLL 0x774E - 0x77513000 C:\WINNT\system32\RASAPI32.DLL 0x774C - 0x774D1000 C:\WINNT\system32\RASMAN.DLL 0x7753 - 0x77552000 C:\WINNT\system32\TAPI32.DLL 0x7171 - 0x71794000 C:\WINNT\system32\COMCTL32.DLL 0x70BD - 0x70C35000 C:\WINNT\system32\SHLWAPI.DLL 0x7736 - 0x77379000 C:\WINNT\system32\DHCPCSVC.DLL 0x777E - 0x777E8000 C:\WINNT\System32\winrnr.dll 0x777F - 0x777F5000 C:\WINNT\system32\rasadhlp.dll 0x74FD - 0x74FEE000 C:\WINNT\system32\msafd.dll 0x7501 - 0x75017000 C:\WINNT\System32\wshtcpip.dll 0x7CA0 - 0x7CA23000 C:\WINNT\system32\rsaenh.dll 0x7744 - 0x774B8000 C:\WINNT\system32\CRYPT32.dll 0x7743 - 0x7744 C:\WINNT\system32\MSASN1.DLL 0x1000 - 0x10006000 C:\Java\php-4.3.4RC1-Win32\sapi\phpsrvlt.dll 0x0C5A - 0x0C6EF000 C:\WINNT\system32\php4ts.dll 0x1F7D - 0x1F804000 C:\WINNT\system32\ODBC32.dll 0x76B3 - 0x76B6E000 C:\WINNT\system32\comdlg32.dll 0x782F - 0x78538000 C:\WINNT\system32\SHELL32.DLL 0x0C7F - 0x0C806000 C:\WINNT\system32\odbcint.dll 0x0C85 - 0x0C856000 C:\Java\php-4.3.4RC1-Win32\extensions\php_java.dll 0x7792 - 0x77943000 C:\WINNT\system32\imagehlp.dll 0x72A0 - 0x72A2D000 C:\WINNT\system32\DBGHELP.dll 0x690A - 0x690AB000 C:\WINNT\system32\PSAPI.DLL Local Time = Thu Oct 02 15:27:58 2003 Elapsed Time = 223 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_03-b02 mixed mode) # Any ideas or help will be extremely helpful.. I'd really like to get PHP integrated into tomcat but this isn't working =( Thanks a bunch David Erickson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Apache not auto running index.php
Question for those with Apache 2 and PHP.. I installed a forum to my server but when I try to hit http://localhost/phpBB2/admin/ or http://localhost/phpBB2/ instead of running the index.php in those folders it returns a folder listing.. how can I tell apache to execute the index.php in directories instead of giving a listing? Thanks! -David -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Apache not auto running index.php
Scratch that I figured it out. DirectoryIndex index.html index.php index.html.var -David - Original Message - From: "David Erickson" <[EMAIL PROTECTED]> To: "PHP General Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, October 09, 2003 4:00 PM Subject: [PHP] Apache not auto running index.php > Question for those with Apache 2 and PHP.. I installed a forum to my server > but when I try to hit http://localhost/phpBB2/admin/ or > http://localhost/phpBB2/ instead of running the index.php in those folders > it returns a folder listing.. how can I tell apache to execute the index.php > in directories instead of giving a listing? > Thanks! > -David > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php