I have a page that I am doing a lot of work with that is php/html. I
have the site saved on my local drive in ~/Sites/dev/ and I have http
on my server pointing to ~/Sites/ as the document root.
if I op-en up safari and type in http://localhost/dev/ I get the
index page of the site. If I open the preview window in BBEdit I get
a bunch of php code and some part of the html code, although it's all
mixed with the php:
To: ' .$pname. '
' .$addrs . '
' .sprintf("%03d-%03d-%04d", substr($pnum,0,3),substr($pnum,
3,3),substr($pnum,6,4)); // substr($pnum,0,3),substr($pnum,3,3),substr
($pnum,6,4)) . ' echo'
' .$city . ', ' .$zip . '
Pickup Date: ' . date('j [EMAIL PROTECTED]:i', $runDate) . '
Call Time: ' . date('H:i', strtotime($tcall)) .'
for example.
I have the site defined in the BBEdit preferences as:
Site Name: Dev
web server name: (the real path to the site on the server)
Site path on server: htmld/dev/
Default Page Name: index.html
Local Site Root: ~/Sites/dev
[x] Use local preview Server
Preview Server URL: http://localhost/dev/
(I've also tried http://localhost/)
--
Two, Four, Six, Eight! Time to Transubstantiate!
--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to: <[EMAIL PROTECTED]>