Re: [PHP] PHP Editor - which to use?

2003-09-24 Thread Kevin Bruce
FYI- New to this list but have been a php coder for 2 years.

I know a lot of you out there are going to groan inwardly, but I use
Dreamweaver, mainly because that's what I used since it's inception when I
was writing static sites. I use OSX for my writing platform and occasionally
use BBedit as well. If someone could point out a better PHP editor for the
Mac, please speak up:) BTW- Dreamweaver has pretty decent PHP highlighting.

I started out as a pure designer but got into the web and have since been a
moderate code writer, so cut me some slack if my methods are not standard;)

Whether or not it is proper form, I use the following format:

if($conditional)
{
some code;
}
else
{
if($subconditional)
{
subsome code;
}
else
{
subsome alternate code;
}
}

---
iChat screen name- mdsgkevin

> * Thus wrote Robert Cummings ([EMAIL PROTECTED]):
>> *COUGH* *COUGH* EVERY REAL coder knows that you have to use the
>> following brace style for your code to be accepted into the l33t
>> hierarchy of [EMAIL PROTECTED]:
>> 
>> if( $pos_params != false )
>> {
>> $back_url = substr( $HTTP_GET_VARS['origin'], 0, $pos_params );
>> 
>> $back_url_params =
>> substr( $HTTP_GET_VARS['origin'], $pos_params + 1 );
>> }
>> else
>> {
>> $back_url = $HTTP_GET_VARS['origin'];
>> $back_url_params = '';
>> }
> 
> cat | realprogrammer
> 
> if( $pos_params != false ) {
> 
> $back_url = substr( $HTTP_GET_VARS['origin'], 0, $pos_params );
> $back_url_params =
> substr( $HTTP_GET_VARS['origin'], $pos_params + 1 );
> 
> } else {
> 
> $back_url = $HTTP_GET_VARS['origin'];
> $back_url_params = '';
> 
> }
> 
> cat | realprogrammer | in_a_rush
> 
> if($p) {
> $bu = substr( $_GET['o'], 0, $p );
> $bup = substr( $_GET['o'], ++$p );
> } else {
> $bu = $_GET['o'];
> $bup = '';
> }
> 
> :)
> 
> Curt

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP Editor - which to use?

2003-09-24 Thread Kevin Bruce
Thanks:) I'll give BBedit a go for a week and let you know how it turns out.
Yes, Dreamweaver does sucketh much, but it's great for hashing out the page
(WYSIWYG style) then tweeking the code. I Hate (capital H) hand typing
nested tables.*  :P

*Hwat the hell do I need typing for, I'm going to be an
illustrator!

> THE best text/code editor in this planet is BBEdit. No questions about
> it.  It is a pitty it only runs on Macs.  I have used it to write text,
> code fortran, pascal, c, c++, html, css and php (among others). It is
> great, I love it.  Kudos to Bare Bones!  Great find/replace utility.
> Incredible adaptation to your needs.  Owesome syntax coloring.  Terminal
> included.  FTP, mail, telnet, terminal, macro, perl included.  Try it, now!
> 
> Cesar
> 
> (If any one cares, I also think that Dreamweaver Sucks!, big Time,
> capital "S")
> 
> Kevin Bruce wrote:
> 
>> FYI- New to this list but have been a php coder for 2 years.
>> 
>> I know a lot of you out there are going to groan inwardly, but I use
>> Dreamweaver, mainly because that's what I used since it's inception when I
>> was writing static sites. I use OSX for my writing platform and occasionally
>> use BBedit as well. If someone could point out a better PHP editor for the
>> Mac, please speak up:) BTW- Dreamweaver has pretty decent PHP highlighting.
>> 

-- 
Kevin Bruce
Educational Web Designer
VIP K-16 Grant
http://www.scienceinquiry.org
[EMAIL PROTECTED]
Maryland Sea Grant College
4321 Hartwick Road, Suite 300
College Park, MD 20740
301.403.4220 ext. 25
OR (on Wednesdays and Fridays)
717.637.5370

AOL Instant Messenger screen name- mdsgkevin

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Does the AOL browser break any standards?

2003-09-29 Thread Kevin Bruce
Well, I'm not sure about any particular standards, but I do know that it
views web pages with CSS wrong. I have a client that uses AOHELL and the
font sizes blow up to about 5 +50. REALLY annoying. I hope that helps a
little:P

