| | |
HTTP request
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
Although I don't know anything about it there is a function called http_request(); and the official documentation can be found at http://php.net/manual/kr/function.http-request.php
Try not to bump 10 year old threads as it can be really annoying.
http://syntax.cwarn23.net/
My favourite PC. - MacGyver Fan
http://syntax.cwarn23.net/
Smilies: ^_* +_+ v_v -_- *~*` My favourite PC. - MacGyver Fan
•
•
•
•
Although I don't know anything about it there is a function called http_request(); and the official documentation can be found at http://php.net/manual/kr/function.http-request.php
If you need just a simple HTTP Request, you can use file_get_contents().
This makes a HTTP GET Request to the URL you give it (if the http wrapper is enabled allow_url_fopen).
You can also use the curl functions:
http://www.php.net/manual/en/ref.curl.php
Or see the docs on getting remote files:
http://www.php.net/manual/en/features.remote-files.php
For custom HTTP Requests use CURL or you can use fsockopen(), with fread() and fwrite().
Pear also provides a HTTP package:
http://pear.php.net/package/HTTP_Request2
www.fijiwebdesign.com - web design and development and fun
Cpanel Email - Let users Register email accounts on your website upon registration
Ajax Chat - Fully browser based chat!
Cpanel Email - Let users Register email accounts on your website upon registration
Ajax Chat - Fully browser based chat!
![]() |
Similar Threads
- Http request error when using AJAX. (JavaScript / DHTML / AJAX)
- Problem in identifying HTTP request field for enoded type (base64 or binary) (C++)
- Exctracting internet explorer request (C++)
- How many PHP scripts can run concurrently via http request? (PHP)
- HTTP request in C (C)
- send http request?? (C++)
- HTTP Request Message Issue (PHP)
Other Threads in the PHP Forum
- Previous Thread: number string
- Next Thread: Pop up and Email Reminder in agenda
| Thread Tools | Search this Thread |
.htaccess ajax apache api array beginner binary broken buttons cakephp checkbox class cms code cron curl database date directory display download dynamic ebooks echo email error file files folder form forms function functions google href htaccess html image include insert integration ip java javascript joomla limit link login loop mail mediawiki menu mlm mod_rewrite multiple mysql number oop paypal pdf php phpincludeissue phpmyadmin problem query radio random recursion regex remote script search server sessions sms soap source sp space speed sql subdomain syntax system table tag tutorial update upload url validation validator variable vbulletin video web websphere white xml youtube






