JafSoft Support Forums  
  Products:
AscToHTM (text to HTML) / AscToPDF (text to PDF) / AscToRTF (text to RTF) / Detagger (HTML to text and markup removal) 

 
  Forum options:
Forum Index  Register  Login  Search  FAQ  Log Out
Member options:
My Profile  Inbox  Member List  Address Book  My Subscription  My Forums 
 
 

Note: Some forums require a login other than "Guest" in order to post messages and replies


html to php

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums > [Product forums] > AscToHTM > html to php Page: [1]
Login
Message << Older Topic   Newer Topic >
html to php - 5/15/2008 7:09:28 PM   
library12

 

Posts: 4
Joined: 5/9/2008
Status: offline
I just successfuly added a header and footer to the html file at the time of conversion, and it works perfectly.  It add the top, side and bottom stuff that is in all our pages, instead of just a list of items in the file.  Problem, we use php scripts, and if I rename the file from lets say Newitems.html to newitems.php and leave it in the root directly it works.  If I move the file to a different folder, it doesn't work.  I have around 140 files that will be converted and I really don't want to put them all in the root.  I'd like to place in four different folders, which would reflect the new titles for that campus at our library.  I'm obviously missing something on how php is looking for files.  I also have other files in folders in html format and the links to those files display.  However, the php won't unless i put it in the root.  The page display looks so much better if I could only get it to work
Post #: 1
RE: html to php - 5/15/2008 11:51:06 PM   
Jaf

 

Posts: 70
Joined: 2/1/2006
Status: offline
I'm not really a php expert, and this forum is mainly to do with AscToHTM, but as I understand it php pages are regarded by the web server as "scripted" pages, as opposed to the "static" content represented by HTML.

In IIS, scripted content can only be placed in those folders that you configure to allow scripted content.  You can map folders as seen on the web site URL to directories on your disk, and also mark these as allowing "active" content.

I think this may be the problem you're experiencing, in that if you place them in a different folder you'll either see these pages as static (i.e. the php contents won't get run), or not at all.  I suspect you'll need to configure IIS to make these folders visible and also to allow active content.

As I say, I'm not an expert in this area, but I hope this helps.

I'm glad you've managed to use AscToHTM to create your php pages though

(in reply to library12)
Post #: 2
Page:   [1]
All Forums > [Product forums] > AscToHTM > html to php Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts