| Author |  | 
      
        | syonker Senior Member
 
  
  
 Joined: March 06 2009
 Location: United States
 Online Status: Offline
 Posts: 212
 | 
          Hi Dave,
           | Posted: March 08 2013 at 11:07 | IP Logged |   |  
           | 
 |  
 Here's a weird one...I'm running PowerHome v2.1.4, and am trying to call a "HTTPS:\\" url.  A little research indicated this needs to be done with "ph_geturl1" rather than "ph_geturl".
 
 So I looked up ph_url1 in the help file and....it wasn't there at all.
 
 So I went off of some of the syntax elsewhere in the forum and when I type in "ph_geturl1" it is not even recognized by the editor (does not go bold and purple like other valid commands).
 
 When attempting to run anything in this URL with the ph_url1 command (known working https:\\ strings) I get a SYNTAX ERROR.
 
 Thought you might want to know...maybe I'm just missing a file or something...didn't install 2.1.4 properly or something...(probably a user error of some sort rather than an actual bug)...but thought I'd bounce it by you here to see if you had any suggestions or if it was valuable information.
 
 Regards,
 
 
 -S
 
 __________________
 "I will consider myself having succeeded when my house becomes sentient and attempts to kill me."
 
 ><(((º>`·.¸¸.·´¯`·.¸><(((º>¸.
 
 ·´¯`·.¸. , . ><(((º>`·.¸¸.·´¯`·.¸><(((º>
 | 
       
        | Back to Top |       | 
       
       
        |  | 
        | syonker Senior Member
 
  
  
 Joined: March 06 2009
 Location: United States
 Online Status: Offline
 Posts: 212
 | 
          Disregard...figured it out.  Didn't have "1,20" at end.
           | Posted: March 08 2013 at 11:30 | IP Logged |   |  
           | 
 |  
 Anyone else having trouble with this, a valid call might look like"
 
 ph_geturl1("https://www.your_url.com/", 1, 20)
 
 -S
 
 __________________
 "I will consider myself having succeeded when my house becomes sentient and attempts to kill me."
 
 ><(((º>`·.¸¸.·´¯`·.¸><(((º>¸.
 
 ·´¯`·.¸. , . ><(((º>`·.¸¸.·´¯`·.¸><(((º>
 | 
       
        | Back to Top |       | 
       
       
        |  | 
        | dhoward Admin Group
 
  
  
 Joined: June 29 2001
 Location: United States
 Online Status: Offline
 Posts: 4447
 | 
          Spencer,
           | Posted: March 08 2013 at 12:45 | IP Logged |   |  
           | 
 |  
 Naw, its my problem.  With 2.1.4 being a beta, I didnt update the editor function list or the help file so just documented the function on the forum.  So you're fine with it not highlighting in the editor and it appears that you've figured out the syntax.
 
 The ph_geturl1 function is just an enhancement of the original function and should include the original functionality.  The original function (ph_geturl) only opened a raw socket to the requested URL and formatted the HTTP request.  One of the options in the ph_geturl1 function (second parm) allows you to use a dedicated HTTP request control licensed from Catalyst for additional compatibility.  Didnt want to just replace the existing functionality though in case some people were relying upon some peculiarity of it so created the new function
  . 
 Dave.
 
 | 
       
        | Back to Top |       | 
       
       
        |  |