File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes PHP and the fly likes imagecreate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Languages » PHP
Bookmark "imagecreate" Watch "imagecreate" New topic
Author

imagecreate

egbai mmumene
Ranch Hand

Joined: Sep 18, 2012
Posts: 45
please i'm trying to use the imagecreatfrom() function but when i run my code i get an error saying file or directory not found
K. Tsang
Bartender

Joined: Sep 13, 2007
Posts: 2727
    
    9

Make sure your file path is "relative" to the php page where you execute your imagecreatefromxxx() method. If in doubt, try loading the file in the browser first.


K. Tsang JavaRanch SCJP5 SCJD OCPJP7 OCPWCD5 OCPBCD5 OCPWSD5 OCMJEA5 part 1
 
Consider Paul's rocket mass heater.
 
subject: imagecreate