SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Jul 2007
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Sitepoint Tutorial

    Im trying to follow the tutorial on Sitepoint -
    Build An Automated PHP Gallery System In Minutes

    and have so far got to page 4/5 where I am trying to edit the upload.php page but it tells me
    Fatal error: Call to undefined function ImageCreateFromJPEG() in C:\wamp\www\upload.php on line 73
    on line 73 it says
    PHP Code:
    $source_handle $function_to_read($images_dir '/' $filename); 
    I am testing the files on localhost using phpMyAdmin and the WAMP server

    Do I need to be testing the files on my website host? As they have GD Library bundled with it? I tried to transfer the files over here but it then doesnt connect to the database as I am not sure what to replace the localhost with??

    Can Anyone help??
    Thanks

  2. #2
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,290
    Mentioned
    198 Post(s)
    Tagged
    3 Thread(s)

    images

    Hi sddc, welcome to the forums,
    If you can't compile your local WAMP PHP install with GD then you should work from your host, which you will ultimately do anyway I imagine.


Bookmarks

Posting Permissions

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