Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Why url for profile page on facebook is like
https://www.facebook.com/username
why not like
http://www.facebook.com/profile.php
Is the the profile page is stored within every username dir ? or something else ?
please clear my doubt and please explain how this type of url for profile is generated ?
Thanks in advance
This all about url rewriting using .htaccess file from the root of the almost all webservers.
The .htaccess file can transform facebook.com/profile.php?p=00012345678 into facebook.com/00012345678!
Try to search on Google about url rewriting, this can help you alot! :)
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I hope you are fine
I want to write a simple php code that the user cant download the movie like youtube site and can only see, I came across a series of results such as hls, ffmpeg, rtmp in my search, but I do not know which one is useful or has a library for php at all or not.
Thank you for your time.
It’s not possible. The server can not differentiate between “downloading” and “playing”.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
Two websites are running on one server, so let's say it A.com and B.com. Their document root directory is different of course. The problem is when I upload image on A.com, I should show it on B.com too.
How can I solve this?
I don't want to link from one site to another. I should use image in generating PDF and link is not working.
Just use full path in your code!!! It must work or check permission.
Use the url's for both site example if u you need an file from a.com in b.com just call
a.com/your_file_path
Let me know if there is any confusion
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I'm trying to create a simple site for local test, but I need to show on URL the following:
?id=1
How can I do it?
You can do this by hyperlink, form submit, manually typing it into the URL bar and many other methods. Use a hyperlink:
ID1
Im not too sure what you are asking, but if you are looking to add an id variable to the URL you need to add it to the URL when you redirect
EX.
From link
Link
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
its me again.. is it possible to take webcam stream and add it to webpage? I checked page source. looks like it creates image in folder on their server
(http://www2.hak.hr/rmt/?l=135) is it posible to get that image to my webpage? Thanks anyone for help
You can embed the image with something like this:
<img src="http://www2.hak.hr/hak_webcam/cam.asp?id=22" alt="img"></img>
You just have one problem when the image adress is changing you have to do it too! To prevent the embed from another site it seems like they are adding as url parameter a timestamp.
As you can see they have a copyright on this so you aren't allowed to embed it.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I really don't want to use any software, I want to learn by myself. Nothing like WordPress though. All it is, user goes to example.com/login. and they enter a password. After that all they see is Mark down text-editor. They put in content then click enter. then it generates to the page. Creating a short summery for the front of the page then having a link to the whole page.
How would I accomplish this? Any tutorials?
Sounds like you need a basic PHP/MySQL tutorial. Here's an good one:
http://www.w3schools.com/PHP/php_mysql_intro.asp
Once you get through that, building a simple CMS will be a snap.