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

array_map() probably obvious mistake
The code below is part of a class to escape strings, but should also accept an array, using array_ma

Creating a function
Basically i wanna put all this code in a seperate file

Code: <?php

Can't find the problem (no error message)!
OK, here's the deal. This code is really weirdly formatted (sorry!) and hard to understand, so I'm g

Production of mango in processing industry
Hi,

We have one scenario ,company is in process industry,they are manufacturing MANGO pul

ORA-00932: inconsistent datatypes: expected - got CLOB
SO : windows xp
database : XE

there is a table (transito) with two fields of clob

Help me with some material on Open Text Overview.
Hi Experts,
Please help me out with some material on Open Text. I have been supporting AP Workf

Apart from cron
I need to run a php file every one hour. Is there any other solution apart from cron job?

login from external site
Hi my new experience begins, Now what i am trying to do is i make three pages, login.php logout.php

parse error
Parse error: syntax error, unexpected '[', expecting ')' in /Users/admin/Sites/phptest/array.php on

Pagination
Hi All,

I think I'm finally getting somewhere with pagination!

I can now submit a quer

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