Someone with PHP knowledge needed
09-12-2003, 15:20
|
#1
|
|
Inactive
Join Date: Jul 2003
Location: Eglinton, Co. Derry
Posts: 7,640
|
Someone with PHP knowledge needed
I'm having a bit of a headache, what I'm trying to do is:
Users have a list of URL's they can click on, whatever one/ones they click on I wan't each address stored in a session then they'd go to a contact form which would echo each clicked URL in for example a textarea (or similar).
Anyone have any ideas?
|
|
|
09-12-2003, 15:41
|
#2
|
|
Inactive
Join Date: Jul 2003
Posts: 1,395
|
Re: Someone with PHP knowledge needed
Can't help you with php I'm afraid, if you get no other replies I can help you with it in perl/cgi or javascript.
|
|
|
09-12-2003, 15:53
|
#3
|
|
Inactive
Join Date: Jun 2003
Location: Surrey
Age: 59
Services: Virgin stuff
Posts: 6,407
|
Re: Someone with PHP knowledge needed
Quote:
|
Originally Posted by philip.j.fry
Can't help you with php I'm afraid, if you get no other replies I can help you with it in perl/cgi or javascript.
|
You could PM Keyser/King Phoenix/Frank to get their attention ...
|
|
|
09-12-2003, 16:16
|
#4
|
|
Inactive
Join Date: Jul 2003
Location: Eglinton, Co. Derry
Posts: 7,640
|
Re: Someone with PHP knowledge needed
Quote:
|
Originally Posted by philip.j.fry
Can't help you with php I'm afraid, if you get no other replies I can help you with it in perl/cgi or javascript.
|
If it's doable in javascript I'd be more than interested.
|
|
|
09-12-2003, 18:34
|
#5
|
|
Inactive
Join Date: Jul 2003
Posts: 1,395
|
Re: Someone with PHP knowledge needed
Quote:
|
Originally Posted by Bifta
If it's doable in javascript I'd be more than interested.
|
If I'm guessing what you want correctly, it's easily doable. Is this the kind of thing you were after?
|
|
|
09-12-2003, 18:47
|
#6
|
|
Inactive
Join Date: Jun 2003
Location: On top of this heat sink
Age: 45
Services: Sky+ & 8mb ADSL + BT Together option 3
Posts: 2,345
|
Re: Someone with PHP knowledge needed
I could sort it out, but it wouldnt be very tidy......
Talk to Keyser, im sure he would be able to sort something for ya, or explain to ya the easiest way to do it...
I would do it by using forms.... Each link would be in its own form, with the link itself being a submit link. The new page stored as the action, then use a hidden field to capture the link name, so something like this
Code:
<form name="link1" method="post" action="endpage.php"><input type="hidden" name="clickedlink" value="URLGOESHERE">
<a href="javascript:document.link1.submit();">URLGOESHERE</a>
I hope that helps, like i said, its not the tidiest way to do it, but it would work...
If you want me to do the whole page, and the second page using that method let me know.
But Keyser would be the best person to speak to (from experience)
Edit ::: Forgot to mention, the bits in bold must match respectively
|
|
|
09-12-2003, 18:51
|
#7
|
|
Inactive
Join Date: Jun 2003
Location: On top of this heat sink
Age: 45
Services: Sky+ & 8mb ADSL + BT Together option 3
Posts: 2,345
|
Re: Someone with PHP knowledge needed
ahhh looking at Bifta's demo, i think that his method would probably be the best, as all that the method i suggested does, is displays the domain name clicked into another form..
I think i understood it wrong, BTW Bifta, looks good
|
|
|
09-12-2003, 18:53
|
#8
|
|
Inactive
Join Date: Jul 2003
Location: Eglinton, Co. Derry
Posts: 7,640
|
Re: Someone with PHP knowledge needed
Thanks for all your help, the javascript bit works but when they start hooning around to different parts of the site it won't keep them stored. Turns out that the easiest way "apparently" to do it is to use MySQL and set up a temporary "url" store, then recall it in the form on the contact page. I've no clue how to do this as I've spent the best part of a week learning how to script GD functions so I've been a bit naughty and paid some feller from India to do the whole thing for $10
Anyhoo, basically it's for a property search I've got running for around 30 clients using a central MySQL database, works exceptionally well, just updated it to automatically resample images as they're uploaded so it creates a thumbnail and a compressed image then deletes the original from the server, saves a shed load of bandwidth.
Quote:
|
I think i understood it wrong, BTW Bifta, looks good
|
? That page isn't mine, it was one Philip.j.fry kindly knocked up.
|
|
|
09-12-2003, 19:04
|
#9
|
|
Inactive
Join Date: Jul 2003
Posts: 1,395
|
Re: Someone with PHP knowledge needed
Quote:
|
Originally Posted by Bifta
? That page isn't mine, it was one Philip.j.fry kindly knocked up.
|
Aww, and after the whole five minutes I spent making it
|
|
|
09-12-2003, 20:50
|
#10
|
|
Inactive
Join Date: Jun 2003
Location: England
Services: I no longer receive cable services, I blame the inept accounts dept for that.
Posts: 3,731
|
Re: Someone with PHP knowledge needed
the gerneral forums at phpbb.com may help
|
|
|
09-12-2003, 21:44
|
#11
|
|
Inactive
Join Date: Jul 2003
Location: Eglinton, Co. Derry
Posts: 7,640
|
Re: Someone with PHP knowledge needed
Quote:
|
Originally Posted by zoombini
the gerneral forums at phpbb.com may help
|
? How
|
|
|
09-12-2003, 22:26
|
#12
|
|
Inactive
Join Date: Jun 2003
Location: Lincoln, UK
Posts: 44
|
Re: Someone with PHP knowledge needed
Quote:
|
Originally Posted by Bifta
I'm having a bit of a headache, what I'm trying to do is:
Users have a list of URL's they can click on, whatever one/ones they click on I wan't each address stored in a session then they'd go to a contact form which would echo each clicked URL in for example a textarea (or similar).
Anyone have any ideas?
|
I can help you.
Email me: peter@darkblizzard.com
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +1. The time now is 12:57.
|