I'm looking but I know nothing about curl at all.
Hopefully I find something about it soon.
I'm looking but I know nothing about curl at all.
Hopefully I find something about it soon.
Pass 70
Well php file function is out of the question due to the feature disabled on the server.
Looks like I have to figure out this curl thing but after an hour of searching around I still haven't found anything like what I am looking for.
All I simply want to do is pull DATA from DOMAIN A into a links page on DOMAIN A and pull the same data to DOMAIN B on another links page.
Pass 70
This code kinda does what I want but it gives me a shit ton of errors.
Any idea why?
It doesn't matter how I do those links or urls it gives me errors whichever way.Code:<?php = curl_init("http://kustomchoice.com/links.txt"); = fopen("http://kustomchoice.com/links.txt", "w"); curl_setopt(, CURLOPT_FILE, ); curl_setopt(, CURLOPT_HEADER, 0); curl_exec(); curl_close(); fclose(); ?>
http://twist3d.net/test.php is the test page with the errors.
Pass 70
Try using the server file path.
Instead of the URL of the file, try:
/home/[cpanelusername]/public_html/path/to/file.txt
Tried adding this to a php.ini file but now it simply displays a blank page. LOL
so that has to be wrong. still scouting...
Code:<?php phpinfo(); ?> allow_url_fopen=off
Pass 70
This is how I use Curl to pull information from another domain:
Well, I did have code here but the forum keeps stripping out all the variable names when I use either "code" or "php" BBC tags. The first code block in this post is basically what I was trying to put here: http://blog.markheadrick.com/2009/11...rmance-issues/
Replace the URL accordingly.
Hope it helps,
There are currently 1 users browsing this thread. (0 members and 1 guests)