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.

Did you know?Explore Trending and Topic pages for more stories like this.
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

Formatting echo from database
So I have a database that stores First and last names, then echos them back to a website, as of now

apart from cron
I need to run a php file every one hour. Is there any other solution apart from cron job?

Create or replace package is ending ORA-21700
Database 9.2.0., patch 8 (9.2.0.8.0).
I trying run
create or replace package ....etc.

Display the user's weight lost in the past week
Hello everyone,

I am working on a weight loss app for my site, and I want to display the user

Code working in IE but not FireFox
I created a dynamic navigation list for my website based off of a table in my database. The code is

Do While statement
hi guys,

This may sound trivial but im new to php and as part of an assignmenti have to const

Beginner PHP code help
Hi I'm new to php but if someone could please read the question below and help it would be great.

Locking mysql tables with php
Hi

BACKGROUND:
I have multiple instances of the same php script running in a WAMP environ

insert Multiple rows into the table from that table data
Hi All,

I have a requirement like to insert mulitple rows into the table from that

Code error with Index.php
Error: Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/runevid/public_

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