Go Back   Gaming Gutter > Non-Gaming > Programming


Programming - All general programming discussion in here.

» Site Navigation
» Home
» FAQ
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Advertisement
» Recent Threads
Go to first new post How many of you got iced...
Today 09:07 PM
Last post by ragefury
Today 11:08 PM
4 Replies, 5 Views
Go to first new post Keeping my ACC SAFE?
Today 05:32 PM
Last post by cookieface
Today 11:07 PM
4 Replies, 5 Views
Go to first new post When TNT Chain freezes...
08-21-2008 04:02 AM
by Bry4n
Last post by txcasey
Today 11:04 PM
15 Replies, 16 Views
Go to first new post mOBSCENE's Score Sender...
07-22-2008 09:44 AM
Last post by Lanbo
Today 10:59 PM
97 Replies, 98 Views
Go to first new post [selling] Rare pets
Today 12:25 AM
Last post by qtpie
Today 10:54 PM
22 Replies, 23 Views
Reply
 
LinkBack Thread Tools Display Modes

 Using a function as the action of a form?
Old 01-26-2008, 11:46 AM   #1 (permalink)
Googlrr Googlrr is offline Gender Male
 
Googlrr's Avatar
 
Googlrr is offline
Join Date: Oct 2006
Location: New Hampshire?
Posts: 6,541
iTrader: 0 / 0%
Googlrr Is a Party CaptainGooglrr Is a Party CaptainGooglrr Is a Party Captain
Rep Power: 16
Using a function as the action of a form?

Is it possible? Something like

<form action="function()">

?


edit: I should probably mention that I'm working with PHP here.
__________________

Li-Shun is a god. ^


hatzganatta is awesome too ^^

Last edited by Googlrr; 01-26-2008 at 11:48 AM.
  Reply With Quote

 
Old 01-26-2008, 11:56 AM   #2 (permalink)
second2none second2none is offline Gender Male
Underground
 
second2none is offline
Join Date: Sep 2006
Location: BrisBANE <----
Age: 19
Posts: 5,023
iTrader: 1 / 100%
second2none Is a Party Captainsecond2none Is a Party Captainsecond2none Is a Party Captain
Rep Power: 15
lawl thought you wanted JS Ill look fro PHP XD
__________________
This is from:
Screenies Of A Mod
Code:
How did you do it? FLP , jotform, some other form of hacking? - First Class Noob
Lawl.. funny shit.

Quote:
Originally Posted by Kore
By k[ore] on Today, 08:44 AM
i'll give you rep alright, but it won't be positive.
Lawl Ownt

Hoes forgot to eat a dick and shut the FUCK UP!
  Reply With Quote

 
Old 01-26-2008, 12:03 PM   #3 (permalink)
mmtmatt mmtmatt is offline
Underground
 
mmtmatt's Avatar
 
mmtmatt is offline
Join Date: Dec 2007
Posts: 174
iTrader: 0 / 0%
mmtmatt Is a New Face in Town
Rep Power: 0
hmm fasenating,it might be
  Reply With Quote

 
Old 02-01-2008, 03:59 PM   #4 (permalink)
Alex
Guest
 
Posts: n/a
iTrader: 0 / 0%
Rep Power:
Make a script named alex.php
Code:
<?php
if ($_GET['act'] == 'submit') {
     echo FunctionName();
     exit;
}

function FunctionName(); {
      */
            PHP Coding Goes Here
       /*
}

?>

<form action="alex.php?act=submit" method="post">
blah
</form>
  Reply With Quote

 
Old 02-01-2008, 04:01 PM   #5 (permalink)
Alex
Guest
 
Posts: n/a
iTrader: 0 / 0%
Rep Power:
I can't edit post. Anyways, I screwed up the commenting tags. Reverse them. You could do it all in javascript if you wanted to use ajax as well.
  Reply With Quote

 
Old 02-01-2008, 05:16 PM   #6 (permalink)
Googlrr Googlrr is offline Gender Male
 
Googlrr's Avatar
 
Googlrr is offline
Join Date: Oct 2006
Location: New Hampshire?
Posts: 6,541
iTrader: 0 / 0%
Googlrr Is a Party CaptainGooglrr Is a Party CaptainGooglrr Is a Party Captain
Rep Power: 16
Quote:
Originally Posted by Alex View Post
I can't edit post. Anyways, I screwed up the commenting tags. Reverse them. You could do it all in javascript if you wanted to use ajax as well.
Thanks for the help! If Ryan didn't fuck up your account I would give rep >.<
__________________

Li-Shun is a god. ^


hatzganatta is awesome too ^^
  Reply With Quote
Reply

Bookmarks



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Powered by vBadvanced CMPS v3.0 RC2

All times are GMT -7. The time now is 11:15 PM.


vBulletin skin developed by: eXtremepixels
The contents of this webpage are copyright © 2006-2008 GamingGutter.com. All Rights Reserved.

Page generated in 0.19116902 seconds (100.00% PHP - 0% MySQL) with 19 queries