SunQuest
           WAP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreWAP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old April 3rd, 2005, 01:25 PM
careysizer careysizer is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 2 careysizer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 m 20 sec
Reputation Power: 0
Question Use form & php to send them to a file...

Hi. What I want to do, is have people enter a code eg: 123 in a form on a wml page, then send it to this php page:

PHP Code:
<div align="center">Please wait while your file is located.... 
</
div>
<?
php
$URL 
$_REQUEST['code'] ;
header ("Location: http://www.careysizer.uni.cc/mobile/$URL");
?> 


Can someone help me out with this? And also, as on Vodafone live etc, how are they able to show color images? Have they used simple HTML?

Thanks,

Carey

Reply With Quote
  #2  
Old April 8th, 2005, 10:30 PM
idevweb idevweb is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Posts: 14 idevweb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 37 m 24 sec
Reputation Power: 0
Hi there
Hope this helps

<wml>
<card>
<p>
<big>
Enter Code:
</big>

<input title="itemcode" name="icode"/>

<do type="accept" name="next" label="Get Results">
<go href="result.php" method="post">
<postfield name="itemcode" value="$(icode)"/>
</go>
</do>

</p>
</card>
</wml>


in results.php the variable $itemcode should contain the form value. You must also make sure that you have mimes setup right. Use php to output wml headers.

GL!

Reply With Quote
  #3  
Old April 9th, 2005, 12:39 AM
careysizer careysizer is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 2 careysizer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 m 20 sec
Reputation Power: 0
ok thanks, but I have absolutely no idea when it comes to php, could you give me an example?

Reply With Quote
  #4  
Old April 9th, 2005, 12:42 AM
idevweb idevweb is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Posts: 14 idevweb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 37 m 24 sec
Reputation Power: 0
It would make it easier if you explain what your trying to achieve.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreWAP Programming > Use form & php to send them to a file...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway