NYCPHP Meetup

NYPHP.org

[nycphp-talk] sending info through a hyperlink...

Greg Faber greg at click3x.com
Fri Feb 20 14:37:31 EST 2004


groovy, thanks.!

On Feb 20, 2004, at 2:36 PM, Chris Bielanski wrote:

> you can string a GET argument into the URL:
> href="mini_site_admin.php?site=my_site&foo=bar"...
>
> Then use the $_REQUEST array in the target page to sort it out and 
> display
> the right content.
>
> It's eeeee-z.
>
>> -----Original Message-----
>> From: Greg Faber [mailto:greg at click3x.com]
>> Sent: Friday, February 20, 2004 2:28 PM
>> To: talk at lists.nyphp.org
>> Subject: [nycphp-talk] sending info through a hyperlink...
>>
>>
>> Hi All-
>>
>> Just want to lower the level of discourse on this list for a few
>> minutes. I have a newbie question for youze.
>>
>> I'm trying to build an extranet where "producers" can log in
>> and create
>> mini-sites where they can post pics and movs so their clients
>> can view
>> the progress of certain projects. Once a producer logs in
>> he's greeted
>> with a page that lists all his current active extranets. I
>> want to make
>> the list "hotlinked" so the producer can just click on the name of a
>> mini-site and gets to the mini-site admin page where he can
>> upload/delete movs and pics. If all the hyperlinks just link to a
>> "mini_site_admin.php" file, how can I send the information pertaining
>> to what link was actually clicked (hence identifying which
>> mini-site is
>> gonna get updated). Does it have something to do with $_SESSION[]
>> variables?
>>
>> I suppose I could build it as a form and have a little radio button
>> select which mini-site i want to update and then have a "submit"
>> button, but I think it would be more intuitive to just click on the
>> name. Have any suggestions?
>>
>> BTW, Adam, PHP Cookbook is pretty damn wicked.
>>
>> Thanks,
>> Greg
>>
>> _______________________________________________
>> talk mailing list
>> talk at lists.nyphp.org
>> http://lists.nyphp.org/mailman/listinfo/talk
>>
> _______________________________________________
> talk mailing list
> talk at lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/talk
>




More information about the talk mailing list