Jump to content

Search the Community

Showing results for tags '$_get'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • HTML/XHTML
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • XSLT/XSL-FO
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Calendars

  • Community Calendar

Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Languages

Found 3 results

  1. Same Page HTTP Request

    BACKGROUND: I have some PHP code that I would like to turn on and off from two different approaches: on the one hand, via an HTTP Request from a third-party domain; and on the other hand, via the href attribute of an HTML <a> tag on the same page. Under normal circumstances one might write something like case one. I am proposing cases two and three. Third Party Domain HTTP Request (CASE ONE): Podcast No. 3 <a href='www.grammarcaptive.com?hash=2348dd8we23jrkajddu&podcast_no=003' title='Podcast Overview' target='_blank'>Overview</a> Same Page HTTP Request (CASE TWO): Podcast No. 3 <a href='#podcast_003?hash=2348dd8we23jrkajddu&podcast_no=003' title='Podcast Overview' target='_blank'>Overview</a> Same Page HTTP Request (CASE THREE): Podcast No. 3 <a href='./?hash=2348dd8we23jrkajddu&podcast_no=003' title='Podcast Overview' target='_blank'>Overview</a> QUESTION ONE: If neither case two, nor three is permissible, how would you suggest to achieve the same goal. If either or both cases two or three are possible, which is preferable and why?
  2. OJBECTIVE: My goal is to send a $_GET or $_POST variable from an RSS feed when the user clicks on a link housed within the <description> subelement of an <item> tag. The data from the superglobal will be used to display content on a host webpage designed as an index for all <item>s hosted within the same and ultimately other channels. CODE SAMPLE: <item> . . <description>Grammar Captive Free Weekly Podcasts: <![CDATA[<a href='http://www.grammarcaptive.com/podcasting/podcasts.php?episode_no=003' title='Episode Title' target='_self'>Episode No. 003</a>]]></description> . . </item> QUESTION: Will by placing the link with the intended address and appended http request code into a CDATA tag allow users to send the desire episode number to the designated PHP page for processing. ADVANCED STRATEGY: If the above is possible, do you have any suggestions in regard to the best way for the receiving PHP page to call up the material relevant to the designated episode? For example, I am contemplating the use of a SWITCH statement that would route the incoming episode number to a block of PHP or Javascript code that would insert the contents of another webpage, whose URL is the episode number of the incoming HTTP_REQUEST, and whose content is dedicated to the episode corresponding to the incoming episode number, into another webpage (likely the same page that contains the SWITCH statement) that serves as an index for all completed and upcoming episodes. Roddy
  3. Hy everyone I would like to get some kind of input for a problem I have. I've got a page (A) wich calls an guestid and selects from the DB the data. Now, I wanna do a Page ( witch is a form Thing is, I need to bring the Guestid from page (a) to page ( - also need to have a new ID (ex. clientid) for the form So far I did it with $_GET['id']; in the page ( i got: $id= (isset($_GET['id']) && is_numeric($_GET['id'])) ? $_GET['id'] : 'new'; the thing is, by opening the form I loos the guestid which I need to reecall somehow. so that there will be at the end: $ID = 'new' $guestid = $guestid for any Inputs I would be more then pleased.
×