Php Header('location: ') ... Vs S40 & S30

Started on the old forum in July 2008 · view the original in the archive · old links redirect here

14 replies · 1,588 views · started 18 years ago · 1 min read

3 participants
Guest #1

HI! Can anyone confirm to me if Nokia s30 and s40 DO NOT support the PHP header('Location: .....') ? I'm recieving complains from people , and I guess that's it, now I would like if someone can confirm it to me.

Thanks.

subzero Super moderator Fellow · 3,954 posts #2

change

header('Location: .....') to header("Location: .....");

You can ontimer="0; url=" ....">

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

Guest #3

Thanks.

I just wanted to confirm it before use the ontimer atribute....

I'm wondering if those s30 and s40 old phones can even understand the header() function..... or if it's just the Location redirect method....

Ome more thing, I know that there is a WML tag (or atribute) to do something like clean the browser history, or whatever.... it's a tag that even if you push the phone's back button, it wont let you go back.... can someone remind to me what's that tag?

Thanks in advance.

subzero Super moderator Fellow · 3,954 posts #4

some phones has errors you mite need to get more info at php.net

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

laro696 Developer · 205 posts #5

Thanks.

I just wanted to confirm it before use the ontimer atribute....

I'm wondering if those s30 and s40 old phones can even understand the header() function..... or if it's just the Location redirect method....

Ome more thing, I know that there is a WML tag (or atribute) to do something like clean the browser history, or whatever.... it's a tag that even if you push the phone's back button, it wont let you go back.... can someone remind to me what's that tag?

Thanks in advance.

Something like this

<meta http-equiv="Pragma" content="no-cache">

or

 <?
  Header('Cache-Control: no-cache');
  Header('Pragma: no-cache');
  ?>
Guest #6

some phones has errors you mite need to get more info at php.net

Well, I don't think that php.net would have some useful information about s30 and s40 mobile phones and compatibility.

I know that, for example, some old IE (crap browser) versions wont accept "location", just "Location", but nothing more....

I would have to use the old redirect method for the old phones, I guess...

Guest #7

Something like this

<meta http-equiv="Pragma" content="no-cache">

or

 <?
  Header('Cache-Control: no-cache');
  Header('Pragma: no-cache');
  ?>

No laro696, it's not the cache header tags... it's something else.... It's not a very commun tag, but it does exist in WML, I just cannot remember what is it..... :sad:

laro696 Developer · 205 posts #8

No laro696, it's not the cache header tags... it's something else.... It's not a very commun tag, but it does exist in WML, I just cannot remember what is it..... :sad:

Well that's the only one i can think of at the moment

Guest #9

I remember it, it's the <noop/> tag! 🙂

laro696 Developer · 205 posts #10

I remember it, it's the <noop/> tag! :)

Like this?

<wml>
<card>

 <do type="prev" label="Back">
  <noop/>
 </do>
</p>
</card> 
</wml>
Guest #11

Yes, that's the one. I will use it together with the ontimer event, for the old phones and header() for the new ones. If that wont solve the problems for s40 and s30, well... than I would just kill myself. lol

laro696 Developer · 205 posts #12

Yes, that's the one. I will use it together with the ontimer event, for the old phones and header() for the new ones. If that wont solve the problems for s40 and s30, well... than I would just kill myself. lol

Lol tell those users to download opera mini. It's much faster anyway

GumSlone Administrator Principal · 1,690 posts #13

Headers work on nokia n40, i have an old Nokia 6610 and it works with it, but it does not work with some old SonyEricsson phones, and another thing i thinkk it also depends on your mobile network.

Advertise your mobile site for FREE with AdTwirl

External image (may be gone)

Guest #14

Headers work on nokia n40, i have an old Nokia 6610 and it works with it, but it does not work with some old SonyEricsson phones, and another thing i thinkk it also depends on your mobile network.

Thanks GumSlone.

In fact you've alert me to one important subject.... and I thing that that's what's really messing things up with S40 and S30 mobiles.... - The networks! A few mobile networks, are now using some kind of proxy, and I think that's the main couse along with the mobile itself. Probably some old Nokias cannot handle a certain type of requests coming from the network proxy, I don't know...

Guest #15

For example, my wap network IP is 127.0.0.1 lolol And user agent is Mozilla.... of course, I use a S60 Nokia, so the Mozilla is what the proxy send, along with a localhost IP address.

Can you believe this....? Dumb networks!!

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close