I have looked through google and can’t find a good example of which I want.
I have a URL within Curl and i have a session variable i need to add to the URL.
how do i do this?
My code is:
<?php session_start(); echo $_SESSION['userID']; $userId = $_SESSION['userID']; $service_url = 'http://126.96.36.199/app/api/user/$userId.xml';I am getting errors
Warning: simplexml_load_file(): I/O warning : failed to load external entity “http://
188.8.131.52/app/api/user/1%6Cbr%9H.xml" in D:\wamp\www\test\testfolder\authenticated.php on line 23