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
QRQ(1)								   User Manuals 							    QRQ(1)

NAME
qrq - High speed Morse telegraphy trainer SYNOPSIS
qrq qrqscore [OPTION] DESCRIPTION
qrq is an open source Morse code trainer for various platforms and operating systems, similar to the classic DOS version of Rufz by DL4MM. It's not intended for learning telegraphy (have a look at http://radio.linux.org.au/ for CW learning software), but to improve the ability to copy callsigns at high speeds, as needed for example for contesting. After starting the software and setting up the parameters (speed, CW waveform...), the program sends 50 amateur radio callsigns. When entering a copied callsign correctly, the speed increases, otherwise it decreases. Points are awarded for correctly copied callsigns, depending on the speed. A scoreboard/toplist exists on the author's website, at http://fkurz.net/ham/qrqtop.php. The local toplist file can be synchronized with the online toplist with qrqscore -d and you can upload your own top scores by invoking qrqscore -u. FILES
qrqrc Default configuration file callbase.qcb Database of amateur radio callsigns used by qrq. Other files may be loaded. toplist Default toplist file qrq is looking for these files in the current directory, in ~/.qrq/ or in DESTDIR/share/qrq/ (in that order). In the latter case, ~/.qrq/ is created, for an user-specific toplist and configuration. AUTHOR
Fabian Kurz, DJ1YFK <mail@fkurz.net> - http://fkurz.net/ham/qrq.html SEE ALSO
morse(1) Linux December 2011 QRQ(1)
All times are GMT -4. The time now is 07:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy