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?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!news2.arglkargh.de!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Matthew Carter <m@ahungry.com>
Newsgroups comp.lang.php
Subject Re: can one link reference two seperate files?
Date Mon, 10 Nov 2014 12:10:15 -0500
Organization Ahungry (http://ahungry.com)
Lines 23
Message-ID <87h9y7vv60.fsf@ahungry.com> (permalink)
References <mn1jm36vp2n5.bryfbmjsjuzb$.dlg@40tude.net> <ccc9i5F6l19U1@mid.individual.net>
Mime-Version 1.0
Content-Type text/plain
Injection-Info mx02.eternal-september.org; posting-host="7c986cd4736462de309a749b207746fe"; logging-data="19518"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18TmTgbdivTffXdqM7dLwJN"
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)
Cancel-Lock sha1:gvlxWPaLpltU+69rgoDoRL5gSUA= sha1:IHHaLLN0z482MCAqVnKO5BUZ2oo=
Xref csiph.com comp.lang.php:14524

Show key headers only | 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