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

Will an XHTML DOCTYPE interfere with my PHP if I'm not experienced enough?
I've read this article here: http://friendlybit.com/html/why-xhtml-is-a-bad-idea/

In a nutshe

Blank record injected into database
I always found several blank records inside my database, although $SESSION is required to insert the

mysql select query problem
how can i select multiple fields from multiple table in one query like

i have table name t1 a

Simple MySQL query...
Hello,
How could I do a mysql query that does this: SELECT * WHERE date/time < 5minutes ag

Multiple while loops
I have several DB queries that I know should be returning results and aren't. I have a feeling it ha

Do not allow posting of whitespace
Currently the script below works if the user does not type a name/message, but if i create a whitesp

Storing Values taken from a DB...
Using this code it will generate a short list from my database

<?php
mysql_connect

Hit counter updating once per IP - IP HIT COUNTER
I have a hit counter, for the amount of views on a tutorial.
It'll do the query and then do..

update sql when refresh - php
hi
I have made a table (attachement)

the users can update the sql database using + or x bu

ALV grid with 2 headers
Hi Gurus,

I need to display ALV GRID as below.

Header1

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