PHP Session help

Hello everyone,

I'm having trouble with PHP sessions. I have Zen Cart installed in my server, when you log into zen cart, it creates a session named zenid with an integer variable customers_id and stores the ID # of the logged in user.

I need a very small script written that will:

1) Detect if there's an open zen cart session (from the zenid cookie)

2) If there's an open zen cart session, display the contents of customer_id session variable

3) If there's no open zen cart session, create one and set the customer_id to a value hardcoded into the script

That's it! I'm very easy to work with, and this can be a quick and easy rating and payment.



* * *

UPDATE: I want to add some more information here to help with your bidding, when I'm logged into Zen Cart, I can add:


to zencart's [url removed, login to view] and it will output the contents of all the session variables including customer_id, the one I need.

If I create a script in the same folder of the same domain with these contents:








It will output the session id (zenid) in the $_REQUEST contents, but the $_SESSION is always empty, even though the $_SESSION will display fine from inside zencart.



## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

PHP 4, Zen Cart (1.3.x or whatever the latest version is)

Habilidades: Vale Tudo, Engenharia, MySQL, PHP, Arquitetura de software, Teste de Software, Hospedagem Web, Gestão de Site , Teste de Website

Veja mais: zencart latest version, session php, latest zen cart version, value stores, index php id, a quick program to be written, web die, session, help with my b, small php script variable, detect php, cookie 3rd party, zen cart open cart, zencart quick update, detect help, session script, web user session, value engineering, cookie detect php, add folder cart, need help open cart site, domain value script, php form output display, php log form, open cart version

Acerca do Empregador:
( 22 comentários ) Fulton, United States

ID do Projeto: #2962039

3 freelancers estão ofertando em média $15 para esse trabalho


See private message.

$17 USD em 1 dia
(72 Comentários)

See private message.

$19.55 USD em 1 dia
(26 Comentários)

See private message.

$8.5 USD em 1 dia
(27 Comentários)