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.
<?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;
?>
67
22
Other php-forum
tag inside php... hi
Code: <?php echo "<td width="$columnWidth%" align=&Table colours fail when extra row added Hey Gurus,
I got a weird problem with formating the colour of a table made in php. Everything drop-down with sub-category appear Hello,
i know how to build a simple dro-down list, im looking for a code when im gonna choose Weekly Calendar Hi, I am looking at creating a weekly calendar. The calendar will read from Monday - Sunday. Does an listing help Hi,
at first, great new design!!! I like it,
i got a problem,
I want to list so PHP url branch?? Functionally, using PHP, I'm doing a test of login input submitted by a user via an html form in a f square instead of number Hello I do not know why but this code seems to work fine only in my xampp local insallation but n get font info from a font file hello,
Does anyone know how to get font info from a font file ... using php of course ! < RSS feed - FeedList for WordPress Hi,
I'm trying to alter the FeedList plugin for WordPress so that I can click on the title of Linkage between two scripts Okay say I have this for a link in a script:
Code: <li><a href="#&q
|