Forum Moderators: coopster

Message Too Old, No Replies

Modifying php script

         

Princessjo

9:44 am on Nov 5, 2003 (gmt 0)

10+ Year Member



I'm brand new to PHP and want to modify a script which my hosting company has provided (formmail.pl) on their servers. I want to insert the email where the form is sent to. I am using Dreamweaver to modify my HTML.

How do I open the script and modify it?

ukgimp

9:47 am on Nov 5, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Can you see it, can you get to it and are you allowed to alter te script.

If yes, you may need to open that on in notepad. Make the changes and upload. Somethings are better loaded in notepad.

cheers

Princessjo

10:00 am on Nov 5, 2003 (gmt 0)

10+ Year Member



Yes I can see it in notepad. Support told me to modify "line 39" but in notepad there's no distinguishing what number lines there are. Will I just go in and see if I can find the array for @referers = and modify that, upload it onto the server?

ukgimp

10:10 am on Nov 5, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



that is one problem with nopepad. Have you tried opening it in DW?

Could you add a file type that is supports

[macromedia.com...]

coopster

12:25 pm on Nov 5, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



You can open any text file in DW. Just use File -- Open and change the Files of type to All Files.

I would like to point something else out to you, Princessjo.

formmail.pl
is a Perl script, not PHP. I'm not sure if you are aware of this, but I wanted to clarify.