aspose 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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Languages » PHP
Bookmark "imagecreate" Watch "imagecreate" New topic
Author

imagecreate

egbai mmumene
Ranch Hand

Joined: Sep 18, 2012
Posts: 43
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: 2503
    
    8

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/OCM-JD OCPJP7 OCPWCD5 OCPBCD5
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: imagecreate