How to create URLs?
Moderator: General Moderators
-
manojsemwal1
- Forum Contributor
- Posts: 217
- Joined: Mon Jun 29, 2009 4:13 am
- Location: India
How to create URLs?
Pl help to try to means the url
http://www.foobar.com/watch?v=Ofyb0323N ... re=related
here http://www.foobar.com/ is url
watch? here watch is directory of file name?
v=Ofyb0323NqU is video id
&feature=related
if directory name or file name so how can i do it in php
give some raugh idea....................
http://www.foobar.com/watch?v=Ofyb0323N ... re=related
here http://www.foobar.com/ is url
watch? here watch is directory of file name?
v=Ofyb0323NqU is video id
&feature=related
if directory name or file name so how can i do it in php
give some raugh idea....................
Re: http://www.youtube.com/watch?v=Ofyb0323NqU&feature=related
I was this close to reporting this as spam, but figured I should probably read it so I could write something in the Further Information box.
"how can I do"... what?
General Posting Guidelines
And change the title to something meaningful.
"if directory name or file name"... what?manojsemwal1 wrote:if directory name or file name so how can i do it in php
"how can I do"... what?
General Posting Guidelines
And change the title to something meaningful.
-
manojsemwal1
- Forum Contributor
- Posts: 217
- Joined: Mon Jun 29, 2009 4:13 am
- Location: India
Re: http://www.youtube.com/watch?v=Ofyb0323NqU&feature=related
i meant that in url /watch? is file name or folder
if file name so without given any extension how can we do it in php.............
if it is folder name so how can i find the video in folder ....
if file name so without given any extension how can we do it in php.............
if it is folder name so how can i find the video in folder ....
Re: http://www.youtube.com/watch?v=Ofyb0323NqU&feature=related
Who knows? Could be a file, could be a folder.manojsemwal1 wrote:i meant that in url /watch? is file name or folder
But it's probably a file. In Apache
Code: Select all
Options +MultiViews-
manojsemwal1
- Forum Contributor
- Posts: 217
- Joined: Mon Jun 29, 2009 4:13 am
- Location: India
Re: http://www.youtube.com/watch?v=Ofyb0323NqU&feature=related
<a href='ViewDetails.php?a=edit&id=<?php echo $Sno; ?>'>
above link iam using in my program shall i write this line as it is like...
<a href='ViewDetails?a=edit&id=<?php echo $Sno; ?>'>
above link iam using in my program shall i write this line as it is like...
<a href='ViewDetails?a=edit&id=<?php echo $Sno; ?>'>
-
manojsemwal1
- Forum Contributor
- Posts: 217
- Joined: Mon Jun 29, 2009 4:13 am
- Location: India
Re: http://www.youtube.com/watch?v=Ofyb0323NqU&feature=related
Okay means yes or no ?
if yes
<a href='ViewDetails?a=edit&id=<?php echo $Sno; ?>'>
if i used like this it will searching the viewdetails file. it will not get the file and and display file not found error.
if yes
<a href='ViewDetails?a=edit&id=<?php echo $Sno; ?>'>
if i used like this it will searching the viewdetails file. it will not get the file and and display file not found error.
Re: How to create URLs?
"Okay" as in "Sure, you can do that".
Did you read the rest of my post? Like the part that talks about Apache and the Options directive?
You need MultiViews* to give links without extensions.
* There are, of course, other ways, but this is the easiest.
Did you read the rest of my post? Like the part that talks about Apache and the Options directive?
You need MultiViews* to give links without extensions.
* There are, of course, other ways, but this is the easiest.
-
manojsemwal1
- Forum Contributor
- Posts: 217
- Joined: Mon Jun 29, 2009 4:13 am
- Location: India
Re: How to create URLs?
No I did'nt read pl provide the link for me i want read .
Re: How to create URLs?
Here you go. Keywords are "Apache" and "Options".manojsemwal1 wrote:No I did'nt read pl provide the link for me i want read .
-
manojsemwal1
- Forum Contributor
- Posts: 217
- Joined: Mon Jun 29, 2009 4:13 am
- Location: India
Re: How to create URLs?
iam new in php and apachie............
so pl give small example.......................to easy to understand
so pl give small example.......................to easy to understand