RE: [PHP] Forwarding $_POST Values
[snip] I have a server with all my clients websites on. However I have some clients who have their own servers. I want to be able to have a form on my site that allows users to log into their webmail, however if the client has their own server I need to forward the $_POST values to a login script on a different server, is this possible? Thanks for your advice. [/snip] Yes, it is possible. You're welcome. http://www.php.net/curl http://www.catb.org/~esr/faqs/smart-questions.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Forwarding $_POST Values
I have a server with all my clients websites on. However I have some clients who have their own servers. I want to be able to have a form on my site that allows users to log into their webmail, however if the client has their own server I need to forward the $_POST values to a login script on a different server, is this possible? I don't see why not. Set your form action=http://their.server.com/loginscript.php JM -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Forwarding $_POST Values
On Friday 09 December 2005 20:31, Jim Moseby wrote: I have a server with all my clients websites on. However I have some clients who have their own servers. I want to be able to have a form on my site that allows users to log into their webmail, however if the client has their own server I need to forward the $_POST values to a login script on a different server, is this possible? I don't see why not. Set your form action=http://their.server.com/loginscript.php It's also possible to perform an POST request. You have to use fsockopen an some HTTP Requests. Greets Boerni -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Forwarding $_POST Values
And if for some reason that's not viable, you can simulate a real POST method by using a socket connection and manually sending the POST variables. Take a look at this script: http://www.flashkit.com/board/history/topic.php/384942-1.html That looks about right (sorry, no time to test myself.. but that's the basic concept in a nutshell). -TG = = = Original message = = = I have a server with all my clients websites on. However I have some clients who have their own servers. I want to be able to have a form on my site that allows users to log into their webmail, however if the client has their own server I need to forward the $_POST values to a login script on a different server, is this possible? I don't see why not. Set your form action=http://their.server.com/loginscript.php JM ___ Sent by ePrompter, the premier email notification software. Free download at http://www.ePrompter.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Forwarding $_POST Values
[snip] Wow...what a helpful answer! Thankfully, other people responded to the guys question and didn't come off like smug pricks! [/snip] Been on mailing lists long? Who the fuck are you to critisize me buttwad? Probably some new, politically correct panty-waist who says Happy Holidays because he doesn't have the balls to say Merry Christmas. I saw that you had a better answer. Keep calling out people like this and you'll quickly earn a trip to /dev/null. Is that smug enough for you? Every four months or so some jerkwad joins the list and gets his sensibilities bruised when a terse reply is given to someone who a.) doesn't need defending and 2.) obviously did no research at all. There is a concept here called teaching a developer to fish. I wasn't rude and the links were quite helpful. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Forwarding $_POST Values
-Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: Friday, December 09, 2005 12:22 PM To: 'B.D.' Cc: PHP General (E-mail) Subject: RE: [PHP] Forwarding $_POST Values [snip] Wow...what a helpful answer! Thankfully, other people responded to the guys question and didn't come off like smug pricks! [/snip] Been on mailing lists long? Who the fuck are you to critisize me buttwad? Probably some new, politically correct panty-waist who says Happy Holidays because he doesn't have the balls to say Merry Christmas. I saw that you had a better answer. Keep calling out people like this and you'll quickly earn a trip to /dev/null. Is that smug enough for you? Every four months or so some jerkwad joins the list and gets his sensibilities bruised when a terse reply is given to someone who a.) doesn't need defending and 2.) obviously did no research at all. There is a concept here called teaching a developer to fish. I wasn't rude and the links were quite helpful. Well if you were not rude then you certainly are now - Too much correspondence with you in that vein could contaminate the environment. chuckles Also sounds like you have a few prejudices to grow out of .. who would you like to be when you grow up? BTW I suggest you use a dictionary if you cannot use a spellchecker. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Forwarding $_POST Values... please no flaming
Ok.. not one bit of this was necessary guys. Please take it off-list if you have personal problems that need resolving. Yeah.. people do join the list and expect to have their hands held through everything, or expect others to solve all their problems, but if the question offends you, it's better not to answer than to start a flame war. I took this question to be along the lines of How would you get PHP to send POST variables where as another solution (probably the better and simpler) was Yeah.. just put the full path of the other server in your FORM tag as it's action. This list is for PHP questions.. HTML and Javascript are kind of related so maybe someone thinks PHP can help and it turns out to be better solved through HTML or JS .. so be it. But bitching people out ISN'T a viable solution on this list. If you think the question is stupid or irrelevant, take it to private email or just delete it. Please. -TG = = = Original message = = = [snip] Wow...what a helpful answer! Thankfully, other people responded to the guys question and didn't come off like smug pricks! [/snip] Been on mailing lists long? Who the fuck are you to critisize me buttwad? Probably some new, politically correct panty-waist who says Happy Holidays because he doesn't have the balls to say Merry Christmas. I saw that you had a better answer. Keep calling out people like this and you'll quickly earn a trip to /dev/null. Is that smug enough for you? Every four months or so some jerkwad joins the list and gets his sensibilities bruised when a terse reply is given to someone who a.) doesn't need defending and 2.) obviously did no research at all. There is a concept here called teaching a developer to fish. I wasn't rude and the links were quite helpful. ___ Sent by ePrompter, the premier email notification software. Free download at http://www.ePrompter.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Forwarding $_POST Values WAY OT
[snip] Well if you were not rude then you certainly are now - Too much correspondence with you in that vein could contaminate the environment. chuckles Also sounds like you have a few prejudices to grow out of .. who would you like to be when you grow up? BTW I suggest you use a dictionary if you cannot use a spellchecker. [/snip] Sure, too much correspondence in the vein of the e-mail I just posted could be just very contaminating. How do you respond to someone who calls you a smug prick? ROFLMMFAO! As for who I want to be when I grow up; I want to be someone who does not hide behind an anonymous e-mail address while crtiquing someone for supplying terse, but correct, answers to others here for several years. Oh, wait Would my original reply have been any better if I had said RTFM, STFA, or STFW? I usually get taken to task for that as well. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Forwarding $_POST Values
vizion wrote: snip Well if you were not rude then you certainly are now - Too much correspondence with you in that vein could contaminate the environment. chuckles You should take your act on the road. Also sounds like you have a few prejudices to grow out of .. who would you like to be when you grow up? Ohh...Jay, take heed, we have an Internet psychologist here. BTW I suggest you use a dictionary if you cannot use a spellchecker. Holy cow...not his spelling. Oh dear, I bet he feels so bad now. It's not ofter one gets hit with a n00b slam like spelling. And for the OP: RTFM There, was that more to the point? -- By-Tor.com ...it's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Forwarding $_POST Values
Guys just stop. This should be the last post regarding this. On 12/9/05, John Nichel [EMAIL PROTECTED] wrote: vizion wrote: snip Well if you were not rude then you certainly are now - Too much correspondence with you in that vein could contaminate the environment. chuckles You should take your act on the road. Also sounds like you have a few prejudices to grow out of .. who would you like to be when you grow up? Ohh...Jay, take heed, we have an Internet psychologist here. BTW I suggest you use a dictionary if you cannot use a spellchecker. Holy cow...not his spelling. Oh dear, I bet he feels so bad now. It's not ofter one gets hit with a n00b slam like spelling. And for the OP: RTFM There, was that more to the point? -- By-Tor.com ...it's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Forwarding $_POST Values WAY OT
On Fri, 2005-12-09 at 15:40, Jay Blanchard wrote: ROFLMMFAO! I'm jest curious here... is that extra 'M' for massive? :B Cheers, Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com | :: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Forwarding $_POST Values... please no flaming
On Fri, Dec 09, 2005 at 03:36:59PM -0500, [EMAIL PROTECTED] wrote: Ok.. not one bit of this was necessary guys. Please take it off-list if you have personal problems that need resolving. What is ironic is that you just took it onto the list. Curt. -- cat .signature: No such file or directory -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php