Sponsored Content
Top Forums Web Development php script + not displaying webpage Post 302294155 by JamesGoh on Wednesday 4th of March 2009 04:30:27 PM
Old 03-04-2009
php script + not displaying webpage

Hi guys

Im in the process of designing a website for my company which does the following

1) Daily execution a perl script. The perl script's output is diverted to a .html file.

2) The .html file generated from 1) sets up a centralised webpage showing options as radio buttons (the radio buttons are given the same name to show grouping)

3) When clicking on one of the radio buttons, a .php script is executed which should show a webpage with a simple message in it.

The html code for the part with radio buttons is

Code:
<form action = "process.php" method="post">
<br/>
<input type="radio" name="group"  value = "member1"/>
<br/>
<input type="radio" name="group"  value = "member2"/>
<br/>
<input type="radio" name="group"  value = "member3"/>
</form>


And the .php script code (which is a separate .php file) is

Code:
<?php

print "<p>";
print "hello world";
print "</p>";

?>

I have executed this under the main html directory of my machine, so Im not sure what I could be doing wrong.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Calling an Expect script from a Webpage using PHP

I have a webpage that is in HTML and PHP. In PHP I have tried using exec, system, shell_exec and passthru functions to call an Expect Script file (temp.exp). This Expect file spawns a telnet session that uses "expect/send" commands to retrieve information from an environmental unit (not a normal... (0 Replies)
Discussion started by: CCUSmith
0 Replies

2. Shell Programming and Scripting

Run a script from a webpage

Hello, I was trying to run a shell script when I click on webpage link. My webpage is hosted on Sun One web server. This is something I was looking, Chris Johnson's Test Bed I already have my shell script and it works fine when I run it from the command line. Can somebody tell me what are... (3 Replies)
Discussion started by: grajp002
3 Replies

3. Web Development

[php] webpage with login & mysql-db

Hi all, What I was looking for before was a multi-user password manager, web-based! The offer of free or cheap tools of this kind is very pover. Or they are too complex (or too expensive) I'm not a web programmer but I now decided to set up a (php) website with login and based on this login... (1 Reply)
Discussion started by: thibautp
1 Replies

4. Shell Programming and Scripting

how to convert a shell script to a php script for displaying next word after pattern match

I have a shell script which I made with the help of this forum #!/bin/sh RuleNum=$1 cat bw_rules | sed 's/^.*-x //' | awk -v var=$RuleNum '$1==var {for(i=1;i<=NF;i++) {if($i=="-bwout") print $(i+3),$(i+1)}}' Basically I have a pages after pages of bandwidth rules and the script gives... (0 Replies)
Discussion started by: sb245
0 Replies

5. UNIX for Dummies Questions & Answers

svn not displaying author name webpage

I am running Ubuntu Lucid, I installed Subversion (svn 1.1.6) and apache2.2.14, it is working fine I could commit repository. The problem is, on the web page it is not showing the Author name and modifies date. What am I missing? What am I doing wrong? Can you help please? (0 Replies)
Discussion started by: hassan1
0 Replies

6. Shell Programming and Scripting

Use Webpage to Start Script

I apologize if this is in the incorrect section, I'm not quite sure which section it should go in. Anyways... I've got a script that I'd like to be able to start with a webpage, something that just has a button that says "Start this Bot", which will start the bot and put it in the background.... (4 Replies)
Discussion started by: JoeGazz84
4 Replies

7. UNIX for Dummies Questions & Answers

How to submit form on an php webpage from command line?

Hello, i have page domain.com/form.php the form fields on form.php are named: name=ipaddress name=port and submit button is named: submit i want to ask how the linux command will look like to submit the form filled with: ipaddress: 127.0.0.1 port: 80 I tried various curl and... (5 Replies)
Discussion started by: postcd
5 Replies

8. Shell Programming and Scripting

Executing Shell Script from PHP Webpage

Hello , I am trying to execute a small shell script from a PHP Webpage. Below is the shell script : 1.sh $ cat /home/oracle/rahul/1.sh #!/bin/ksh echo "`date` : Report generation in progress" > /home/oracle/rahul/report.txt echo "Run successfully script"; Below is the PHP... (1 Reply)
Discussion started by: rahul2662
1 Replies

9. Web Development

Display received sms on webpage - php

Hello, Scenario: Send sms from putty and display it on webpage. I have rented an short message service from a company and set callback url to my vps. PHP is installed in my vps . my mobile phone is: ********85** receipent mobile phone is: 49********* callback url is redirected to... (0 Replies)
Discussion started by: baris35
0 Replies

10. Shell Programming and Scripting

Running php index.php as shell in webpage

so i have a bit of a unique situation. i have an encrypted index.php file that that can't be run the normal way that a web browser would run it. if it is run the normal way, the php script will show only gibberish on the web browser, instead of the actual php code. when run from the command... (8 Replies)
Discussion started by: SkySmart
8 Replies
GTP(4)							   BSD Kernel Interfaces Manual 						    GTP(4)

NAME
gtp -- Gemtek PCI FM radio device SYNOPSIS
gtp* at pci? flags 0x00 radio* at gtp? DESCRIPTION
The gtp driver provides support for the Gemtek PCI and Guillemot MaxiRadio FM2000 FM radio tuners. The Gemtek PCI cards are stereo FM tuners that can tune in the range 87.5 - 108.0 MHz, report signal status and stereo/mono on the current frequency, force audio output to mono, perform hardware signal search, and have an internal AFC. The card is based on the TEA5757 chip; see radio(4) for details. The flags control the driver behavior. For example, with flags 0x01 the driver will assume that a TEA5759 chip is used. SEE ALSO
intro(4), pci(4), radio(4), radio(9) HISTORY
The gtp device driver appeared in OpenBSD 3.2 and subsequently in NetBSD 1.6 wherein it replaced the mr(4) driver. AUTHORS
The gtp driver and the man page was written by Vladimir Popov <jumbo@narod.ru>. BUGS
It is impossible to determine which frequency the card is tuned to. Thus, the driver will report an internally stored value even if it is not correct (changed by some program that uses direct port access). BSD
March 26, 2011 BSD
All times are GMT -4. The time now is 02:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy