Jump to content

Recommended Posts

you can send file with GET.

 

make site 1 go to a link like this of site 2.

http://www.site2.com/information.php?username=demo&email=demo@site.com

 

information.php

print_r($_GET); // to view values that you got from site #1

 

what exacly do you want to share over two sites?

Link to comment
https://forums.phpfreaks.com/topic/158510-silly-question/#findComment-835959
Share on other sites

If its a different page on the SAME site then just use sessions or cookies

if its the same site or even another site you can use POST or GET (html forms)

it its same site you could include the file and all values will work..

 

can you explain what your trying.

Link to comment
https://forums.phpfreaks.com/topic/158510-silly-question/#findComment-835962
Share on other sites

First of all thaks a lot for every info so far...

I guess I should be more specific. What I need is get a integer that represents a bank balance of customer from a database, store it to a variable for exemple $balance. This should be happening on the first page and I think it's not problem to do for me. On second page I want to use this integer to see if user can transfer some amount of money and in second step decrese his curent balance.

Big deal for me is hov to transfer this balance.

I hope I made my selfe clear.

Thanks for all your help.

Link to comment
https://forums.phpfreaks.com/topic/158510-silly-question/#findComment-835983
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.