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://184.108.40.206/app/api/user/$userId.xml';I am getting errors
Warning: simplexml_load_file(): I/O warning : failed to load external entity “http://
220.127.116.11/app/api/user/1%6Cbr%9H.xml" in D:\wamp\www\test\testfolder\authenticated.php on line 23