Someone with PHP knowledge needed
09-12-2003, 14:20
|
#1
|
|
cf.mega poster
Join Date: Jul 2003
Location: Derry
Posts: 7,597
|
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, 14:41
|
#2
|
|
I am not a geek!
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, 14:53
|
#3
|
|
Nemmy's Back
Join Date: Jun 2003
Location: Surrey
Age: 41
Services: Nothing at the moment
Posts: 6,612
|
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 ...
__________________
"It's in the trees ... its coming"
|
|
|
09-12-2003, 15:16
|
#4
|
|
cf.mega poster
Join Date: Jul 2003
Location: Derry
Posts: 7,597
|
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, 17:34
|
#5
|
|
I am not a geek!
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, 17:47
|
#6
|
|
I-Web Solutions
Join Date: Jun 2003
Location: On top of this heat sink
Age: 28
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, 17:51
|
#7
|
|
I-Web Solutions
Join Date: Jun 2003
Location: On top of this heat sink
Age: 28
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, 17:53
|
#8
|
|
cf.mega poster
Join Date: Jul 2003
Location: Derry
Posts: 7,597
|
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.
Last edited by Bifta; 09-12-2003 at 18:00.
|
|
|
09-12-2003, 18:04
|
#9
|
|
I am not a geek!
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, 19:50
|
#10
|
|
Ring a ding a ding a ring
Join Date: Jun 2003
Location: Outer Space.
Services: Portable TV + Wet string =
vast improvement on what I got from NTL.
Posts: 3,672
|
Re: Someone with PHP knowledge needed
the gerneral forums at phpbb.com may help
__________________
Not really visiting CF much these days....
If you need me, PM me.
|
|
|
09-12-2003, 20:44
|
#11
|
|
cf.mega poster
Join Date: Jul 2003
Location: Derry
Posts: 7,597
|
Re: Someone with PHP knowledge needed
Quote:
|
Originally Posted by zoombini
the gerneral forums at phpbb.com may help
|
? How
|
|
|
09-12-2003, 21:26
|
#12
|
|
spoon
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
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
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. The time now is 11:19.
|