Curl & sessions PLS HELP


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

Hello,

I have a problem with curl and sessions and i will try to explain the best i could.

01. I want to download a file from (http://subdomain.example.com/name-13075.html) with curl.
02. The problem is: when i access (http://subdomain.example.com/name-13075.html) a cookie is stored with name (PHPSESSID), content(23ad67e9f817407224d7bdc367c040a4), domain(.example.com), path(/).
03. Another thing that i find is: when i am on (http://subdomain.example.com/name-13075.html) i can download that file but if i access the download link in a new tab i get "Download failed".

And i try like a week to get this done but with no results.

Anybody could help me? I really need to get this done and i really apreciate any help.

If you could show me an example or something would be great.

Thanks a lot and sorry for my bad english

No comments posted yet

Your Answer:

Login to answer
114 Like 33 Dislike
Previous forums Next forums
Other forums

Extracting Long text from message class with parameters
Hi,

I would like to extract the long text from a message class. However, the long text ha

Amatuer requiring assistance
Beginner and amateur in need of assistance

My Site - (Spare Parts for Domestic Appliances)

Extracting Long text from message class with parameters
Hi,

I would like to extract the long text from a message class. However, the long text ha

Move array index to end
Hey guys,
Quick question:

I have an array that looks like this:
Code: [Select]$var =

subtract 1 from value entered in text field
Hi

How do I subtract 1 from the vaue entered into a text field?

Thanks

Concatenate two strings ???
I have string one $string1 and another $string2.

How to concatenate (add) both of them $str

an interesting question
Greetings folks, got to ask an interesting question...

let say
i have created a function s

Problem related to Creation of PDF File?
Hi All,
I am facing a problem related to creation pdf file. when I am creating a pdf file of do

Help with form post data and arrays
Hi all,

I am new to this forum... It has been awhile since i have worked with arrays, and i a

Vertical Alligning - Not working in 1 cell?
<?php

echo "<table id="valign" width="60%" style=

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