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

check how many commas the variable containing the query has between [i]select[/i
Hi...

iv made an sql table that contains id number - name of sql query and an sql query.
T

Help with php code
Hello, can anyone tell me why this php word trap fails to work,
and the trigger words get blow r

button help
i originally had this but realised it is much easier to have a button.

Code: <?php

Php - mysql select?
hi, i have this code:

Code: <?php
session_start();
// dBase file
include &quo

Keeping data in form
How can I keep whatever I write in the form?

Remove letter from numeric textbox
I have a textbox that will search the employee database by entering in the employee ID and it will r

ImageCreate()
When I create an image and add text to it I want my text to be replaced with a PNG image, because th

xml element exists
Code: [Select]<?xml version="1.0"?>
<Addresses>
<

SQL query not working well
Hi,
I made a small table with 5 rows and want to make them an sql consult using rownum

How do I use a global footer..?
If my index.php has a bole bunch of if functions and exit's in them

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