View Full Version : Alternative to CGI PHP
I wonder if it would be possible to make an alternative way of doing PHP on the servers.
I use HomeSite and Dreamweaver to edit my pages. And the #!/usr/local/bin/perl or whatever statement screws up my pages in Dreamweaver.
Thanks!
Remi
eremi.net
FYI, if you’re building PHP pages, and using the path to "perl" as the first line, your PHP scripts will not work.
Before you try and find an alternative, use the correct path to PHP as the first line in your PHP scripts:
#!/usr/local/bin/php
Let us know the outcome please.
Sincerely,
Ok, aside from the path thing...
dreamweaver will mess up a php script, however homesite is really quite acceptable. infact, if you are not into the cold fusion functions or are up to a little modification of your homesite dev environment, you can turn homesite into a php powerhouse, via substatuting php for the coldfusion or merging the php into the cold fusion functions. Since coldfusion wont run here at powweb I supose it would depend where else you design for, or if you plan on learning cf. For clarity it might be wise to either create a seperate install of hs for php or take your pick and go for it, following the first rule of computing, back up your data you want to keep!
You can find the related info here:
http://www.wilk4.com/asp4hs/php4hs.htm
Paul
FunkyBacon
11-11-01, 07:36 AM
The best suggestion I can give, is to build your page in your wysiwyg editor, then use something like notepad to add in the line for PHP at the top when you're sure you have what you want. I used to use frontpage until I got into all this SSI, CGI, and PHP stuff. Then I decided it sucked for anything aside from html and just started using notepad. My pages don't look as pretty as before, but by golly they actually work.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.