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 Like 22 Dislike
Previous forums Next forums
Other forums

To add a field on the screen XK02.
Hi All,

How to add an additional field in the vendor change control screen XK02.
The

Mysterious Timeouts
I've deployed a few simple AJAX-enabled web page to a local server that is accessed through the Inte

Simple program to copy files between two computers over the web
I use logmein free and often need to move files between my two computers. Generally, I move the file

Wrong Info sent Using $get in form
Hi i have this code that i tried to make to send some info from one page to aother with lots of ppls

Using loop to count number of entries
I'm writing a program that must ask user to type in numbers. After each entry, the program has to re

Tree Menu
Hi guys,

Can anyone help me making a tree navigation system? I have a site where I'm allowin

INSERT for date range
Hi all

I have the following table

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

extract content from a website
i have written a code that will grab the content from the index page..
i would like to know how c

Help? Need help on project with templates involving mysql and php.
I'm having a hard time explaining what I want but basically here is what I have in place:

-Da

How would I do "Users not logged in since *** delete them"
I know how I would set this up, and delete the user roughly.
I'll create a table called "Use

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