This is a discussion on Scripting editor for Mac OS X? within the alt.comp.lang.php forums, part of the PHP Programming Forums category; Anyone recommend a good script editor for Mac OS X? Just finished a 4-day PHP class in front of ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Anyone recommend a good script editor for Mac OS X?
Just finished a 4-day PHP class in front of a Windows machine, and liked the editor we used. Don't recall the name, but it gave line numbers as well as some color coding, etc. Having trouble finding the same in an editor that'll run on OS X. -- Floydian Slip(tm) - "Broadcasting from the dark side of the moon" Random Precision Productions(tm) 67 Union St. #2D, Winooski, Vt. 05404-1948 USA Sundays, 7-8 pm - Champ 101.3 FM, Colchester; 102.1 FM, Randolph, Vt. ccb@floydianslip.com - AIM: RandomPrec - www.floydianslip.com |
|
|||
|
On 2003-06-28 14:08:24, Craig Bailey wrote:
> Just finished a 4-day PHP class in front of a Windows machine, and liked > the editor we used. Don't recall the name, but it gave line numbers as > well as some color coding, etc. How about jEdit? http://www.jedit.org/ |
|
|||
|
In article <ccb-F18201.08082328062003@news.bellatlantic.net>,
Craig Bailey <ccb@floydianslip.com> wrote: > Anyone recommend a good script editor for Mac OS X? > > Just finished a 4-day PHP class in front of a Windows machine, and liked > the editor we used. Don't recall the name, but it gave line numbers as > well as some color coding, etc. > > Having trouble finding the same in an editor that'll run on OS X. BBedit is a classic, and still a champ. BBeditLite is an alternate, free version. Both are worth a download. If you decide to buy the full version, note that there's a 10% discount offer that ends on the 30th. <http://www.barebones.com/products/bbedit/index.shtml> -- CC |
|
|||
|
In article <ccb-F18201.08082328062003@news.bellatlantic.net>,
Craig Bailey <ccb@floydianslip.com> wrote: > Anyone recommend a good script editor for Mac OS X? This is a no brainer if you're really serious... BBEdit. If you are just toying around, then BBEdit might not be worth the asking price. Browse through this: http://www.versiontracker.com/mp/new...&mode=Quick&OS _Filter=MacOSX&search=%22text+editor%22&x=0&y=0 (You'll need to splice the address together.) --Richard |
|
|||
|
I've got the mod_rewrite set up and working but it's screwing up my page links
example here is my .htaccess Options +FollowSymLinks RewriteEngine on RewriteBase / RewriteRule ^profile/(.*)/$ /profile.php?un=$1 for the most part it works if i type www.mywebsite.com/profile/fred/ www.mywebsite.com/profile.php?un=fred is what is actually sent which is ok however the problem is all my links on that page change.. my internal page links are change to www.mywebsite.com/users/fred/home.php when it should be www.mywebsite.com/users/home.php why is 'fred' inserted in all the other page links? Does anyone know why or how to fix this. Thanks |
|
|||
|
I've got the mod_rewrite set up and working but it's screwing up my page links
example here is my .htaccess Options +FollowSymLinks RewriteEngine on RewriteBase / RewriteRule ^profile/(.*)/$ /profile.php?un=$1 for the most part it works if i type www.mywebsite.com/profile/fred/ www.mywebsite.com/profile.php?un=fred is what is actually sent which is ok however the problem is all my links on that page change.. my internal page links are change to www.mywebsite.com/users/fred/home.php when it should be www.mywebsite.com/users/home.php why is 'fred' inserted in all the other page links? Does anyone know why or how to fix this. Thanks |
|
|||
|
On Wed, 27 Sep 2006 15:15:57 -0700, Gleep <Gleep@Gleep.com> wrote:
>I've got the mod_rewrite set up and working but it's screwing up my page links > >example here is my .htaccess > >Options +FollowSymLinks >RewriteEngine on >RewriteBase / >RewriteRule ^profile/(.*)/$ /profile.php?un=$1 > > >for the most part it works > >if i type www.mywebsite.com/profile/fred/ www.mywebsite.com/profile.php?un=fred is what is >actually sent which is ok > >however the problem is all my links on that page change.. > >my internal page links are change to www.mywebsite.com/users/fred/home.php when it should be >www.mywebsite.com/users/home.php why is 'fred' inserted in all the other page links? > >Does anyone know why or how to fix this. Thanks update I found that if I add [R] RewriteRule ^profile/(.*)/$ /profile.php?un=$1 [R] it works with IE, however in Firefox it does the rewrite but the URL changes to original sort of defeating the purpose of mod_rewrite. Any ideas? |
|
|||
|
On Wed, 27 Sep 2006 15:15:57 -0700, Gleep <Gleep@Gleep.com> wrote:
>I've got the mod_rewrite set up and working but it's screwing up my page links > >example here is my .htaccess > >Options +FollowSymLinks >RewriteEngine on >RewriteBase / >RewriteRule ^profile/(.*)/$ /profile.php?un=$1 > > >for the most part it works > >if i type www.mywebsite.com/profile/fred/ www.mywebsite.com/profile.php?un=fred is what is >actually sent which is ok > >however the problem is all my links on that page change.. > >my internal page links are change to www.mywebsite.com/users/fred/home.php when it should be >www.mywebsite.com/users/home.php why is 'fred' inserted in all the other page links? > >Does anyone know why or how to fix this. Thanks If you're using relative links, they will behave as though they were called from the (virtual) folder /fred/ To get the path relative to the root, name your relative links something like /user/home.php -- bonfils http://kim.bonfils.com |
|
|||
|
On Sat, 30 Sep 2006 13:10:25 +0200, bonfils <kim@bonfils.my.underwear.com> wrote:
>On Wed, 27 Sep 2006 15:15:57 -0700, Gleep <Gleep@Gleep.com> wrote: > >>I've got the mod_rewrite set up and working but it's screwing up my page links >> >>example here is my .htaccess >> >>Options +FollowSymLinks >>RewriteEngine on >>RewriteBase / >>RewriteRule ^profile/(.*)/$ /profile.php?un=$1 >> >> >>for the most part it works >> >>if i type www.mywebsite.com/profile/fred/ www.mywebsite.com/profile.php?un=fred is what is >>actually sent which is ok >> >>however the problem is all my links on that page change.. >> >>my internal page links are change to www.mywebsite.com/users/fred/home.php when it should be >>www.mywebsite.com/users/home.php why is 'fred' inserted in all the other page links? >> >>Does anyone know why or how to fix this. Thanks > >If you're using relative links, they will behave as though they were >called from the (virtual) folder /fred/ > >To get the path relative to the root, name your relative links >something like /user/home.php thanks, your on the right track - but I fixed it by adding <BASE href="http://www.mywebsite.com/profile.php"> in the header |