beginner PHP help
- Started
- Last post
- 4 Responses
- vaxorcist0
this may require more info about how the other server is setup.... and if your server has the CURL library....
to find out if your server has CURL, write a one-line program:phpinfo.php
<?
phpinfo();
?>
upload it, and go to you.com/phpinfo.phpand then search the results page for "curl" and see if it's there....
- Nirb0
Some server setups will also accept the username and password being passed withing the url like this "<user>:<password>@<host>:<port>/<url-path>"
- mikotondria30
You might try some curl:
http://www.electrictoolbox.com/p…
- Stugoo0
I have the correct credentials btw :)
- Stugoo
Im trying to use file_get_contents from another server I have access to so that I can pull some response data onto a page. But the data lives behind a system un/pw feild, like so :
any ideas how to get around this? do i pass a parameter via the query string? Ive had a shot of this but no luck so far...
cheers