PHP Post to other Servers
------=_NextPart_000_0319_01C64178.9A72BED0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Want to load balance a server and send image uploads to a different box with
PHP installed. What would the correct method to authenticate on the second
machine and send without ruining user experience by sending them to a second
page?
Initial thought was to keep the box address inside of the box address?
- Rob
------=_NextPart_000_0319_01C64178.9A72BED0--
Re: PHP Post to other Servers
Robert Sandie wrote:
> Want to load balance a server and send image uploads to a different box with
> PHP installed. What would the correct method to authenticate on the second
> machine and send without ruining user experience by sending them to a second
> page?
For what purpose are you sending the uploads to a different box?
You could always keep the image in the database, then you don't need to
worry about which server has the image and which doesn't, always get it
from the db.
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: PHP Post to other Servers
> For what purpose are you sending the uploads to a different box?
There will also be Video uploads as well so I had to nix the database idea.
Am running a media server as well of this box so there is considerable
processing already going on. Now I may be looking at this from the wrong
perspective and was hoping to gain some insight into this methodology.
- Rob
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: PHP Post to other Servers
My suggestion is that you use the ftp functions of php. With this you can
put your files into anywhere do you want.
Robert Sandie wrote:
> Want to load balance a server and send image uploads to a different box
> with PHP installed. What would the correct method to authenticate on the
> second machine and send without ruining user experience by sending them to
> a second page?
>
>
>
> Initial thought was to keep the box address inside of the box address?
>
>
>
> - Rob
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php