Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 08-15-2006, 09:42 PM   #1
Chris
Too lazy to set a custom title
 
Chris's Avatar
 
Industry Role:
Join Date: May 2003
Location: icq: 71462500 Skype: Jupzchris
Posts: 27,880
php /form question

i want to create a link to
www.southernentawards.com/vote.php
that when they click some of the forms will already have text in em

what is the URL to do this

i've seen it before

it uses like the formfield names i want filed and with what text


thnx
__________________
[email protected]
Chris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-15-2006, 09:49 PM   #2
Chris
Too lazy to set a custom title
 
Chris's Avatar
 
Industry Role:
Join Date: May 2003
Location: icq: 71462500 Skype: Jupzchris
Posts: 27,880
please help me
__________________
[email protected]
Chris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-15-2006, 09:50 PM   #3
modF
Confirmed User
 
Join Date: Aug 2002
Posts: 1,888
You can just use something like

extract($_GET);

then in the value fields of your html code put <?=$passed_field;?>

That is if I'm understanding you properly.
__________________

I do things
skype:themodF
modF is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-15-2006, 09:53 PM   #4
Chris
Too lazy to set a custom title
 
Chris's Avatar
 
Industry Role:
Join Date: May 2003
Location: icq: 71462500 Skype: Jupzchris
Posts: 27,880
Hmm dont think we are on the same level

here is the code for for Internet radio personality of the year
Code:
<input type="text" id="internetradio_y" name="internetradio_y" value=""
i want to do something like when the click www.southernentawards.com/vote.php?id=internetradio"text to put in field"

and when they click that link it has the internet radio persnality of the year field already filled in with my "text to put in field" quote

remember this is NOT my site so i cant edit anything server side

was wondering if there was away to just pass info along thru the URL to the form fields
__________________
[email protected]
Chris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-15-2006, 09:54 PM   #5
mr stabby
Registered User
 
Join Date: Jul 2006
Posts: 25
yeah, what modF said.
mr stabby is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-15-2006, 09:57 PM   #6
modF
Confirmed User
 
Join Date: Aug 2002
Posts: 1,888
Quote:
Originally Posted by Chris
Hmm dont think we are on the same level

remember this is NOT my site so i cant edit anything server side
Ahh, well that's a horse of a different color. What you might try to do is setup a form on your site to post to their page. Either that one, or wherever that script posts to. Try filling it out a few times so it has errors to see what happens. If it kicks you back and the fields are already filled in than it should work. They may not even allow or turn on parsing of POST/GET on a voting page, as it is easy to get around.
__________________

I do things
skype:themodF
modF is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-15-2006, 10:01 PM   #7
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
Quote:
Originally Posted by Chris
Hmm dont think we are on the same level

here is the code for for Internet radio personality of the year
Code:
<input type="text" id="internetradio_y" name="internetradio_y" value=""
i want to do something like when the click www.southernentawards.com/vote.php?id=internetradio"text to put in field"

and when they click that link it has the internet radio persnality of the year field already filled in with my "text to put in field" quote

remember this is NOT my site so i cant edit anything server side

was wondering if there was away to just pass info along thru the URL to the form fields

the name is the variable so southernentawards.com/vote.php?id=internetradio should be

southernentawards.com/vote.php?internetradio=stuff

<input type="text" id="internetradio_y" name="internetradio_y" value="stuff">
__________________
hatisblack at yahoo.com
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-15-2006, 10:06 PM   #8
Chris
Too lazy to set a custom title
 
Chris's Avatar
 
Industry Role:
Join Date: May 2003
Location: icq: 71462500 Skype: Jupzchris
Posts: 27,880
Quote:
Originally Posted by SmokeyTheBear
the name is the variable so southernentawards.com/vote.php?id=internetradio should be

southernentawards.com/vote.php?internetradio=stuff

<input type="text" id="internetradio_y" name="internetradio_y" value="stuff">
yeah i want that kinda url
but i dont own that site so i cant change it

just tryin to save some people some time in filling out the form and they can just click and get a pre filled out option
__________________
[email protected]
Chris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-15-2006, 10:07 PM   #9
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
just do this copy paste

http://ytmnd.webspacemania.com/south/
__________________
hatisblack at yahoo.com
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-15-2006, 10:10 PM   #10
Chris
Too lazy to set a custom title
 
Chris's Avatar
 
Industry Role:
Join Date: May 2003
Location: icq: 71462500 Skype: Jupzchris
Posts: 27,880
you the man smokey
__________________
[email protected]
Chris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-15-2006, 10:10 PM   #11
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
whoops i put the wrong textbox , fixed now , should be ready to go, and it works too.
__________________
hatisblack at yahoo.com
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-15-2006, 10:11 PM   #12
Chris
Too lazy to set a custom title
 
Chris's Avatar
 
Industry Role:
Join Date: May 2003
Location: icq: 71462500 Skype: Jupzchris
Posts: 27,880
yup tested it ;-D bad ass
__________________
[email protected]
Chris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-15-2006, 10:11 PM   #13
Chris
Too lazy to set a custom title
 
Chris's Avatar
 
Industry Role:
Join Date: May 2003
Location: icq: 71462500 Skype: Jupzchris
Posts: 27,880
yup tested it ;-D bad ass
__________________
[email protected]
Chris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-15-2006, 10:12 PM   #14
Chris
Too lazy to set a custom title
 
Chris's Avatar
 
Industry Role:
Join Date: May 2003
Location: icq: 71462500 Skype: Jupzchris
Posts: 27,880
holy fucking gfy gerbals
__________________
[email protected]
Chris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-15-2006, 10:22 PM   #15
BradM
Confirmed User
 
Join Date: Dec 2003
Location: 1123,6536,5231
Posts: 3,397
I'm sorry but I am confused as to how someone can even exist in this industry without knowing how to pass a variable. How can you operate on a day to day basis not knowing what the very first example in most php books is?

I'm not saying everyone needs to be a professional programmer, but come on.
BradM is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-15-2006, 10:27 PM   #16
Chris
Too lazy to set a custom title
 
Chris's Avatar
 
Industry Role:
Join Date: May 2003
Location: icq: 71462500 Skype: Jupzchris
Posts: 27,880
Quote:
Originally Posted by BradM
I'm sorry but I am confused as to how someone can even exist in this industry without knowing how to pass a variable. How can you operate on a day to day basis not knowing what the very first example in most php books is?

I'm not saying everyone needs to be a professional programmer, but come on.
bite me myspace boy :D

I have never claimed to be a programmer my any means

not knowing it cost me more sure but i really dont need it
__________________
[email protected]
Chris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-15-2006, 10:27 PM   #17
heywood
So Fucking Banned
 
Join Date: Jun 2003
Location: Wilsonville, Oregon
Posts: 468
Quote:
Originally Posted by BradM
I'm sorry but I am confused as to how someone can even exist in this industry without knowing how to pass a variable. How can you operate on a day to day basis not knowing what the very first example in most php books is?

I'm not saying everyone needs to be a professional programmer, but come on.

I was kind of thinking the same thing. It really helps your position greatly to know some of this basic stuff.

I have a few "starters" who are still asking dumb html questions even.
heywood is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-15-2006, 11:56 PM   #18
donross
Confirmed User
 
Join Date: Aug 2005
Posts: 1,295
every programmer had experienced this kind of situation... especially when you're just a newbie... asking question is the best way to learn... but for me i google it...
__________________
Email: [email protected] | Skype: ross.alcazar
donross is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.