|
Posted by Gary Hasler on 03/13/07 22:18
> > Hi
> >
> > I'm working on litle host site. It will give free hosts to users and
> > accept donations (if any).
> >
> > I have problem with combining site who is build with front page (just
> > html) with who is script. I can not insert code of php in my page without
> > errors.
> >
> > can someone please help me. I would send php script and html on mail if
> > someone wont to help me...
> >
> > sorry for my english and thanks
>
> What kinds of errors are you getting?
> Are you inserting the code in code view or HTML view?
>
> More info!!
>
> Anthony
I actually use Frontpage and PHP (I know, I know, it's crazy but it
works). To write and edit scripts within Frontpage you need to be in
code view as Anthony mentions. But, since Frontpage doesn't have a clue
about PHP, you should configure it to use an external text editor which
understands PHP syntax. Then you can double-click the *.php file in FPs
folder view, it opens the external editor, then you edit, save and
close, and FP should realize the file has changed. Then it will upload
it just like any other file.
You need your server to first be configured to parse PHP files (ie for
Apache, disable FP extensions and edit your .htaccess file manually,
etc). Any errors which occur when the server is running the script has
nothing to do with FP. If this is the case, post the errors.
Navigation:
[Reply to this message]
|