note 35752 added to fsockopen

From: Date: Sat, 13 Sep 2003 04:23:52 +0000
Subject: note 35752 added to fsockopen
Groups: php.notes 
Request: Send a blank email to php-notes+get-56421@lists.php.net to get a copy of this message
Hello, I using the fsockopen() function to send POST data to a webpage that process SMS message sending. I need to create a PHP script that send multiple messages to Cell Phones of my clients, but in repeated times. So I did a script that takes all the form fields of the cell phone company website and put it on a post with fsockopen and send it to the server, but it dont work, I think is because the server check if the referrer of the post is the same server, but because of Im using my server to send the post then the processing server identifies my server and denies the access. How can i send in the post the referrer name?? Thanks in advance Octavio ---- Manual Page -- http://www.php.net/manual/en/fsockopen.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35752 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35752&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35752&report=yes

« previous php.notes (#56421) next »