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

Upload Code Help
Hi everyone I need some help with a bit of code ive been working with for a while. I am completely s

I have a parse error in this query help..
Code: $query1="INSERT INTO `rating` (`item_name`, `rating`, `ip_address`, `date_rated`) VALUES

disabling a button server-side then re-enabling client-side breaks button postback
I have a tabbed container and a button (not in the container) on a page. If the first tab is selecte

Ball movement
I want to move a ball from one point to another and it should hit a group of balls at the other end

Array question
Does anyone know how to create a program that takes the $ amount for 8 different departments and gi

Request.UrlReferrer
I need to make it so that a page can only be loaded when a button is clicked on a specific page. I d

constructor ?
i have written this program and made 3 constructors in the class and i want to call them in the main

retrieving more than one max key from an array?
so i have an array of 20 numerical values (0-100) that i need to order from highest to lowest and th

INSERT for date range
Hi all

I have the following table

Code: [Select] `date` date
`day` int(2)
`

help me fix these syntax errors...
I keep getting multiple syntax errors on this script like this one:

Parse error: syntax error

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