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

Auto-populating dropdowns and multiple forms.
Here's what I have so far:

First drop down = select a state (works)
This populates the sec

OOP help
okay so i have a class im making it has everything setup i just need to randomize the 2 variables an

Adding delete feature to my forum
Hello I am currently trying to add a delete feature to my forum. I believe I have everything built r

Change image filetype on upload?
Hi,
I've got a form which uploads an image to the server.
Is it possible to change the image t

Simpler method of getting variables from mysql
Hi Guys,

I'm trying to streamline my CMS's code and as I was writing a new page it occured to

preg_replace question
Hello!!

I hope someone can help me with preg_replace.

I load two tables from an extern

Can I use a loop
Hi buddies!

Once again with my doubts here.

Right now I am using this sql stat

Need help with unexpected T-STRING error
I'm a newbie and I'm still learning PHP. However this error has me stumped. I've googled, searched t

how do i make a string??
hey guys,
can someone please tell me how to put data from the glob function into a string

Interpret Order
Hello all,

I'm wondering if I have this:

Code: $switch = array(
'one' =>

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