PDA

View Full Version : regarding mail form in html file



nydr
December 26th, 2004, 10:36 AM
I have my mail form code in the .html file with the form itself and in the action of the form i have action="<? echo($PHP_SELF) ?>" so that it uses the php from the file for the script.
But when someone goes to that page it runs through the mail form and sends a mail to the email address. Do I use isset function for things like this? Do I use an if statement with submit i tried that and it didn't work.

nydr
December 26th, 2004, 10:37 AM
Data Recovery New York

Phone Number: (888) 275-2684
Click To View Our Website: http://www.micronixpc.com

Call Us at (888) 275-2684 - We can save your information!.

*We are THE recovery experts!*



We specialize in recovering "lost" data from various types of media including hard drives, floppy disks, digital memory cards, zip disks, jaz disks, CD's, backup tapes and much more. We can also recover your information from nearly any operating system, including Windows XP, 2000, NT, ME, 98, 95, all Mac Operating Systems (OS X, OS 9, OS 8), linux, unix, and many more. Our offices are located in NY. We can help with Data Recovery New York NY. If you are local, call us at (888) 275-2684.


Click To See More Information On Data Recovery New York


Nobody Can Beat Our Service

We Offer Free Pickup and Delivery in Most Areas

Our Successful Recovery Rate Is About 90% On All Media

We Have Very Competitive Recovery Rates (Most are about $500)

We Have A Very Fast Turn Around Time (24-48hrs in most cases)

We Have A Very Knowledgeable Staff

We Have All Of The Equipment Necessary For Any Recovery You May Need

We Help Businesses AND Individuals

Some Of Our Clients Include the NYPD, Columbia University, NYU, Visiting Nurse Service, and many more!


We are here to help you with what you are looking for - data recovery new york
You've come to the right place for data recovery new york.
We have Class 100 Clean Room equipment enabling us to recover data in even some on the most disastrous situations. We would be happy to answer any questions that you may have regarding your media. We can't reliably diagnose any media over the phone, but if you tell us about your situation, we can give you an idea of how likely it may be to recover your files. Data Recovery New York is always avalible for you.


--------------------------------------------------------------------------------
Our Recovery Office Address in NY Is:

Please mail your media to the below address with $100 for the evaluation fee, and your contact information so that we may help you.

Micronixpc
545 Eighth Ave
Suite 401
New York, NY 10018
(888) 275-2684


--------------------------------------------------------------------------------


List Of Recoverable Media (Call Us If Not On List)

Hard Drives (IDE, SCSI, and RAID) - Fujitsu, Maxtor, Quantum, Seagate, IBM, Samsung, Western Digital, And many more.

Flash Media - Secure Digital cards, Smart Media cards, IBM Micro-drives, Secure Digital/Multi-Media Card (SD/MMC), Compact Flash cards, Notebook computers memory cards, laptop cards, MP3 Player cards, PDA's memory, Portable medical equipment media, cell phones memory, digital camera memory cards, photo printers and more.

Tape and Other Backup Media - Optical Drives and Media, DLT Tapes (DLT 260, DLT 600, DLT 2000, DLT 2000XT, DLT 4000, DLT 7000, DLT 8000, DLT 1, SDLT 220) 8mm DAT (8200, 8200C, 8200XL, 8500, 8500C, 8500XL, Mammoth-LT, Mammoth, Mammoth-2) 4mm DAT (DDS, DDS-DC, DDS-2, DDS-3, DDS-4), Floppy Diskettes, SyQuest Cartridges, ¼" Cartridge (QIC Mini format) (DC 2000, DC 2060, DC 2080, DC 2120, DC 2120XL, DC 2120EX, MC 3000, MC 3020, MC 3080, MC 3080 Wide, MC 3095 Wide, Travan 1, Travan 2, Travan 3, Travan 4, Travan 5, Ditto Max 3GB, Ditto Max 5GB, Ditto Max 7GB, Ditto Max 10GB, Aiwa Bolt 6.6 GB, Aiwa Bolt 10GB, Superstation 6.6GB, Superstation 10GB, C4429 - HP 5GB, C4436 - HP 14GB), ¼" Cartridge (QIC Full-size format) (DC 600A, DC 6150, DC 6250, DC 6525, DC 9100, DC 9120, DC 9200, DC 9250, DC 9500, SLR5, SLR24, SLR32, SLR50, SLR100), Iomega Zip, Jaz and Ditto, and any other media type not listed.





