PHP header help!
Posted on
16th Feb 2014 07:03 pm by
admin
Hi all I am trying to get this php page to refresh every 5 seconds on my phone which is an aastra 480i IP desk phone.
The code below the header line displays a menu on my phone. That works fine so no need to look at that. I am having trouble getting the refresh line to work. How would I make a header for this script with the header line being used below? The header line is in the correct format but I don't know how to apply it.
Did you know?Explore Trending and Topic pages for more stories like this.
<?php
header("Refresh: 5; url= http://XXX.XXX.XXX.XXX/this-page.phpâ€);
$textmenu = "<AastraIPPhoneTextMenu style = "numbered">n";
$textmenu .= "<Title>------- Menu -------</Title>n";
$textmenu .= "<MenuItem>n";
$textmenu .= "<Prompt>Directory</Prompt>n";
$textmenu .= "<URI>http://192.168.1.102/aastra/directory.php</URI>n";
$textmenu .= "</MenuItem>n";
$textmenu .= "<SoftKey index = "1">n";
$textmenu .= "<Label>Select</Label>n";
$textmenu .= "<URI>SoftKey:Select</URI>n";
$textmenu .= "</SoftKey>n";
$textmenu .= "<SoftKey index = "6">n";
$textmenu .= "<Label>Exit</Label>n";
$textmenu .= "<URI>SoftKey:Exit</URI>n";
$textmenu .= "</SoftKey>n";
$textmenu .= "</AastraIPPhoneTextMenu>n";
echo $textmenu;
?>
No comments posted yet
Your Answer:
Login to answer
67
22
Other forums
if description does not contain the following words
Hello everyone,
I am parsing a MS Excel (.xls) file and adding it's content to a mySQL databa
Sub-domains & calling unique content
Hello,
Is there a way use something similar to the $_GET function for a sub-domain? I to be a
PHP error on MySQL insert
I'm sure it's the simplest of issues, but I can't recall why this isn't working.
Code: [Selec
my code does not work.
I have a code problem.
Quote"<a href=index.php?gogo=ureticidetay&'?l={$le
default SAP userid
hi,, I just like to know if it is ok to use the default SAP user id (SAP*)?
pagination numbering pattern
Hello,
I have following code which works great for pagination. but i have small issue now.
PHP Programming error. Please help!
Hi there,
Am making a website for a friend and have encountered a problem that i need fixing
md5 is it unique
I know this is most likely one of many simple questions that can be found semi easily. But I'm press
Find only certain URLs from page ... regex (semi-complete script)
Hi guys,
What I need to do is take a page & extract all the URLs from the page &a
Allegro crashes when running load_bitmap. Why?
I can not get Allegro to load any BMP images. Here is a section of test code. The picture is in the