Welcome Guest ( Log In | Register)



2 Pages V   1 2 >  
Reply to this topicStart new topic
> Can Anyone Modify Php File, Can anyone modify PHP file
pingusurf
post Sep 9 2005, 12:35 AM
Post #1


Newbie [Level 2]
**

Group: Members
Posts: 25
Joined: 9-September 05
Member No.: 11,643



Hi, Can anybody help me by telling about any tool to modify a PHP file as in a Layout Editor like InterDev for ASP and FrontPage for HTML.
Go to the top of the page
 
+Quote Post
Saint_Michael
post Sep 9 2005, 12:52 AM
Post #2


$p4m 0n j00 $h4m3 m3 0nc3 $p4m 0n m3 $h4m3 m3 7\/\/1c3
*********************

Group: [HOSTED]
Posts: 6,564
Joined: 21-September 04
From: 9r33|\| 399$ 4|\|D 5P4/\/\
Member No.: 1,218
T17 GFX Crew



well you can use notepad do to that, but i been seeing alot of posts about php edits if you use the search menu you might find some.

but i use notepad and sometimes dreamweaver.
Go to the top of the page
 
+Quote Post
LeAnn Rimes My A...
post Sep 9 2005, 01:16 AM
Post #3


Super Member
*********

Group: Members
Posts: 442
Joined: 27-May 05
From: Ottawa, Ontario, Canada
Member No.: 7,580



Saint_Michael is right. All you really need is Notepad. Simply right click the file, and select Open With, then choose Notepad. If you need further assistance, phpbb.com is a great place to seek help.
Go to the top of the page
 
+Quote Post
[i]_R_Crazy_Idio...
post Sep 9 2005, 01:25 AM
Post #4


Super Member
*********

Group: Members
Posts: 205
Joined: 17-June 05
Member No.: 8,330



Dreamweaver is good, but all you really need is a basic text editor.
Go to the top of the page
 
+Quote Post
Avalon
post Sep 9 2005, 01:36 AM
Post #5


Privileged Member
*********

Group: Members
Posts: 630
Joined: 12-August 05
From: Melbourne, Australia
Member No.: 10,624



It sounds like pingusurf is looking for WYSIWYG PHP editor, (something like Frontpage etc.) so he can see PHP output. I don't know if there is such a thing. I think Dreamweaver will allow you to see the layout, but it won't let you see any results of PHP functions/commands because you need to have PHP running on a Web Server for that.

You can sort of do it if you run a Personal Web Server with PHP running and then 'browse' to the page with your web browser. This will allow you see PHP output but it is a little fiddly to setup. I used to do this but I now I find it easier to upload the page to a server to view the results.
Go to the top of the page
 
+Quote Post
round
post Sep 9 2005, 02:41 AM
Post #6


Super Member
*********

Group: Members
Posts: 463
Joined: 8-November 04
Member No.: 2,186



dreamweaver is what i use, now i'm not saying that it's going to render the php code perfectly but it will allow you to see the full page without the code. Like if you using includes and such. It will bring then in and allow you to alter them a will save your changes in the included file. Haven't really found any other, but the best and fastest way to do it, is to get familiar with html code, not that hard either. round
Go to the top of the page
 
+Quote Post
rvalkass
post Sep 9 2005, 06:03 AM
Post #7


apt-get moo
Group Icon

Group: [MODERATOR]
Posts: 2,156
Joined: 28-May 05
From: Devon, England
Member No.: 7,593
Spam Patrol



As far as I am aware there are no WYSIWYG editors for PHP, but if you install PHP, Apache and probably MySQL on your home PC then you can view the outputs, although you only need MySQL for databases.

It is a lot of work, so I would suggest just editing them on Trap17. I think there is a file editor in cPanel. If not then use net2ftp to edit the files 'live' on T17.
Go to the top of the page
 
+Quote Post
Dawid
post Sep 9 2005, 06:31 AM
Post #8


Premium Member
********

Group: Members
Posts: 198
Joined: 9-October 04
From: Townsville, Australia
Member No.: 1,560



I just basically usually use notepad, if I want to test it I just "run" it on the website. Makes debugging a little tough but does the trick none the less.
Go to the top of the page
 
+Quote Post
sandbox
post Sep 9 2005, 07:00 AM
Post #9


Advanced Member
*******

Group: Members
Posts: 107
Joined: 9-September 05
From: Houston, TX USA
Member No.: 11,651



Hmm, I wonder if you could accomplish this using some Ajax type code. It's not exactly what you're looking for, but I did find a livesearch example with source code here:

http://blog.bitflux.ch/wiki/LiveSearch

Maybe you could use the dynamic xmlhttprequest to send source code instead of queries, and the serverside php script accepting the live input could save it to a file and then call a second php script that includes the file and returns the output to the user. That would be pretty cool if it worked.
Go to the top of the page
 
+Quote Post
faneendra
<