Posts requests for a research article
Collapse
X
-
Hi Mark
I've tried to install apache server and php to run your code. Unfortunately, I wasn't that successful at it. Is there any way I can run this by uploading it on my server and by loading the file? Sorry for all inconvenience, you're of great help.
Wishes
RicoComment
-
Just upload it to your server. If PHP has cURL enabled (off by default - check your php.ini*), then it'll output the results to the screen.
* In your php.ini, look for the line ';extension=php _curl.dll' (or something like that) and remove the preceeding ';'.
Let me know if you need anymore help,
Mark.
PS: Remember to restart your server if you make changes to the configuration.Comment
-
Hi Mark
A friend helped me out running it on their server. I tested it with 4 entries (form a .txt) and got this output:
PHP Notice: Undefined offset: 1 in M:\web\uat\ftp_ exchange\Rico\c url.php on line 127
Array
(
[apple
] => 57 records
[dell
] => 52 records
[migros
] => 26 records
[laposte
] => 0 records
[wuala] =>
)
Which is great. I started running my list of 20'000+ entries (I hope this doesn't shock you). Apparently, it's quite slow and therefore works well. I didn't got blocked.
However, the first line PHP Notice appears again and again. I am not sure if all sets are processed.
Before I start running all through, I wanted to ask you the following:
1. how can I get rid of this PHP Notice?
2. I have some stranges company names like "A Beautiful Code" or "@Compass" or "23/6" - will spaces or symbols influence the query?
A sample of my text file:
A Beautiful Site
A Big Important Company
A Blog.Branding-Studio
A-1 Technology
a-steroids
A.T. Kearney
A1-4 Electronics, Inc.
A10 Networks
A123Systems
A1Vacations
A2 ltd
A2B Office Products
A2B Office Technology
Could they cause any problems with you script?Comment
Comment