Advice on Post action

shabbysquire

Client
Регистрация
25.11.2012
Сообщения
544
Реакции
26
Баллы
28
Just trying to get my head around creating new accounts via the Post action, but would appreciate some help.

Here is my plan:

1) Use Get for the registration page, and grab the header for cookies,
2) Regex the cookies (to use in Post)
 
Последнее редактирование:
Ok Shabby,

Here is what I have found doing GET and POST requests on wordpress. Set the redirect to 1 on all your requests. Cookies that you need to login are in a redirect so you need to stop redirect so you can regex out cookie strings. Just fyi.
 
Thanks, never thought to capture cookie on redirect.
 
in the last version curl redirects with the cookies, but if you've got some invalid\expired or "deleted" cookies, must delete them and not use the redirect...
 

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)