Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Old 06-20-2004, 08:51 AM .php & cgi Linking
SinJin's Avatar
Novice Talker

Posts: 5
Trades: 0
I have a .php site with frames and in the center frame, I have linked to a .cgi classified advertising script using a "includes" script code. When I try to click on one of the links in the classified section of the center frame, I leave the .php index page and go straight to the .cgi classified link that I selected.

How do I code it so that when I click on a link in the center frame of the .cgi script, it goes there while maintaining the .php script surrounding that window?

Hope I didn't confuse anyone and if you need clarification on anything, please ask so I can figure this out.

Thanks in advance...
SinJin is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-20-2004, 09:03 AM
praveen's Avatar
Life is a Dream

Posts: 3,591
Name: Praveen
Location: Chennai, India
Trades: 0
u would ave given names to the frames.. (frames ave names to them for target linking purpose)

so in your link code say

Quote:
<a href="file.cgi" target="that particular frame name">aaas</a>
and it will not break out the frames setup u ave..
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
praveen is offline
Reply With Quote
View Public Profile
 
Old 06-20-2004, 11:07 AM Oops
SinJin's Avatar
Novice Talker

Posts: 5
Trades: 0
That didn't work at all for me or at least the way I did it.

Take a look at my site here if you don't mind but note that I just combined two sites this morning so I have to edit out alot of stuff I don't need there.

My Site Under Construction

Last edited by SinJin; 06-20-2004 at 11:15 AM..
SinJin is offline
Reply With Quote
View Public Profile
 
Old 06-20-2004, 11:31 AM
praveen's Avatar
Life is a Dream

Posts: 3,591
Name: Praveen
Location: Chennai, India
Trades: 0
where are the frames?? dont c any in the source?

just say in the head part

Quote:
<base target="urframe name">
for that particular frame's html..
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
praveen is offline
Reply With Quote
View Public Profile
 
Old 06-20-2004, 11:59 AM
SinJin's Avatar
Novice Talker

Posts: 5
Trades: 0
Well, maybe frames is not the right word and sorry, I'm only a beginner at coding. This .php script links the left, right, bottom and top areas using this format:

<SCRIPT LANGUAGE="php">
include "www.myurl.com";
</SCRIPT

All I did was add this same script language in the middle of this .php index page to link to my .cgi classifieds script url. I have no clue other than that. I know I'm asking alot so I appreciate everything so far.

Any more idea's?
SinJin is offline
Reply With Quote
View Public Profile
 
Old 06-20-2004, 12:13 PM
praveen's Avatar
Life is a Dream

Posts: 3,591
Name: Praveen
Location: Chennai, India
Trades: 0
Ahh..

let me get it right..

the place where i c the classifieds is the cgi script and the surrounding are php ones..

and when someone clicks on the link in the classifieds, u want to retain the outer design aspects ie the top,right, bottom and left of the classfieds..

then in tat case u need ave a template setup with the design aspects you want and then run the cgi script.

i c u r using eclassifeds.

i ave not used it.. but like most programs they should ave a customize feature in the admin section.

use that to customise it to your needs..

if u think u will not be able to do that.. find a coder who will do it for u for a charge..

hope this helps..
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
praveen is offline
Reply With Quote
View Public Profile
 
Old 06-20-2004, 12:17 PM
SinJin's Avatar
Novice Talker

Posts: 5
Trades: 0
You are correct in what I was trying to do an I will look again at the files to see where I can customize it. Thanks...
SinJin is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to .php & cgi Linking
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.43534 seconds with 12 queries