Web Design Forums

PHP

Have questions about PHP? Ask them here and our experts will assist you before you know it! You can also find help in the documentation at PHP.net.

Editing my PHP page?



Site of the Month Voting - Now Open. CAST YOUR VOTE NOW!

Reply
 
LinkBack Thread Tools
Old May 18 '04, 02:35 PM (#1)
Mimic is offline
WDF Regular
 
Mimic's Avatar
 
Join Date: April 2003
Location: Las Vegas
Posts: 231
Mimic
Send a message via AIM to Mimic
Editing my PHP page?

I created my PHP page in Front Page and all im doing is using the SSI include feature for PHP, to make it work I need to save my page as .php. Everything works fine on the server, SSI works great. But when I try and pull the page up in FP BUT it opens as a text file in notepad. How do I get it back so I can edit the HTML that was on there? All im using is the SSI tags for PHP, is there a certain editor I cna use? I realy dont want to use notepad

Sorry im new to PHP
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 18 '04, 03:48 PM (#2)
jlgosse is offline
WDF Veteran Member
 
jlgosse's Avatar
 
Join Date: January 2004
Location: Newfoundland, Canada
Posts: 1,037
jlgosse has disabled reputation
Send a message via ICQ to jlgosse
Is does SSI even have anything to do with PHP? Do you mean the include function built in with PHP?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 18 '04, 03:50 PM (#3)
xarst is offline
WDF Veteran Member
 
xarst's Avatar
 
Join Date: December 2003
Posts: 1,274
xarst
Frontpage and PHP??? That can't be good, you can't mix that two things together...
SSI and PHP are different things anyway, do you mean that you are using this PHP to include things?
PHP Code:
include("somefile.php"); 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 18 '04, 03:50 PM (#4)
xarst is offline
WDF Veteran Member
 
xarst's Avatar
 
Join Date: December 2003
Posts: 1,274
xarst
Hey jl, I replied at the same time as you...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 18 '04, 04:41 PM (#5)
Mimic is offline
WDF Regular
 
Mimic's Avatar
 
Join Date: April 2003
Location: Las Vegas
Posts: 231
Mimic
Send a message via AIM to Mimic
"SSI include feature for PHP"

Yeah well thats what they called it on W3 Schools

All I want to do is edit it visualy and not threw notepad

And yes I know how to do it

"Everything works fine on the server, SSI works great"

Because I have to save the file as a .php it wont let me edit it with FP any more, even though thats how I created it

