Forum Moderators: phranque

Message Too Old, No Replies

open file in my cgi-bin?

         

kslnor

11:22 pm on Aug 9, 2006 (gmt 0)

10+ Year Member



Here's a (probably) simple question, that I cannot seem to answer for myself: I have a form on my website - created by my former developer - which contains a submit button. I am attempting to determine the email address to where the form is sent upon "submitted". The email address is not indicated within the sourcecode, but a cgi.bin string is. I have a cgi-bin on my host server that contains some files that are related to the form. I would like to look at (and possibly change) some info. within these files but I cannot seem to be able to open the files. Any ideas how I can go about doing so...or better yet how can I change the email recipient of the form? Any help is greatly appreciated.

Badger37

1:07 pm on Aug 10, 2006 (gmt 0)

10+ Year Member Top Contributors Of The Month



The email address is most likely contained within one of the files.

Open the files with a text editor (Notepad for example). It may be easier to download the files to your PC first.

kslnor

6:16 pm on Aug 10, 2006 (gmt 0)

10+ Year Member



Thank you for your reply. You were correct, the email address was contained within one of the file. I must have had a brain lapse or something.

Another related question: My employer's website contains a "contact us at info@#*$!.com for more information", with the "href="mailto:info@#*$!.com" anchor. I would like to change the email recipient but I dread the thought of changing the ahref on all 400+ pages. I scoured the files pertaining to the site but could not locate a script that universally changes the recipient. Any suggestions as to how I can simplify this task? Thank you.

Badger37

9:41 am on Aug 11, 2006 (gmt 0)

10+ Year Member Top Contributors Of The Month



You can use a text editor (Notepad++ for example) that can change multiple pages with one click.

Even MS Frontpage can change the same bit of text on all your pages - Use the Find/Replace function.

TerryG

10:05 am on Aug 11, 2006 (gmt 0)

10+ Year Member



naw man go get SR32 from [funduc.com...]
this thing can scan ya whole drive for a target item and replace it , even if its in a 1000 places..

kslnor

12:32 pm on Aug 11, 2006 (gmt 0)

10+ Year Member



I guess maybe I don't really want to change the email address on every page (sorry). Specifically I would like a script I can put on the web server that will forward emails to a particular address when a visitor clicks the "info@#*$!.com" email link. I hope this makes sense. Thanks