473,387 Members | 1,485 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Create and use a cookie for a website in PHP?

Hi.

I use VB.NET to create a soft which POST data in a website writed
in PHP. First, I must to login in this website with a username and
a password.
After, I must use this cookie to post, to naviguate in this site.

Can I write a cookie in LOCAL (with cookie's value : username,
password, path , time expire...) and use this cookie in order to
POST in this website ? The website can accept my cookie ?
Can I have a code exemple please ?

Thank you.

----------------------------------------------
Posted with NewsLeecher v2.0 Final
* Binary Usenet Leeching Made Easy
* http://www.newsleecher.com/?usenet
----------------------------------------------
Nov 21 '05 #1
1 1060
You could use Indy.Sockets for this. Indy.Sockets implements a much more
advanced Http client, but Indy isn't limited to Http. It implements over 100
protocols.

Greets,

Matthijs ter Woord
Team Indy


"doihe" <tr****@ru.com> wrote in message
news:d%******************@fe63.usenetserver.com...
Hi.

I use VB.NET to create a soft which POST data in a website writed
in PHP. First, I must to login in this website with a username and
a password.
After, I must use this cookie to post, to naviguate in this site.

Can I write a cookie in LOCAL (with cookie's value : username,
password, path , time expire...) and use this cookie in order to
POST in this website ? The website can accept my cookie ?
Can I have a code exemple please ?

Thank you.

----------------------------------------------
Posted with NewsLeecher v2.0 Final
* Binary Usenet Leeching Made Easy
* http://www.newsleecher.com/?usenet
----------------------------------------------

Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Navin | last post by:
hi, guys my website is on server say servera. i have a website on serverb now servera and serverb are on different domians... if serverb website creates a cookie on client pc with domain say...
1
by: Rahul Chatterjee | last post by:
Hello All I have an asp page problem (the nature is slightly complex so please bear with the long winded explanation). We have a sandbox front end domain and a sandbox backend domain. The...
1
by: HorseGeek | last post by:
I have three servers: Server1, Server2, and Server3. There is a login cookie does not expire for SOME users on Server2. Ironically, the login cookie expires correctly for ALL users on the...
3
by: Aah | last post by:
here is my code which is use to create a cookie for some reason when I use the domain property I am not able to see the cookie in my cookies folder. But when I comment out my domain property, I...
4
by: 23s | last post by:
I had this problem in the past, after a server reformat it went away, and now after another server reformat it's back again - no clue what's doing it. Here's the flow: Website root is public, no...
2
by: marc | last post by:
Can you somehow make a new cookie in javascript code and then use that cookie in a new http session using Window.Open? It does not seem to be one of the parameters. I could open the window as...
1
gagandeepgupta16
by: gagandeepgupta16 | last post by:
Hi I have one website -A in which there is an Iframe. 1. If i call another website -B inside the iframe in A then cookie is not getting created. 2. If the same website B is directly opened on...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.