Last edited by Mimic; May 18 '04 at 04:43 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 18 '04, 04:58 PM (#6)
xarst is offline
WDF Veteran Member
 
xarst's Avatar
 
Join Date: December 2003
Posts: 1,274
xarst
Rename it to "somefile.php.html" and edit it as normal. Then rename it back to "somefile.php" when done. That's the ugly way of doing it, but who cares if you are using Frontpage anyway?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 18 '04, 05:05 PM (#7)
Mimic is offline
WDF Regular
 
Mimic's Avatar
 
Join Date: April 2003
Location: Las Vegas
Posts: 231
Mimic
Send a message via AIM to Mimic
Dont bash me because I use FP, it works fine for me

But hey that works, thanks for the help
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 18 '04, 06:57 PM (#8)
teal is offline
Player 3
 
teal's Avatar
 
Join Date: December 2003
Posts: 247
teal has disabled reputation
Send a message via ICQ to teal Send a message via AIM to teal
::remicies on his Frontpage days::
Dreamweaver is a god.
Also, to use an PHP SSI stuff, you need to either have Apache running on your machine or upload the stuff, since it is server-rendered (the whole point). No WYSIWYG web design program will ever grab the includes for you, as far as I know.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 19 '04, 01:06 AM (#9)
xarst is offline
WDF Veteran Member
 
xarst's Avatar
 
Join Date: December 2003
Posts: 1,274
xarst
Quote:
Originally Posted by teal
No WYSIWYG web design program will ever grab the includes for you, as far as I know.
The God does it...

PS- Dreamweaver = The God
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 19 '04, 01:49 PM (#10)
Mimic is offline
WDF Regular
 
Mimic's Avatar
 
Join Date: April 2003
Location: Las Vegas
Posts: 231
Mimic
Send a message via AIM to Mimic
If DW does it then why didnt you just tell me that in the first place? I can use DW if needed

Last edited by Mimic; May 19 '04 at 01:49 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 19 '04, 02:24 PM (#11)
jlgosse is offline
WDF Veteran Member
 
jlgosse's Avatar
 
Join Date: January 2004
Location: Newfoundland, Canada
Posts: 1,037
jlgosse has disabled reputation
Send a message via ICQ to jlgosse
God. I'm curious as to why you would EVER pick FP over DW: EVER.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 19 '04, 04:22 PM (#12)
xarst is offline
WDF Veteran Member
 
xarst's Avatar
 
Join Date: December 2003
Posts: 1,274
xarst
Maybe he hasn't used it before, that's the only reason I can think of...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 19 '04, 05:48 PM (#13)
Mimic is offline
WDF Regular
 
Mimic's Avatar
 
Join Date: April 2003
Location: Las Vegas
Posts: 231
Mimic
Send a message via AIM to Mimic
Thanks for making me cry...

Last edited by Wired; May 19 '04 at 07:26 PM. Reason: disturbing tone
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 19 '04, 07:26 PM (#14)
Wired is offline
WDF Alien Overlord
 
Wired's Avatar
 
Join Date: April 2003
Posts: 6,369
Wired is just really niceWired is just really niceWired is just really niceWired is just really nice
Send a message via AIM to Wired
Don't cry! People mainly don't like FP because of the vast amount of CRAP it adds to code. DW doesn't add nearly as much. Notepad rocks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 20 '04, 01:05 AM (#15)
xarst is offline
WDF Veteran Member
 
xarst's Avatar
 
Join Date: December 2003
Posts: 1,274
xarst
Ppl hate FP because it has almost no features for CSS, it only makes IE propietery code, it's from M$, it's GUI is far from the great and intuitive DW, forget about server-side coding with FP, and don't even think of PHP or JSP!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 20 '04, 02:59 PM (#16)
Mimic is offline
WDF Regular
 
Mimic's Avatar
 
Join Date: April 2003
Location: Las Vegas
Posts: 231
Mimic
Send a message via AIM to Mimic
Ok well I started using DW and it has a bunch of cool stuff, mainly the ability to edit php pages
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 20 '04, 03:10 PM (#17)
xarst is offline
WDF Veteran Member
 
xarst's Avatar
 
Join Date: December 2003
Posts: 1,274
xarst
That's only the beginning...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 20 '04, 03:36 PM (#18)
Mimic is offline
WDF Regular
 
Mimic's Avatar
 
Join Date: April 2003
Location: Las Vegas
Posts: 231
Mimic
Send a message via AIM to Mimic
Indeed it is...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 22 '04, 09:42 AM (#19)
zingbats is offline
New Member!
 
zingbats's Avatar
 
Join Date: May 2004
Posts: 7
zingbats is on a distinguished road
Tools->Options then click on the "Configure Editors" Tab. Set the editor to frontpg.exe

Alex.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 22 '04, 01:36 PM (#20)
teal is offline
Player 3
 
teal's Avatar
 
Join Date: December 2003
Posts: 247
teal has disabled reputation
Send a message via ICQ to teal Send a message via AIM to teal
Quote:
Originally Posted by xarst
Dreamweaver = The God
WHY DOESN'T MY COPY OF DREAMWEAVER GRAB INCLUDES!

::cries, adding more tears to the room::

Seriously, that isn't cool of dreamweaver, does it make a diffrence that I used "require?"

Last edited by teal; May 22 '04 at 01:36 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 24 '04, 01:18 AM (#21)
xarst is offline
WDF Veteran Member
 
xarst's Avatar
 
Join Date: December 2003
Posts: 1,274
xarst
It includes the HTML in a include file into the WYSIWYG editor, you won't see that HTML code in source-code view.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

  Web Design Forums » Programming Help » PHP

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
User Infomation
Your Avatar

Site Of The Month
Nominate Your Site Now!

Advertisement
WolfCMS.org

Latest Articles
- by RickM
- by bfsog

Advertisement

Partner Links



All times are GMT -4. The time now is 01:59 PM.


WebDesignForums.net is Copyright © 2010 RikeMedia.

SEO by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164