Page 2 of 2

Posted: Tue Mar 22, 2005 10:55 pm
by feyd
simply linking to them should be good enough. That's about all you can do with a static html file anyways.

As for what bbcode is..
faq.php#21
faq.php?mode=bbcode

Posted: Tue Mar 22, 2005 11:29 pm
by saumya
ok.so its buletin board code.

now coming back to the problem.yes i think i have to go back to htmlonly.
thank you feyd

Posted: Wed Mar 23, 2005 10:06 am
by phpScott
What should be happening is that when some clicks on the link to the pdf file, if adobe acrobat is loaded onto the users compturer (and the haven't messed with the default settings) is that adobe acrobat should load into the browser to all the user to see the pdf document.

as feyd just beat me to is to just create the link to the file in your <a href> tags.

Posted: Wed Mar 23, 2005 10:42 pm
by saumya
yeah,thats another problem.it actually opens inside browser.But i think i have to live with that.ther is noother option.can i open the pdf in separate acrobat reader each time i click a link this should open a different acrobat with that document.
thank you phpScott for replaying

Posted: Wed Mar 23, 2005 10:57 pm
by anjanesh
saumya wrote:can i open the pdf in separate acrobat reader each time i click a link this should open a different acrobat with that document.
thank you phpScott for replaying
1. You can use PopUps.
2. change target value(deprecated). <a href="x.pdf" target="_blank">x.pdf</a>
3. Force Download : viewtopic.php?t=31717

Posted: Wed Mar 23, 2005 11:05 pm
by feyd
anjanesh, it would seem you haven't read the entire thread. He's using static html, not php. So force-download isn't exactly possible on this occasion.

Posted: Thu Mar 24, 2005 6:15 am
by saumya
well i do not mind using php,if possible.i am confused again.what to do? should i use staic html or php.that raises another question for me,if i am using php then how i am sure that it will be called through a web server?because at last i have to give this on cd and the user should able to open it from cd.
the basic intention is an interface to open different pdfs in different acrobat reader.first i should have a fullscreen interface without anything but the buttons to open the pdfs.then once u click one button it should open one pdf in one acrobat reader.
is it possible that i can run my php codes from cds.i mean to say can i be sure that these php files will be called by the user's webserver and php interpreter?
offs seems a lot of work.i have to wake up all night i think.

thanks guys

Posted: Thu Mar 24, 2005 6:22 am
by anjanesh
You can run you php scripts from the CD if your path in the Apache configuration file is set to that drive.
Better make it as static and open each one using target="_blank"
<a href="x.pdf" target="_blank">x.pdf</a>

Posted: Fri Mar 25, 2005 6:35 am
by saumya
thank you.i will do that.

Posted: Fri Mar 25, 2005 7:06 am
by phpScott
what anjanesh about the use of aphace will only work if the client has apache installed on there computer. The best bet is to put static html on to the cd using links like it was mentioned.
Of course if you are creating the static html pages on your computer and you have the apache and php set up there is nothing stopping you from creating a php script that will generate the html page and have that saved to a file so your updating is easier when you need to create new cd's.

At least that is how I would do it.

Posted: Fri Mar 25, 2005 7:10 am
by saumya
i actually meant to go for static way.sorry i coould not mantion it clearly.
thank your for the information.

Posted: Fri Mar 25, 2005 12:33 pm
by Pyrite
Or, if you need to use php/mysql/perl/ssi/sqlite on a CD, you can check out Microweb! Been using it a long time, it is wonderful.

http://www.indigostar.com/microweb.htm