Author |
wap forum |
wapchimp Joined: Jun 09, 2002 Posts: > 500 From: Land of the chimps PM, WWW
|
Can i use img src tags to link 2 colour pics in wml? If not php wil have to do-il have to look up on php
This message was posted from a T68i |
|
chrisgray999 Joined: Jun 18, 2002 Posts: 327 From: Sussex, UK PM, WWW
|
@orangeman: not sure mate, try it! To do it with .php, u need to refresh the page and increase a counter and send it with the get command, then use the case and echo functions to post the images...
This message was posted from a T65 |
wapchimp Joined: Jun 09, 2002 Posts: > 500 From: Land of the chimps PM, WWW
|
Cheers-that went straight over my head;-) - id better investigate this php
This message was posted from a T68i |
chrisgray999 Joined: Jun 18, 2002 Posts: 327 From: Sussex, UK PM, WWW
|
If u want i can do one?
This message was posted from a T65 |
Szejqer Joined: Dec 25, 2002 Posts: 87 From: Poland PM, WWW
|
This is counter in php
$licznik_file = "licznik.txt";
$fp = fopen($licznik_file, "r+");
$count = fgets($fp, 10);
$count += 1;
fseek($fp, 0);
fwrite($fp, $count, 10);
fclose($fp);
echo ("$count");
?>
Cheers  |
chrisgray999 Joined: Jun 18, 2002 Posts: 327 From: Sussex, UK PM, WWW
|
Orangeman: got ur pm... Why do u call me holmes? Lol um try a great book called php in easy steps... Do u want the Isbn? @sk... For the counter i mean You can just use $i++ @all: in case anyone is interested, i finally got it to display on wap, the address is deize.plus-media.co.uk/wap.php no links work yet though...
This message was posted from a T65 |
chrisgray999 Joined: Jun 18, 2002 Posts: 327 From: Sussex, UK PM, WWW
|
Erm, where has everyone gone? Lol
This message was posted from a T65 |
wapchimp Joined: Jun 09, 2002 Posts: > 500 From: Land of the chimps PM, WWW
|
Were still here
This message was posted from a T68i |
Dj Boyi Joined: Oct 05, 2002 Posts: > 500 From: Liberty City PM |
Oh,and i thought wap had died already LOL!
This message was posted from a T68i |
wapchimp Joined: Jun 09, 2002 Posts: > 500 From: Land of the chimps PM, WWW
|
How would I code my site so if someone enter via say internet explorer it wont let them see it - I want xhtml browsers only to view it???
[addsig] |
chrisgray999 Joined: Jun 18, 2002 Posts: 327 From: Sussex, UK PM, WWW
|
Erm it would have to be converted to php... Them u would use the preg_match() function.... It would be quite difficult... There probably be an easier way, but i dont know it! Lol i would recomment www.codingforums.com...
This message was posted from a T65 |
Aled Joined: Nov 25, 2002 Posts: 320 From: Wales PM |
Not sure, but i used to have in inti microsoft page which had a java script which crashed any computer which accessed it using ie. I could send it to you he it'll help. I don't know he it'll pass as valid xhtml tho
This message was posted from a T68i |
wapchimp Joined: Jun 09, 2002 Posts: > 500 From: Land of the chimps PM, WWW
|
I was thinking a browser detection script-then it would link to an info page sayin get a t68 etc to view this site
This message was posted from a T68i |
chrisgray999 Joined: Jun 18, 2002 Posts: 327 From: Sussex, UK PM, WWW
|
Erm would have to be done using a script which may invalidate the xhtml...
This message was posted from a T65 |
goodan Joined: Dec 07, 2002 Posts: 69 From: Sydney, Australia PM, WWW
|
@orangeman
Serve your wap pages using text/xml MIME type instead of
text/html. Also try to use .xhtml file extension instead of .htm
For example see http://www.qnf.info/wap2 .
|
|