This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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 Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Languages » PHP
Bookmark "imagecreate" Watch "imagecreate" New topic
Author

imagecreate

egbai mmumene
Ranch Hand

Joined: Sep 18, 2012
Posts: 46
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: 2994
    
    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 part 2/3
 
Have you checked out Aspose?
 
subject: imagecreate
 
It's not a secret anymore!