Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Anyone Got Experience With Director and PHP?

Status
Not open for further replies.

ckennerdale

Programmer
Dec 23, 2000
158
GB
I am trying to set up a form in Director which send its contents to a recipient via email in PHP using mail().

Does anyone have expereince with this.

I am using 'postnettext' in Director and if I link it to a perl mail script (formmail.pl) everything works. But I need to be able to send attachments and have written a script in PHP which works fine with a normal html based form.

Is anyone aware of any potential pitfalls?

A problem that I see is that my srcipt is held in a function which calls global variables. With my html form, when it posts the variables the form has the same valu as my funtion and thus triggers it.

If my script is not 'wrapped' within a function is does not seem to trigger simply by posting the variable in director?!

Caspar Kennerdale
Senior Media Developer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top