Results 1 to 2 of 2

Thread: PHP equivalent [resolved]

  1. #1

    Thread Starter
    Frenzied Member oceanebelle's Avatar
    Join Date
    Jun 2005
    Location
    my n00k.
    Posts
    1,064

    Resolved PHP equivalent [resolved]

    Code:
    Response.CacheControl = "Private"												' プロキシサーバーのキャッシュ設定
    	Response.AddHeader "Pragma","no-cache"											' HTML ヘッダー:キャッシュなし(HTTP 1.1)
    	Response.AddHeader "Cache-Control","no-cache"									' HTML ヘッダー:キャッシュなし(HTTP 1.0)
    	Response.Expires = -1															' キャッシュされているページの有効期限
    	Server.ScriptTimeout = 180
    the above code is in asp... wot are its equiv in php?
    Last edited by oceanebelle; Jun 26th, 2005 at 07:57 PM. Reason: Resolved

  2. #2
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: PHP equivalent

    PHP Code:
    header('Pragma: no-cache');
    header('Cache-Control: no-cache');                                    
    header('Expires: -1');

    ini_set('max_execution_time''180'); 
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width