473,386 Members | 1,720 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

parsing to the index page

Can anyone help me create a script like Yahoo.com and Msn.com has it for parsing to the index page. (like if you go to yahoo.com it brings you to http://www.yahoo.com or if you try to switch bettwn narow and wide page again it will display the same link http://www.yahoo.com

Also
If I were to create a page to switch between Wide and Narrow page I want to be able to save those settings when the user check back my site.


If anyone can help me with this I would really appriciate it.

thanks,

james
May 18 '07 #1
5 1318
I want to be able to have control over the sites that I dont want to show full url path but show only the base url.
(I tried using frames but didnt like it)

If you type on the web bar: yahoo.com/ it will return to http://www.yahoo.com/
May 19 '07 #2
acoder
16,027 Expert Mod 8TB
The first problem is probably a server setting.

The second can be solved using cookies, see link.
May 21 '07 #3
acoder
16,027 Expert Mod 8TB
Merged threads because they were on the same topic.
May 21 '07 #4
The first problem is probably a server setting.

The second can be solved using cookies, see link.
Thx for the post...although I still dont get it how would I be able to create a script that can hide the path of my pages.

for example at Yahoo when you try to switch the page layout, you will go to a different page http://yahoo.com/r/ty and that will re-direct you somehow to http://www.yahoo.com.

So the reason I asked for this script was to be able to switch between 2 layouts and then store that into a cookie for the next visit and hide the path of my pages and just show the base url.

Thx.
May 22 '07 #5
acoder
16,027 Expert Mod 8TB
I'm not sure, but they may be using a redirect tag.
May 23 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Kevin Matthews | last post by:
Hi, i'm trying to change the question marks in the url.. eg. index.php?page=home to something along the lines of index.php/pages/home I heard their was a way to do this, but can't find...
22
by: Willem Ligtenberg | last post by:
I want to parse a very large (2.4 gig) XML file (bioinformatics ofcourse :)) But I have no clue how to do that. Most things I see read the entire xml file at once. That isn't going to work here...
0
by: Antwerp | last post by:
Hi, I'm trying to create a perl script that will log into a website (the login form uses POST), navigate to several pages, and append the (html) content parsed from those pages to a seperate log...
16
by: Terry | last post by:
Hi, This is a newbie's question. I want to preload 4 images and only when all 4 images has been loaded into browser's cache, I want to start a slideshow() function. If images are not completed...
17
by: Mark | last post by:
I must create a routine that finds tokens in small, arbitrary VB code snippets. For example, it might have to find all occurrences of {Formula} I was thinking that using regular expressions...
1
by: kellysgirl | last post by:
Im not good at parsing strings....and Ive been driving myslef nuts This is what I need to do....use an if/else statement to validate thata delimeter has been selected. These delimeters being...
1
nine72
by: nine72 | last post by:
Ok, I am at a complete loss on this and have finally come to the XML Parsing Gods (and perhaps a PHP minor deity) for guidance… I will try my best to describe what I have going on… 1) I have 15...
9
nine72
by: nine72 | last post by:
Ok, so I have figured out how to parse an custom returned XML doc (actually a string that I made into a doc for testing). At this point I am attempting to integrate my parse routine into my main...
3
by: tokcy | last post by:
Hi everyone, I have class and whenever i am running to this class it shows error like Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.