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

exclude characters from counting?
Hello, I wanted to ask if you have a string like:
Code: $my_s='ASRGREGTGTR----REGREGRE+++RRRRRR..

fopen() security
As i understood the usage of fopen() for it to function correctly the Dir you write to has to be rw

EU VAT Package 2010
Does any one know whether SAP will be developing new reporting functionality due the new VAT rules t

Run function every 5 mins ??
I have a function PostMessage()

How can I run it every 5 mins ??

Executing an exe
Hi. I have some bizarre problem with exec (other any other method) to launch exe's. I am making a ga

help with variable
I've got a problem, i want to echo some images depending on the $id, however for me to get that id i

Need a fuction to count entries in a field
Hi
I need a fuction to count how many times a email address is entered in to a field.

I ma

User registration and login
I don't know whether this is the correct forum, if not i apologise but am pretty desperate at the mo

Update Database
Hi All,


I have a problem with this:

Code: [Select]<?php
session_start();

MS Access data into a html table
Hi everyone, I am quite a novice at php but I have created some helpful scripts that fetch data
f

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