Scripting editor for Mac OS X?

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 ...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-28-2003
Craig Bailey
 
Posts: n/a
Default Scripting editor for Mac OS X?

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
Reply With Quote
  #2 (permalink)  
Old 06-28-2003
Stefan Scholl
 
Posts: n/a
Default Re: Scripting editor for Mac OS X?

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/
Reply With Quote
  #3 (permalink)  
Old 06-28-2003
CC Zona
 
Posts: n/a
Default Re: Scripting editor for Mac OS X?

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
Reply With Quote
  #4 (permalink)  
Old 06-28-2003
Daniel Doman
 
Posts: n/a
Default Re: Scripting editor for Mac OS X?

I use BBEdit - It is a very good all around editor. I haven't seen it but I
have also heard a lot of good things about Zend's editor as well.
Reply With Quote
  #5 (permalink)  
Old 06-30-2003
Richard Petty
 
Posts: n/a
Default Re: Scripting editor for Mac OS X?

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
Reply With Quote
  #6 (permalink)  
Old 09-27-2006
Gleep
 
Posts: n/a
Default Re: Scripting editor for Mac OS X?

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
Reply With Quote
  #7 (permalink)  
Old 09-27-2006
Gleep
 
Posts: n/a
Default help with mod_rewrite

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
Reply With Quote
  #8 (permalink)  
Old 09-28-2006
Gleep
 
Posts: n/a
Default Re: help with mod_rewrite

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?
Reply With Quote
  #9 (permalink)  
Old 09-30-2006
bonfils
 
Posts: n/a
Default Re: help with mod_rewrite

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
Reply With Quote
  #10 (permalink)  
Old 10-01-2006
Gleep
 
Posts: n/a
Default Re: help with mod_rewrite

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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:15 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0