Difficulties...

    Date: 05/13/06 (PHP Community)    Keywords: php, browser

    I have been trying to get a site I recently converted from Coldfusion to PHP to catch all of artifacts from the old site.

    I have the following bit of code:

    if ($_GET['section']) {
        header("Location: http://www.theperfectnanny.com/store"); /* Redirect browser */
        exit;
    }
    if (!is_numeric($_GET['page_id'])){
        header("Location: http://www.theperfectnanny.com/store"); /* Redirect browser */
        exit;
    }
    else {
        $page_id = $_GET['page_id'];
    }
    


    The old get variable was section, which I have changed to page_id. I am trying to get it to redirect to the index and all I get is "No input file specified." I am not even sure where that error is coming from.

    Any ideas?

    EDIT: WTF?

    I copied everythning to a dev directory to work on, and it works. On top of that, the live version works.

    I am losing my mind.

    Source: http://community.livejournal.com/php/449615.html

« Question: Getting back what... || Create simple xls on server »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home