--------------------------------------------------------------------------------
If you live in any of the following areas, you are close to our offices:
New York City (NYC), Queens, Brooklyn, Manhattan, Bronx, Staten Island, Long Island (LI), New Jersey (NJ), Astoria, Bayside, Bayswater, Flushing, Beechurst, Bell Harbor, Bellaire, Bellerose, Breezy Point, Briarwood, Broad Channel, Cambria Heights, City Line, College Point, Corona, Cypress Hills, Douglaston, East Elmhurst, East New York, Edgemere, Elmhurst, Far Rockaway, Floral Park, Forest Hills, Fort Tilden, Fresh Meadows, Glen Oaks, Glendale, Hamilton Beach, Long Island, Highland Park, Hillcrest, Hollis, Hollis Hills, Holliswood, Holliswood Estates, NJ, Howard Beach, Jackson Heights, Jamaica, Jamaica Estates, Jamaica Hills, Kensington, Kew Gardens, Kew Gardens Hills, Laurel Hill, Laurelton, Lindenwood, Little Neck, Long Island City, Malba, Maspeth, Middle Village, New Hyde Park, Oakland Gardens, Queens, Ozone Park, Park Slope, Queens Village, Rego Park, Richmond Hill, Ridgewood, Long Island, Rochdale, nyc, Rockaway Park, Rosedale, South Ozone Park, nyc, Seaside, Springfield Gardens, St. Albans, Sunnyside, Wakefield, Whitestone, Woodhaven, New York City, Woodside, Downtown, East Side, Midtown, Upper Manhattan, New Jersey, West Side, Albertson, Atlantic Beach, Baldwin, Baldwin Harbor, Bar Harbor, Bay Park, Bayville, Bellerose Terrace, Bellerose Villages, Bellmore, Bethpage, Biltmore Shores, Brookville, LI, Carle Place, Cedarhurst, nyc, Center Island, Cove Neck, nyc, East Atlantic Beach, East Massapequa, East Rockaway, East Williston, East Hills, East Meadow, East Norwich, Elmont, Farmingdale, Flower Hill, Franklin Square, Freeport, Long Island, Garden City, NYC, Garden City Park, Gibson, Brooklyn, Glen Cove, Glen Head, Glenwood Landing, Great Neck, Greak Neck Estate, Great Neck Plaza, Greenvale, Harbor Green, Harbor Green Estate, Long Island, Harbor Hills, nyc, Harbor Isle, Hempstead, Herricks, Hewlett, Hewlett Bay Park, Hewlett Harbor, Hewlett Neck, Hicksville, Inwood, Jericho, Kings Point, NY, Lake Success, Lakeview, Lattingtown, Laurel Hollow, Lawrence, Levittown, Bronx, Queens, Lido Beach, Locust Grove, Locust Valley, Long Beach, Long Island, Manhattan, Lynbrook, Malverne, Manhasset, in nyc, Manhasset Hills, Manorhaven, Massapequa Park, Massapequa Shores, Matinecock, Meadowmere Park, Merrick, Mill Neck, Mineola, Munsey Park, Muttontown, Nassau Point, Nassau Shores, New Cassel, NY, New Hyde Park, North Hills, Oceanside, Long Island, Old Bethpage, Old Brookville, Old Harbor Green, Plainview, Plainedge, Plandome, Long Island, Plandome Heights, Port Washington, Roslyn, Uniondale, Williamsburg, Bushwick, Brooklyn Heights, Cobble Hill, Red Hook, Carroll Gardens, Fort Greene, nyc, Bedford Stuyvesant, Gowanus, Prospect Heights, Weeksville, Ocean Hill, East New York, Brownsville, Windsor Terrace, Rugby, New Lots, Spring Creek, Sunset Park, Long Island, Long Island, Kensington, Canarsie, Starrett City, nyc, Borough Park, Flatbush, East Flatbush, Midwood, Dyker Heights, Fort Hamilton, Bensonhurst, Ocean Parkway, Marine Park, Mill Basin, nyc, Bath Beach, Gerritsen Beach, Sheepshead Bay, Sea Gate, Coney Island, nyc, Brighton Beach, Manhattan Beach, New York City.

RushScripting
December 28th, 2004, 04:52 PM
I am taking it as your php code that actually does the emailing is running instead of the form showing? Well that is what i got from it and yes you could use an isset() to check for a submit.



if( isset($_POST['name of button']) ){

//CODE HERE

}


You would want to change the name of button to the name of the submit button. I hope this help ^_^

aknatn
December 28th, 2004, 11:29 PM
Yes, use isset, but I think you syntax is wrong in the form action, I believe it is:

action="<?=$PHP_SELF?>"

teiz77
December 29th, 2004, 05:16 AM
Yes, use isset, but I think you syntax is wrong in the form action, I believe it is:

action="<?=$PHP_SELF?>"

if you want to doe it the official way it must be:

action="<? echo $_SERVER['PHP_SELF']; ?>"

aknatn
December 29th, 2004, 01:04 PM
@Teiz77 - Hmm... will it work the way he had it?

teiz77
December 29th, 2004, 02:35 PM
@Teiz77 - Hmm... will it work the way he had it?

I think (not exactly sure) your way won't work with php5...

aknatn
December 29th, 2004, 02:46 PM
Interesting, thanks for the side note, I am still using 4.3.7 I use

action="<?=date('blah blah')?>"
for date stamps, will that still work that way?

teiz77
December 30th, 2004, 05:57 AM
yeah that will still work. The predefined constants like $PHP_SELF are changed.