fastmouse Posted January 18, 2008 Share Posted January 18, 2008 Hi all im very very new to the PHP world, have done a basic course but am learning as I go along could anyone tell me how/if it is possible to; 1, use php to validate a link within an XML file? We have a link based website (that has to be client based at the moment) that reads in an xml sheet to provide a list of names each are linked to a pdf on the system. Problem is there are over 6500 pdfs! and i need to see if all links point to the right file and if even the file is there without having to button press each one? 2, Is it possible to collate pdfs into a single type book as they are selected? rather than multiple acrobat windows opening? Can PHP collate and adjust??? Sorry if these are not possible....or are more suited to a different language, ive been thrown in at the deep end and am having to learn all technologies at an alarming rate! many thanks for any help! Mike Quote Link to comment https://forums.phpfreaks.com/topic/86624-newbie-help/ Share on other sites More sharing options...
thebadbad Posted January 18, 2008 Share Posted January 18, 2008 I'm not sure PHP can collate PDFs, but you can check if a file exists with file_exists, and then create a link if true. Quote Link to comment https://forums.phpfreaks.com/topic/86624-newbie-help/#findComment-442644 Share on other sites More sharing options...
ratcateme Posted January 18, 2008 Share Posted January 18, 2008 if you get php to import the XML file then use the link information in it and use this command is_file(); sorry i don't no much about php and pdf so i cant help you with your second question Scott. Quote Link to comment https://forums.phpfreaks.com/topic/86624-newbie-help/#findComment-442645 Share on other sites More sharing options...
GingerRobot Posted January 18, 2008 Share Posted January 18, 2008 I've never worked with pdfs from PHP. But since i know you can create them, it would seem logical that you could open and modify them. You may have to do some digging, but this would be worth a look: www.php.net/pdf Quote Link to comment https://forums.phpfreaks.com/topic/86624-newbie-help/#findComment-442659 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.