Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 05-05-2006, 05:49 PM   #1 (permalink)
NevadaSam
Registered User
 
Join Date: May 2006
Posts: 1
NevadaSam is on a distinguished road
Jump to a sub Function from a link????

Jump to a sub Function from a link????

http://mysite.com/cgi-bin/myscript.cgi (Jump to sub function)

Is there a way this can be done (either from a link, a JavaScript or the address window) that you can perform a desired user defined function within a subscript. I am using the

if ($ENV{'REQUEST_METHOD'} eq "POST")

method in the script to have it to perform two functions already depending on if a "submit" button was clicked in a form or if a direct link to the cgi scrip was clicked. Is there a way to have more control of which function the script will perform from outside the script.

Thanks for any replies.
Samantha
NevadaSam is offline   Reply With Quote
Reply

Bookmarks

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP5 Tips and tricks DJMaze PHP 11 05-20-2006 05:32 PM
php $_POST with multiple hidden form elements madhumati PHP 2 03-19-2006 07:26 AM
change the empty function from the old format to the new format powah All Other Coding Languages 1 07-10-2005 01:23 PM


All times are GMT -8. The time now is 10:59 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting