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
add text and number image
hi guys ..
ok see i want the user to add their name and pick a number then click get it and i
Question about the upload of large files
Hi there,
I have a question about the upload of large files, like videos (files generally abo
PDO returns erroneous columns from within pdt
Hi All,
This is a truly weird behavior:
When using a simple pdo fetch, erroneous columns a
Change snippet to use CURDATE
I am using time() in the snippet below, I would like to use CURDATE() and have the database setup fo
Undefined offset
The following script checks to see if the user answer matches the correct answer.
Form Fiel
how to load a Sys file with system load and call images?
normally you need register the module as a service with CreateService, and start the service
losing variables between php brackets
Hi
have got this code:
Code: $id=mysql_result($result,0,"itemid");
$title=mys
Where is my php.ini???
Hi
First off - apologies - i'm not a coder so this may sound very amateur.
I'm having
array & querys help/advice.
Ok so here goes , I have a mysql database and basically here's what I need to do.
// foreach
SAP Treasury - Commodities
We are running SAP ECC 6.0 with Treasury Activated.
EA-FIN is also activated (SFW5).