get url?


Posted on 16th Feb 2014 07:03 pm by admin

how do i get the url of the page i'm currently on, on my website.. i think its get header.. how do i do that?
Posted on 25th May, 2014
Admin
Hope this solves your problem. Try this.



<?php
$url="http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
echo $url;
?>

Posted on 20th Dec, 2022
Boss Lyric
Puff Puff Lyrics Just like this you can create the link of any post...

Your Answer:

Login to answer
263 Like 8 Dislike
Previous forums Next forums
Other forums

multiple recipients + dbuser mail recall
Hello,

I am building a php login script.

When the user registers the script will send

problem with php mysql query
Hi guy's...

I'm totally lost here..because don't have any idea how to make a query for grab r

noob cURL help
I have a pretty basic form that I need to cURL post to a file in my includes folder (includes/login.

Error In Syntax
I got this error:

Code: Parse error: syntax error, unexpected '>' in /home/bucket/publ

header redirect problems? please help
Ok i am making a site that generates youtube thumbnails and i am generating an image that displays 1

explode() function problem maybe
Hi I'm having trouble searching my database. When I type two words in the search field it only searc

Using loop to count number of entries
I'm writing a program that must ask user to type in numbers. After each entry, the program has to re

Replacing a string on click of a button
Hi! Is there a way to replace a string on a click of a text link?

This is what I've come up w

How to update this array?
I am saving a string that looks this: username1, username2, username3...
into a single cell in a

Different payment methods with different cross company requirements in F110
We are implementing SAP in a company in the shipping industry. They have the following requirement:<

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash