Full Discussion: open a web link from
Top Forums Shell Programming and Scripting open a web link from Post 302299069 by pludi on Thursday 19th of March 2009 06:14:15 AM
Old 03-19-2009
One of those should work, depending on what tools you have available
$ lynx -source http://www.domain.com/something.php?smt=SOMEDATA >/dev/null 2>&1
$ links -source http://www.domain.com/something.php?smt=SOMEDATA >/dev/null 2>&1
$ w3m -dump_head http://www.domain.com/something.php?smt=SOMEDATA >/dev/null 2>&1
$ netcat www.domain.com 80 <<EOF >/dev/null 2>&1 # Sometimes installed as nc, the line prior to EOF is completely empty
HEAD /something.php?smt=SOMEDATA HTTP/1.1
Host: www.domain.com
Connection: close
Accept */*

The following only works in bash and some versions of ksh
$ exec 3>/dev/tcp/www.domain.com/80 && echo "HEAD /something.php?smt=SOMEDATA HTTP/1.1
Host: www.domain.com
Connection: close
Accept */*

" >&3


6 More Discussions You Might Find Interesting

1. UNIX IEEE Std 1003.1-2001 (POSIX.1)

Link to the Open Group (UNIX Standards)

Click HERE to learn about The Single UNIX Specification, Version 3 Or: Here is another link to the UNIX IEEE Standard, an Open Group Technical Standard, Issue 7 Keywords UNIX® is a registered trademark of The Open Group (0 Replies)
Discussion started by: Neo
0 Replies

2. Solaris

Solaris 10 - Web link - Course Catalog

For anyone thats interested - Please see link below for Solaris 10 info describing new features/enhancements, changes to commands and also removal of some features. Admintool etc... http://training.sun.com/US/catalog/courses/WS-9000-S10-90.html (0 Replies)
Discussion started by: frustrated1
0 Replies

3. UNIX for Dummies Questions & Answers

need help and coroporation About Open Source Web Conferencing System Backtalk

hi All peopel im loooking for help from someone who could help me to install this Backtalk Open Source Web Conferencing System you can download it from http://www.unixpapa.com/backtalk/ so plz anyone know how install it into my website help me or email me so we cna discuse and corporate... (0 Replies)
Discussion started by: ksar001
0 Replies

4. Solaris

Can't open netscape web-browser

I am working in solaris 9 and i want to work with web-browser(netscape). but when I am openning it,it shows the message -- An error occurred reading the startup configuration file.Please contact ur administrator./.netscape/preferences.js,line 66:unterminated string literal.t, please... (3 Replies)
Discussion started by: smartgupta
3 Replies

5. Programming

g++ fails to link to static library when compilation and link in single command

Hello All, I've encountered a strange behaviour from g++ that doesn't make sense to me. Maybe you can shed some light on it: I have a bunch of source files and want to compile them and link them with a static library liba.a located in /usr/local/lib64 into an executable Approach 1 works... (0 Replies)
Discussion started by: magelord
0 Replies

6. UNIX for Advanced & Expert Users

Open a webbrowser link from shell script

Hi All I have a task which is manually submitted from a web browser link, by entering a value. This has an xml code as well. I am looking for options to automate the above to avoid manual intervention/dependency. Is there a way I can achieve this using shell script? Either open the link by... (3 Replies)
Discussion started by: sparks
3 Replies
php-config(1)							Scripting Language						     php-config(1)

php-config - get information about PHP configuration and compile options SYNOPSIS
php-config [options] DESCRIPTION
php-config is a simple shell script for obtaining information about installed PHP configuration. OPTIONS
--prefix Directory prefix where PHP is installed, e.g. /usr/local --includes List of -I options with all include files --ldflags LD Flags which PHP was compiled with --libs Extra libraries which PHP was compiled with --extension-dir Directory where extensions are searched by default --include-dir Directory prefix where header files are installed by default --php-binary Full path to php CLI or CGI binary --php-sapis Show all SAPI modules available --configure-options Configure options to recreate configuration of current PHP installation --version PHP version --vernum PHP version as integer SEE ALSO php(1) VERSION INFORMATION
This manpage describes php, version 5.3.2. COPYRIGHT
Copyright (C) 1997-2006 The PHP Group This source file is subject to version 3.01 of the PHP license, that is bundled with this package in the file LICENSE, and is available through the world-wide-web at the following url: http://www.php.net/license/3_01.txt If you did not receive a copy of the PHP license and are unable to obtain it through the world-wide-web, please send a note to license@php.net so we can mail you a copy immediately. The PHP Group 2006 php-config(1)

Featured Tech Videos

All times are GMT -4. The time now is 03:01 PM.
Unix & Linux Forums Content Copyright 1993-2021. All Rights Reserved.
Privacy Policy