Get URL Code

How to use Get URL Code

Page 1 of 1

1 Replies - 7616 Views - Last Post: 09 February 2008 - 09:16 AM Rate Topic: -----

#1 teejaygirl818   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 07-February 08

Get URL Code

Post icon  Posted 07 February 2008 - 11:10 PM

I am a beginner working on modifying a script for my website. The script will send a URL to a mobile phone. I have "complied" a basic SMS script but would like to add the GetURL in a hidden field. My questions:
What is the basic code?
Is this it:
<form action="index2.php?option=com_content&amp;task=emailsend" name="frontendForm" method="post" onsubmit="return submitbutton();">


What goes in the client-side?
What goes in the server-side?

That's it...
Thanks much. :D


Is This A Good Question/Topic? 0
  • +

Replies To: Get URL Code

#2 SpaceMan   User is offline

  • D.I.C Addict
  • member icon

Reputation: 10
  • View blog
  • Posts: 507
  • Joined: 20-February 03

Re: Get URL Code

Posted 09 February 2008 - 09:16 AM

Just need a feild with the var to send, and pull it out when sending.

<form action="index2.php?option=com_content&amp;task=emailsend" name="frontendForm" method="post" onsubmit="return submitbutton();">
<input type="hidden" name="GetURL" value="<?php echo $GetURL; ?>">



on page posted to.
the array is post, and the feild name.
$_POST['GetURL']
add to the message content.

This post has been edited by SpaceMan: 09 February 2008 - 09:17 AM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1