Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #14524

Re: can one link reference two seperate files?

From Matthew Carter <m@ahungry.com>
Newsgroups comp.lang.php
Subject Re: can one link reference two seperate files?
Date 2014-11-10 12:10 -0500
Organization Ahungry (http://ahungry.com)
Message-ID <87h9y7vv60.fsf@ahungry.com> (permalink)
References <mn1jm36vp2n5.bryfbmjsjuzb$.dlg@40tude.net> <ccc9i5F6l19U1@mid.individual.net>

Show all headers | View raw


"J.O. Aho" <user@example.net> writes:

> On 10/11/14 16:41, richard wrote:
>> <A href="page1.php">
>> Is the normal way of linking.
>> What if I need to send a value to page1 and another value to page2?
>> With just one click.
>> Or can they be nested?
>> <a href="page1.php"><a href="page2.php">link</a></a>
>>
> Heard about ajax?
> Ask for help in a javascript usergroup.

You can have page1.php hit page2.php on the server end with a curl call
(or depending on your set up, file_get_contents).

That may be more reliable than ajax in the event the user has javascript
disabled.


-- 
Matthew Carter (m@ahungry.com)
http://ahungry.com

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

can one link reference two seperate files? richard <noreply@example.com> - 2014-11-10 10:41 -0500
  Re: can one link reference two seperate files? richard <noreply@example.com> - 2014-11-10 10:45 -0500
  Re: can one link reference two seperate files? "J.O. Aho" <user@example.net> - 2014-11-10 18:05 +0100
    Re: can one link reference two seperate files? Matthew Carter <m@ahungry.com> - 2014-11-10 12:10 -0500
      Re: can one link reference two seperate files? "J.O. Aho" <user@example.net> - 2014-11-10 20:25 +0100
        Re: can one link reference two seperate files? Arno Welzel <usenet@arnowelzel.de> - 2014-11-17 13:40 +0100
  Re: can one link reference two seperate files? "Christoph M. Becker" <cmbecker69@arcor.de> - 2014-11-10 18:19 +0100
  Re: can one link reference two seperate files? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-11-10 19:07 +0000
  Re: can one link reference two seperate files? Denis McMahon <denismfmcmahon@gmail.com> - 2014-11-10 21:24 +0000
  Re: can one link reference two seperate files? Norman Peelman <npeelman@cfl.rr.com> - 2014-11-18 06:42 -0500

csiph-web