Using php

2004-02-17 Thread Shari
The .php suggestion sounded good as I'd already had a .php script doing something else. It was a great plan. But failed on one count. The .php script can dynamically insert a person's name onto a web page, to personally thank them or whatever. But for my Metacard script to go to that web

Re: Mail

2004-02-17 Thread Shari
have you tried using libSmtp? or even rolling something of your own? SMTP is a very simple protocol, and if you need a hand (either writing your own or with libSmtp) feel free to contact me.. -Sean Sean, I will take you up on that offer. I have your scripts already edited to account for things

Re: The Get-Post option...

2004-02-17 Thread Shari
I think what you are looking for is an FTP upload? post userList to url http://www.someurl/list.txt; There are more than two methods, e.g. GET and POST. There are also other methods which get much less press than the two former ones. The PUT method, for instance, allows one to store content on

Testing New Software

2004-02-17 Thread Ray Horsley
Does anybody know anyone who specializes in test driving new software to expose bugs? Ideally we'd like to find somebody with multiple platforms who can test a new Metacard app running simultaneously with various security programs such as MacManager, At Ease, Full Proof, Deep Freeze, and

Announcement : IBook Ice 2.2 Apple's video-chipster extention of garantie to 3 years

2004-02-17 Thread Pierre Sahores
Le mar 17/02/2004 à 07:49, Chipp Walters a écrit : Thanks both Pierre and Alain! best, Chipp ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard You welcome, Chipp :-) In between : All the owners

PHP versus CGI

2004-02-17 Thread Alain Farmer
Hello Shari, Using .php to mail something is another option. Though I'm not sure how that would differ from cgi. They accomplish the same goal, e.g. web pages generated and customized ondemand, but there are major differences some of which I enumerate here : * PHP is widely-used and popular

Re: Using php

2004-02-17 Thread Brian Yennie
Shari, If you control the php script, you can always return simple HTML than will render using a field's htmlText property, and display that. You can also just search for the name in the HTML. HTH, Brian The .php script can dynamically insert a person's name onto a web page, to personally

Re: PHP versus CGI

2004-02-17 Thread Brian Yennie
FWIW, PHP sometimes _is_ run as a CGI script. It's not the norm, but PHP is just the language. The advantage that PHP, Perl and others have it that they have commonly installed web-server modules installed, which is basically a built-in CGI. - Brian * PHP is widely-used and popular ; * PHP

RE: PHP versus CGI

2004-02-17 Thread Ken Ray
* PHP deals with many of the intricit details ; Can you elaborate? What kind of details? And did you mean intrinsic or explicit? ;-) * PHP is safer than CGI unless you add a lot to CGI ; Actually, MC CGIs are probably the most secure as they will only run scripts that are in the cgi-bin

RE: PHP versus CGI

2004-02-17 Thread Alain Farmer
* PHP deals with many of the intricit details ; Did you mean intrinsic or explicit? ;-) Intricate, e.g. a large number of small details. Can you elaborate? What kind of details? With PHP, all the web-form's elements are automatically assigned to variables, with variable names with the same

Re: PHP versus CGI

2004-02-17 Thread J. Landman Gay
On 2/17/04 4:53 PM, Ken Ray wrote: Actually, MC CGIs are probably the most secure as they will only run scripts that are in the cgi-bin folder with the engine. You can't send it a script to run from the outside, so it will only do what it has been preprogrammed to do. Or at least that's my

Re: PHP versus CGI

2004-02-17 Thread Brian Yennie
I think the mitigating factor here that's being missed somewhat (although many of the point raised are valid), is that all of these setups are mostly dependent on a properly-configured webserver. If you configure things in a secure fashion, someone can write the most malicious of CGIs and it

Re: PHP versus CGI

2004-02-17 Thread Alex Rice
On Feb 17, 2004, at 5:07 PM, Brian Yennie wrote: Bad configurations make modules and CGIs both a potential hazard, good configurations make it nearly impossible to do any harm with either. Exactly my thoughts, Brian. All other things equal, security of a metacard CGI script is no different than

Re: PHP versus CGI

2004-02-17 Thread Alex Rice
On Feb 17, 2004, at 4:32 PM, Alain Farmer wrote: With PHP, all the web-form's elements are automatically assigned to variables, with variable names with the same name as the corresponding form-item, such that you can use them immediately in your script without any hassle whatsoever. Unfortunately

Re: PHP versus CGI

2004-02-17 Thread Shari
Right. The only way it could become insecure is if you specifically programmed insecurity into it. For example, a CGI that takes the parameters that are passed and does them. Anyone who writes something like that, though, probably deserves whatever they get. ;) -- Jacqueline Landman Gay Does

Re: Using php

2004-02-17 Thread Shari
Shari, If you control the php script, you can always return simple HTML than will render using a field's htmlText property, and display that. You can also just search for the name in the HTML. HTH, Brian The .php script can dynamically insert a person's name onto a web page, to personally

Re: Using php

2004-02-17 Thread Alex Rice
On Feb 17, 2004, at 8:16 PM, Shari wrote: Am I missing something? Sounds like you are getting the file off the filesystem instead of via http. Try getting the URL get URL http://your-site.com/your.php; Then you will get the content after PHP is done processing it. If you do get your.php then

Re: Using php

2004-02-17 Thread [EMAIL PROTECTED]
Sounds like you are getting the file off the filesystem instead of via http. Try getting the URL actually she is getting the url, but due to the fact that she's not passing the same information to the PHP page, she's just getting the default HTML text instead of the updated HTML text.. all

Re: Using php

2004-02-17 Thread Alain Farmer
Hello, I need to be able to get what is displayed, not the raw HTML behind it. You are in quite a pickle in this case because MetaCard cannot display raw-HTML as what is displayed in a HTML browser. As I've suggested many many times to Scott, we would need is a player component in the

Re: PHP versus CGI

2004-02-17 Thread Alain Farmer
Welcome to the fray Alex, However, I've never used libCGI for MC so 'scuse me for butting in :-) OTC, please join us. :) Alain __ Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. http://antispam.yahoo.com/tools