>> Aside from it being OT, how can you expect anyone to help, if even you don't
>> know (can't describe) what the problem is?
> 
> Well I was mostly looking for known issues.  For instance IE has some
> problems if you try and do certain things, so I figured AOL's browser
> might do the same.  For instance, a problem with CSS, HTML 4, XHTML, or
> something like that.
> 
> -Dan

-- 
Kevin Bruce
Educational Web Designer
VIP K-16 Grant
http://www.scienceinquiry.org
[EMAIL PROTECTED]
Maryland Sea Grant College
4321 Hartwick Road, Suite 300
College Park, MD 20740
301.403.4220 ext. 25
OR (on Wednesdays and Fridays)
717.637.5370

AOL Instant Messenger screen name- mdsgkevin

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Central authentication for multiple sites

2003-09-29 Thread Kevin Bruce
Maybe you could go off of a timestamp in a last_visited, last_visitedIP
fields. If it was less than 10 minutes ago, then they can move on. This, of
course, would mean you'd have to add some UPDATE last_visited,
last_visitedIP code at the header of every page (or on a common included
header). Hmm... It wouldn't be foolproof, though<:P

> Hi,
> 
> Does anyone know of a way to authenticate a person on one site and have that
> authentication carried through to multiple sites?
> 
> Basically I'd like to have someone login on www.domain1.com and then have
> their login be valid on www.domain2.com and www.domain3.com ... the domain
> name is different so I don't see how I could use a common cookie.
> 
> The 3 sites in question are hosted on a common server with a common user
> database if that helps but still the domain names that people access the
> sites with are unique.
> 
> Any ideas?
> 
> Thanks!

-- 
Kevin Bruce
Educational Web Designer
VIP K-16 Grant
http://www.scienceinquiry.org
[EMAIL PROTECTED]
Maryland Sea Grant College
4321 Hartwick Road, Suite 300
College Park, MD 20740
301.403.4220 ext. 25
OR (on Wednesdays and Fridays)
717.637.5370

AOL Instant Messenger screen name- mdsgkevin

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Congratulations You Win

2003-10-08 Thread Kevin Bruce
WOW! who's ALREADY jumped on this??? I can't wait to give him my bank
account #!!! I'm going to be RICH!
;)

> WTF is this?
> - Original Message -
> From: Francis Weeny
> To: [EMAIL PROTECTED]
> Sent: Wednesday, October 08, 2003 10:30 PM
> Subject: [PHP] Congratulations You Win
> 
> 
> SUNSWEETWIN PROMO LOTTERY,THE NETHERLANDS.
> ALFONSTRAAT B56, 
> 1002 BS AMSTERDAM, THE NETHERLANDS.
> TO THE MANAGER 
> FROM: THE DESK OF THE PROMOTIONS MANAGER,
> INTERNATIONAL PROMOTIONS/PRIZE AWARD DEPARTMENT,
> REF: OYL /26510460037/02
> BATCH: 24/00319/IPD
> ATTENTION: 
> RE/ AWARD NOTIFICATION; FINAL NOTICE
> We are pleased to inform you of the announcement
> today,  7th October2003 of winners of the SUNSWEETWIN PROMO
> LOTTERY,THE 
> NETHERLANDS/ INTERNATIONAL, PROGRAMS held on 28th August 2003
> 
> Your company,is attached to ticket number
> 023-0148-790-459, with serial number 5073-11 drew
> the lucky numbers 43-11-44-37-10-43, and consequently
> won the lottery in the 3rd category.
> You have therefore been approved for a lump sum pay
> out of US$5,500.000.00 in cash credited to file REF
> NO. OYL/25041238013/02. This is from total prize money
> of 
> US$80,400,000.00 shared among the seventeen
> international winners in
> this category. All participants were selected through
> a computer 
> ballot
> system drawn form 25,000 names from Australia, New
> Zealand, America, Europe, North America and Asia as
> part of 
> International Promotions Program, which is conducted
> annually. 
> CONGRATULATIONS! 
> Your fund is now deposited with a Security company
> insured in your name. Due to the mix up of
> some numbers and names, we ask that you keep this
> award strictly 
> from 
> public notice until your claim has
> been processed and your money remitted to your
> account. 
> This is part of our security protocol to avoid
> double claiming or unscrupulous acts by participants
> of 
> this program.  
> We hope with a part of you prize, you will
> participate in our end of year high stakes US$1.3
> billion 
> International Lottery.
> To begin your claim, please contact your claim
> agent; Mr Francis weeny at this email address below.
> [EMAIL PROTECTED]
> For due processing and remittance of your prize
> money to a designated account of your choice.
> Remember, all prize money must be claimed not later
> than 17th October 2003. After this date, all funds will
> be returned as unclaimed.
> NOTE: In order to avoid unnecessary delays and
> complications, please remember to quote your
> reference and batch numbers in every one of your
> orrespondences with your agent.
> Furthermore, should there be any
> change of your address, do inform your claims agent
> as soon as possible.
> Congratulations again from all our staff and thank
> you for being part of our promotions program.
> 
> Sincerely, 
> Clark Wood
> THE PROMOTIONS MANAGER, SUNSWEETWIN PROMO LOTTERY,THE
> NETHERLANDS.
> NB. Any breach of confidentiality on the part of
> the winners will result to disqualification.
> SORRY FOR THE LATE INFORMATION THANKS
> CLARK  WOOD
> 
> 
>  
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

-- 
Kevin Bruce
Educational Web Designer
VIP K-16 Grant
http://www.scienceinquiry.org
[EMAIL PROTECTED]
Maryland Sea Grant College

AOL Instant Messenger screen name- mdsgkevin

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php