View Single Post
  #1  
Old 02-26-2006, 06:07 PM
ZeLpH_MyStiK ZeLpH_MyStiK is offline
Scripter
ZeLpH_MyStiK's Avatar
Join Date: May 2003
Location: NYC
Posts: 553
ZeLpH_MyStiK is on a distinguished road
Send a message via MSN to ZeLpH_MyStiK Send a message via Yahoo to ZeLpH_MyStiK
requestURL with '&'

It seems that requestURL is still having problems with links that make use of the character '&'. The command was able to find the php file that I provided the address to, but it was not able to differentiate the '&' character. Thus sending two php parameters as one.
Example:
PHP Code:
requestURL("http://255.255.255.0/example.php?pa=test&pb=test2")
// does not work and will seem to read the parameters as 'pa=test&pb=test'
// as one parameter. Thus instead of it reading pa=test and pb=test2, it will
// read pa="test&pb=test2"
requestURL("http://255.255.255.0/example.php?pa=test")
// while this does indeed work. 
Skyld has brought to my attention a way around this problem by sending one giant parameter and having the php code sort out the different data by using a tokenize() like command. However, this problem should still be fixed.
__________________
Reply With Quote