Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1

    Default help, im stuck! in PHP programming.


    i Got questions.

    how to set a cookie,
    * like even if you close a browser its still there,
    * and logs you in if you open the page.

    how to delete an image from a server..


    thanks in advance.



  2. #2

    Default Re: help, im stuck! in PHP programming.


  3. #3

    Default Re: help, im stuck! in PHP programming.

    ok.... thanks.

  4. #4
    Junior Member
    Join Date
    Apr 2006
    Gender
    Male
    Posts
    488

    Default Re: help, im stuck! in PHP programming.

    pasingit beh..nko error na "internal service error" unsaon na?wla man error sa code..

  5. #5

    Default Re: help, im stuck! in PHP programming.

    check your services (apache,mysql or php) kong ga run ba sila og taron.. you can either try to restart it

  6. #6
    Junior Member
    Join Date
    Apr 2006
    Gender
    Male
    Posts
    488

    Default Re: help, im stuck! in PHP programming.

    @silent-kill...mo run man..kan phpinfo() na statement ko e.use kay mo dsplay man..i think sa apache cguro ni..jst don't know how to troubleshoot it for now..

  7. #7

    Default Re: help, im stuck! in PHP programming.

    $pic=sample.jpg

    // pag delete sa image nga naa sa server
    chdir($_SERVER['DOCUMENT_ROOT']);
    unlink('images/'.$pic);

    //------------------setting a cookie
    $value=1;
    $imong_site="www.istorya.net";
    setcookie("samplecookie", $value, time()+3600, '/' ,$imong_site);

    //to check the cookie

    if($_COOKIE['samplecookie']=="1"){
    echo "Naay Cookie!";
    }
    else{
    "Walay cookie";
    }

    i hope this will help

  8. #8

    Default Re: help, im stuck! in PHP programming.

    tjyrna, Apache probably encountered an error with your .conf files or htaccess files, did you add anything in there?


  9. #9
    Junior Member
    Join Date
    Apr 2006
    Gender
    Male
    Posts
    488

    Default Re: help, im stuck! in PHP programming.

    wla man ko g.change sa apache!!and gkan pani sa cd na g.use nako before..whew..

  10. #10

    Default Re: help, im stuck! in PHP programming.

    hi tjyrna.. pls try to post the script you where trying to run..

    also pls try to be more descriptive.. kong kanosa ra siya mahitabo.. like.. kong ni run ka og image processing script.. or db script or mo error ba gihapon siya bisan .html ra imng gi load?... or kong maka load ba siya og lain pages normally etc..

  11.    Advertisement

Page 1 of 2 12 LastLast

Similar Threads

 
  1. Replies: 20
    Last Post: 02-27-2010, 01:39 PM
  2. help, in flash programming, exploding pixel map.
    By emailroy2002 in forum Programming
    Replies: 6
    Last Post: 05-23-2007, 06:08 PM
  3. splinter cell chaos theory players.. pls help, im stuck.
    By whoopz in forum Software & Games (Old)
    Replies: 5
    Last Post: 10-10-2006, 09:01 AM
  4. help!!! my cd is stuck in my laptop!!
    By dunmatter in forum Computer Hardware
    Replies: 8
    Last Post: 10-02-2006, 12:40 AM
  5. Replies: 2
    Last Post: 09-14-2005, 08:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top