Register
Login
Contribute
Subscribe
RSS
News
FAQForge
ISPConfig
Subscribe
Contribute
Forums
Howtos
Navigation
Howtos
Linux
Android
CentOS
Debian
Fedora
Kernel
Mandriva
PCLinuxOS
SuSE
Ubuntu
Web Server
Apache
Cherokee
Lighttpd
nginx
Backup
Control Panels
ISPConfig
DNS
BIND
MyDNS
PowerDNS
djbdns
Desktop
Email
Anti-Spam/Virus
Postfix
FTP
High-Availability
Lighttpd
Monitoring
MySQL
Programming
C/C++
PHP
Samba
Security
Anti-Spam/Virus
Storage
Virtualization
KVM
OpenVZ
VMware
VirtualBox
Xen
Other
FreeBSD
Commercial
Mini-Howtos
Linux
Apache
Backup
DNS
Errors
FTP
MySQL
Networking
PHP
Postfix
Security
Sendmail
Shell
Other
ISPConfig
Forums
Contribute
Create Content
Subscription
Login
Site Map/RSS Feeds
Facebook
News
Linux gamers trying to convince Blizzard, EA and Co.
Steganography In Ubuntu, Hide Your Files Inside An Image
Dell Kills OpenStack Public Cloud Initiative
Atom-based Samsung Galaxy Tab 3 10.1 rumors abound
Microsoft Releases Skype For Linux 4.2, Has Bug-Fixes
Linux Games: Haunt
Accessing the Raspberry Pi’s 1MHz timer
Test-Driving Development for the Firefox OS Phone
CrunchBang 11 Waldorf Review
VMware Cloud and Zimbra Open Source Email: Countering Microsoft Office 365?
more
Recent comments
Merci
1 day 3 hours ago
I found that php_flag
1 day 8 hours ago
Great stuff!
1 day 9 hours ago
Wonderful Howto
1 day 10 hours ago
Hoi,do not plan on virtual
1 day 12 hours ago
Thank you for posting
1 day 16 hours ago
Thank you. Â Excellent
1 day 17 hours ago
Re: The structure of the passdb file
1 day 19 hours ago
using googles open dns 8.8.8.8 8.8.4.4
2 days 8 hours ago
Re: Re: Re: Re: I can't believe people are
2 days 10 hours ago
Newsletter
Subscribe to HowtoForge Newsletter
and stay informed about our latest HOWTOs and projects.
(To unsubscribe from our newsletter, visit this
link
.)
English
|
Deutsch
|
Site Map/RSS Feeds
|
Advertise
HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials
>
Linux Forums
>
Programming/Scripts
server type in php ?
User Name
Remember Me?
Password
Register
FAQ
Members List
Social Groups
Calendar
Search
Today's Posts
Mark Forums Read
Do you like HowtoForge? Please consider supporting us by
becoming a subscriber
.
Thread Tools
Display Modes
#
1
8th October 2008, 03:46
qwe010
Member
Join Date: Nov 2006
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
server type in php ?
hello
how can i know the server type/OS
for remote server in php ?
i found that
Code:
curl -I http://www.google.com
but no server allow the clients to execute command
is there another way ?
i see
http://www.php.net/get_headers
But i use Curl
to check the site
can I show the header
Separate than the site ?
qwe010
View Public Profile
Send a private message to qwe010
Find all posts by qwe010
Sponsored Links
#
2
8th October 2008, 12:54
falko
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
To use curl from PHP, you can use the exec(), passthru(), or system() function.
__________________
Falko
--
Download the
ISPConfig 3 Manual
! | Check out the
ISPConfig 3 Billing Module
!
FB:
http://www.facebook.com/howtoforge
nginx-Webhosting: Timme Hosting
| Follow me on:
falko
View Public Profile
Send a private message to falko
Visit falko's homepage!
Find all posts by falko
#
3
8th October 2008, 18:22
qwe010
Member
Join Date: Nov 2006
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
no falko no server allow the clients to execute command
i use curl like that
Quote:
curl_setopt ($ch, CURLOPT_HEADER, 1);
to show the header
but can I show the header
Separate than the site ?
qwe010
View Public Profile
Send a private message to qwe010
Find all posts by qwe010
#
4
26th November 2008, 07:55
nicephotog
Junior Member
Join Date: Nov 2008
Location: Australia
Posts: 17
Thanks: 0
Thanked 2 Times in 2 Posts
...for remote server in php ?...
In CGI there is a system known as penetration testing and fingerprinting.
http://nmap.org/
nicephotog
View Public Profile
Send a private message to nicephotog
Visit nicephotog's homepage!
Find all posts by nicephotog
Bookmarks
Digg
del.icio.us
StumbleUpon
Google
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
BB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Forum Rules
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Linux Forums
HOWTO-Related Questions
Installation/Configuration
Server Operation
Desktop Operation
Kernel Questions
Programming/Scripts
Technical
Suggest HOWTO
ISPConfig 3
General
Installation/Configuration
ISPConfig 3 Priority Support
Plugins/Modules/Addons
Tips/Tricks/Mods
Feature Requests
Developers' Forum
ISPConfig 2
General
Installation/Configuration
Tips/Tricks/Mods
Feature Requests
Developers' Forum
MyDNSConfig
General
Other Forums
Smalltalk
Forum Suggestions
Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
How to add a subdomain?
malinens
Installation/Configuration
2
10th March 2008
23:16
network issues now it says "401 The web site is blocked by administrator"
Check
General
3
26th February 2008
14:22
subdomain and mail relay configuration
aranthorn
Installation/Configuration
24
3rd September 2007
22:53
Transferring Hard Drive to new System
latcarf
Installation/Configuration
26
20th February 2007
18:51
Webmail Relay Error
palkat
General
17
23rd April 2006
18:12
All times are GMT +2. The time now is
05:28
.
Contact Us
-
HowtoForge - Linux Howtos and Tutorials
-
Archive
-
Top
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Recent comments
1 day 3 hours ago
1 day 8 hours ago
1 day 9 hours ago
1 day 10 hours ago
1 day 12 hours ago
1 day 16 hours ago
1 day 17 hours ago
1 day 19 hours ago
2 days 8 hours ago
2 days 10 hours ago