Two fgetcsv related questions ;D


Posted on 16th Feb 2014 07:03 pm by admin

First of im trying to get a file from a merchants server but the directory is protected, I know the user and pass obviously but im wondering how i can pass the login details through to the script automatically as i run the job as a cron.

Secondly i cant seem to find any information on this but i also have a gzip file im trying to open using fgetcsv, do i need to add anything to get this to work, does fopen suffice for this or is there a better function for this?

Thanks

68 Like 22 Dislike
Previous php-forum Next php-forum
Other php-forum

search function
HI guys,

if anyone could point us in the right direction of how to do this, or provide some t

Required to login help
I'm trying to set up my site so users have to be logged into the forum to access the site.I've been

Having Problem with Date
l have a submit buttom where user have the possibility to add a date to specify when his message s

Redirecting Admin
In my members table, I have a field called "perm" and it's set to zero for all members. Ho

error help - Dynamic Image
I've been working on making my site less cluttered in the directories and more secure lately. In an

Form errors in an array
I'm processing a form and putting the errors in an array. empty($errors) doesn't seem to do the tric

Random Number Generation And Probability
Hello, I am working on a function which has to insert data into a SQL table.

we have to suppl

Nested (echoed) php running wrong script
Got a problem with a php website I'm creating.

In a nutshell, the first page is entirely html

PDO returns erroneous columns from within pdt
Hi All,

This is a truly weird behavior:
When using a simple pdo fetch, erroneous columns a

Google Wave
So... has anyone used it yet? Is it any good?

http://wave.google.com/help/wave/about.html#vid

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash