Server :: Way To Get Script Started From HTML Form?

May 3, 2011

At our university server, I patched together a script (lets call it connect.py) that kind of glues together a series of calls to different other programs (the first one is in Python2.X, the second is a binary so I use os.system('/path/to/program input.pot') to start it, and the last is in Python3.X). It kind of seems to work well now when working under my user account, where the script has the permissions to call the programs, because I installed them.Now, when I want to start the connect script by pressing a submit button in an HTML form, naturally I start running into trouble. Now its no longer my user who is calling, but the server (Apache) with very limited rights. In the progress of writing the connect.py script, I had to do quite some environment adjustment so the various Python modules could be imported.

What is the easiest way to get the script started from an HTML form? I guess it would not be good practice to start extending the PATH variables of Apache, would it?

View 7 Replies


ADVERTISEMENT

Programming :: HTML Form Data In PHP Without Postback?

Feb 9, 2010

Just trying some programming with PHP. I need to write javascript code that contains some PHP code. The page extension is .php. I need to get the values from the HTML form text boxes in PHP variables without the click of submit button. I know there are these $_REQUEST, $_POST and $_GET functions that can do this. But they need a server hit for that. I need to somehow do it without hitting the server or hitting the server from javascript.

View 14 Replies View Related

Programming :: Two Elements Inside A Form In HTML?

Sep 18, 2010

For a search box on my site, I want a textbox, which will let the user input the term to be searched for, and next to it I want a drop down list that'll have, for example, "Fruit" and "Vegetables" as categories to be searched within. How do I do the HTML for this? (so that the arguments to my search.php script will be eg. "search.php?text=apples&type=fruit" ? )

View 3 Replies View Related

Programming :: Html <form> Doesn't Disappear After Using It?

Apr 15, 2010

I have a HTML <form> with two (input type text), and a submit button, after I enter the two values and click submit button, the x.php appear successfully but the HTML <form> still remain in the x.php page,how to hide the form from the x.php page

View 7 Replies View Related

Programming :: Make Date Of Birth Form In Html

Jun 2, 2011

How to make Date of Birth form in html....in short codes.....?

View 1 Replies View Related

Ubuntu Installation :: Firefox 3.6.8 Won't Let Me Upload Files Using HTML Form

Aug 3, 2010

I'm having a weird problem while uploading a file using a standard html form in Firefox 3.6.8(No extensions, except for the preloaded ones : Ubuntu Firefox modifications 0.9Rc2, mouse gesture redox 3.0.2 ). Anytime I try to upload a file whether on my localhost or at a website that offers a form with an input file, it fails. I'm just using test files, like small images. I've reinstalled my firefox, because I got this problem since 9.10 and now that I've upgraded to Lucid Lynx, I still have this issue. That's why I decided to do a fresh re-install using the same package I've downloaded previously when I did the ugprade. However, I still have the same result, the file never uploads to the server.

This happens when I use a simple html form with enctype="multipart/form-data". Though, when I use any other browser, like chrome, chromium, opera they just work fine. At my localhost, this is my code in one page, if you want to take a look, but as I say even with other websites the problem is happening too. Btw, the temp folders have written permissions (777)

PHP Code:

error_reporting(E_ALL);
ini_set('display_errors','On');
$currentDir = dirname(__FILE__);

[code]...

View 5 Replies View Related

Programming :: HTML Redirect With Form Being Submited OnLoad - Link Integrated With Flash

Feb 16, 2010

Got site hosted, up and running now trying to work out the website particulars.

Right here it goes, not sure if it is at all possible but any input would be much appreciated.

Here's the deal. Developing an easy straight forward online store integrated with EBSWorldpay . Not looking for any fancy stuff. What i would like to do is put a flash url link that would direct a user to a html file that contains a hidden form and it would submit it on load redirecting a user straight to EBSwordpay checkout. Simple HTML Redirect with submited form.

Check the link here it has the source code of the form that is required.: [url]

Trying to use Example 0.1 ( So instead of having a separate page with a "BUY" for the form to be submitted, I would like to get the form posted straight away which would in turn load the payment site. Would create a seperate html file for each item and have redirects on the main website linking to those onLoad submit forms.

View 1 Replies View Related

Ubuntu :: Webpage Editor To Create Form And Form Fields?

Jun 10, 2010

I've already tried Seamonkey to create a web page but can find no way to create a web form in which I want to create form fields. Before moving to Ubuntu I used Microsoft FrontPage to create web pages with form fields. This was easy to do. what is available to do the same in Ubuntu?

View 2 Replies View Related

Hardware :: No Form Feed After Printing Short Form?

Aug 13, 2010

We are using several printers on our Linux RH network to print customer invoices and receipts. Receipts are short forms of just 21 or 22 lines. Two of the printers (an HP LJ1300 and a Dell 5200) eject the receipt paper automatically; the other two HP (a LJ 4200 and a LJ2420) do not eject. You have to press the green button on the printer. Is there a solution to that? They are all set up with the same PCL settings.

View 3 Replies View Related

Ubuntu :: No Sound In KDE When Started By Startx While Working Fine When Started By Kdm/gdm

Dec 14, 2010

I recently installed KDE in my ubuntu 10.10. To access KDE, I want to use
startx /usr/bin/startkdeBut using it disables sound in KDE (Sound is working fine in GNOME). It doesn't sound for anything like login sound, totem, mplayer or any other playerBut when I press Alt+Ctrl+F1 to change to virtual console, the playback resumes from where it was in time and when coming back Alt+Ctrl+F7 and the time in totem (or any other player) doesn't move. While log out also it doesn't play logout sound and doesn't logout, so I have to press Ctrl+Alt+F1 so that logout sound play then it exits.When starting KDE by kdm or gdm, the sound works normally. But I don't want to login again using kdm or gdm and not to use root user to start kdm or gdm.I don't know what is the difference between when KDE is started by startx or by kdm/gdm where the same user login in kdm/gdm as that for startx

View 2 Replies View Related

Server :: Virtualmin Create Server From Web Form

May 28, 2010

in a PHP web page i need to run this following command to create a new domain:Code: virtualmin create-domain --domain DOMAIN --pass PASS --plan 'Standard Package' --limits-from-plan --features-from-plan.This is usually executed in a shell but i don't know how to do it from a web page and also i need to take the domain string and pass string from a web form. Can anyone help with the PHP code as my skills are basic and i have already tried a few things that just don't work.

View 1 Replies View Related

General :: Getting A New Server Form Home?

Jan 20, 2010

So a family member was very nice and got me a killer server for my house. Not sure what I will do with it just yet. I will post spects shortly. Its Intel raided 2 750G drive 2G CPU and I believe 2 or 4 G memory. Rack mount with a KVM on it.

I have narrowed it down to 3 OS choices. Ubuntu : I run this on my LT and find it very nice for that. Some nice Media server Sw out there for it. I do some side work on RedHat and for my current employer so I was thinking CentOS or Fedora so I have a system running a similar OS on it.

At home this may be a www or media server for me long term. Or I may just use it as a test system initially to work on these Linux versions. I know this is all subjective and depends on what I plan to do with the server in the long run.

But out of the Fedora and CentOS release which is better knowing I am doing work in Red Hat for my current employer?

View 11 Replies View Related

General :: Print Server In The Form Of A Web Interface?

Dec 13, 2010

I would want a linux print server in the form of a web interface, where you upload a PDF, doc, JPG, PNG, PPT, TXT, HTM etc file in a file upload box, and then that file is printed to a USB connected Samsung CLX-3185 printer.Which linux distribution and software should I use then? I would want it to support so many file formats its possible.

View 1 Replies View Related

Server :: Nis Ypxfrd Not Getting Started

Aug 3, 2010

I am trying to configure NIS server in my RHEL5 machine

While i am trying to starting ypxfrd service it gives OK message

But when i am checking its status it showing stopped

Is this service is neccessary to work NIS?

View 4 Replies View Related

CentOS 5 Server :: Multiple Html Folders For Sandbox Server?

Aug 30, 2010

I am running Centos 5.5 with Apache 2.2.3, MySql 5, and PHP 5.1.6. I am migrating a Drupal installation to the default html folder for development purposes. I am very new to server management, and a bit lost.I want to install some other web sites on the sandbox server to experiment with before uploading them to a Production environment. Is it possible to have multiple html folders? Or to use symlinks to point to the folders where the other web sites will reside?

View 1 Replies View Related

Security :: Block Particular Web Site Form Multiple Hosted Server And Allow Others?

Aug 17, 2010

I am having a web server (apache) and 3 sites are hosted in it, named as www.web1.com,www.web2.com and www.web3.com.
I need to restrict www.web2.com to Internet users and allow only to local network. At same time I need to allow www.web1.com and www.web3.com to both Internet and LAN users.

View 2 Replies View Related

Ubuntu :: Build Index.html Into A Full Html Page

Mar 9, 2010

I used wget -r to get all the web pages that were linked from index.html. The pages listed in index.html are all chapters. After using wget -r, all the chapters are now in the same folder on my local hard drive. Is there a way to build the chapters in their proper order into a "long"/"full" web page, rather than simply having each chapter as a link/next link on a previous page?

View 9 Replies View Related

Ubuntu :: Server Or Desktop Getting Started?

Sep 19, 2010

Is the Server or Desktop version of Ubuntu a better choice for a home file (and possibly a media) server?

To explain a little, I currently have a WinXP Pro pc that provides file storage for the users in our home (spouse, kids, self). On this pc I have a windows program ACRONIS running to perform automatic backup of every ones stuff. This has saved me many hours of headaches when someone has a HDD or PC failure. Everyone in the household directs all of their downloading activities to a download partition where I have an anti-virus & anti-malware program monitoring all new entries. This too seems to have been a good decision over the years. I'm trying to sort out which version of Ubuntu will be the most logical entry point.

I expect the questions I am seeking insight for are the normal getting started stuff. Using several different search criteria, I did not hit upon existing threads for the topic If there is a more appropriate forum / sub-forum, please let me know and I will take this question (thread) there.

View 2 Replies View Related

Server :: Always Prompting Login Form When Anonymous Users Try Download Files From Ftp ?

Mar 21, 2010

I'm trying adjust my proftpd server's settings, that anonymous users could download what they need smoothly.

A small problem made me so bemused:

In the configuration file of proftpd, I place the following setting section in the <anonymous> section,

Code:

After restarting the proftpd server and applying the configuration, I try downloading a file in IE browser. Sometimes, it prompts a saveas dialog, and everything was okay.

However, it occasionally prompts a login form instead of a SaveAs dialog. This makes our customers confused greatly.

So, how could I prevent browser from prompting login form when anonymous users try to download files from our ftp server?

Quote:

OS: CentOS 5.3

Server: ProFTPd 1.3.1

View 1 Replies View Related

Server :: Getting Samba Error While Accessing Forlde Form The Redhat Mechine

Sep 10, 2010

I am getting samba error while accessing forlde form the redhat mechine (local mechine)

Error "NT authentication failure" same is able to access as anonymous user

Find my samba configuration file:

View 58 Replies View Related

Programming :: Client Side To Include HTML Within HTML?

Sep 12, 2009

what is the best way (i.e standard way that is supported on all browsers and probably as well followed by web crawlers).... to include an html file either locally or externally in another ? Of course , i've done the research and i also know that there are server side includes (php , asp ...you name it) at the moment , i'm using this:

Quote:

<script type="text/javascript" src="path to file/include-file.js"> </script>

however, i've been warned that this method may not show up in some browsers as some tend to ignore this tag and that crawlers like your favorite search engine wouldn't bother reading this. so , what is the best and safest way to do the job? and btw , the reason why i've ousted SSI's from the start is because of among other things:

1) the fact that the included file is static html and because the text is included pretty much everywhere

2) hoping to reduce load time as the code (if successfully recognized) would hopefully be treated like any other embedded external file (e.x like an image) , therefore it would be cached without the need to downloaded it over and over again for each new page on the site.

View 1 Replies View Related

Server :: NAS On Btrfs - Possibly Zfs/xfs - Software-getting Started ?

Jun 28, 2010

Currently have multiple small DNS-323 NAS-in-a-box that need to be replaced with a single storage server.

Since the setting is for an advanced home server (2-3 simultaneous clients max) that will hold movies and application/game ISO's, I was originally going to go with a simple RAID6 on freenas. As I learned about silent data corruption, and with a max of 3 simultaneous users, I don't see a need for a hardware raid processor. So I gathered that software RAIDZ (RAIDZ2) based on ZFS or BTRFS that prevent silent data corruption would be a better match (please correct me if I am wrong).

NEEDS: The needs (in addition to prevention of silent data corruption) are basically online capacity expansion (OCE), and 2+TB volumes (64bit LBA); with a preference for the ability to spin down idle drives. I'm going to make the assumption that any solution I go with will allow me to read/monitor actual SMART drive data.

STUMBLING BLOCK(S):
1. Would someone validate the (perhaps mistaken) assumption that since BTRFS is integrated into the latest Linux kernel, it is mature enough for NAS candidacy.
2. Please validate: Forward-compatibility of BTRFS has been stated (no need to reformat with subsequent BTRFS updates).
3. Am I missing any NAS software (open-source or otherwise) that would meet these requirements and provide a nice pretty graphical interface?
4. What software solution would you recommend? (btrfs on xxxxx? zfs-fuse? linux+xfs (+mdadm)? ..?)
5. What are my next steps?

Accumulated hardware for project:
SERVER: 3u chassis with 16hot swap trays. Tyan S5360G2NR i7520 mainboard. Single Intel 2.8Ghz CPU (dual-capable). 4GB ECC RAM (do i need more?). Dual hot-swappable 550W psu. CD-ROM
DRIVES: Eight 1.5Tb SATA drives, plus an additional four that are in-use in the DNS323 that I will migrate over using OCE. Four 750 SATA drives that are also in-use and can be migrated over via OCE. One 16Gb SATA SSD, intended for Boot OS and logs.
INTERFACE CARDS: Two 3Ware Escalade 9500S-8 8Port SATA RAID (PCI-X, 64bit) [can change these to something else].
UPS: 1500VA

View 3 Replies View Related

Software :: Jack Server Not Running Or Cannot Be Started

Jan 19, 2011

Evidently I need to run Jack Control in combination with Qsynth to play my midi keyboard. That was ok for about a week or so, then Jack developed a problem. This was solved the first time by me unticking the Realtime box in Jack setup, but that has not worked this time. Must I rely on Jack just to have my midi keyboard sound?

The errors messages I receive are:
Could not connect to JACK server as client.
- Overall operation failed.
- Unable to connect to server.
Please check the messages window for more info.

and
12:45:12.427 Patchbay deactivated.
12:45:12.480 Statistics reset.
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
12:45:12.533 ALSA connection graph change.....

View 8 Replies View Related

Ubuntu :: Turn Off Computer If X-server Hasn't Started

Mar 21, 2010

For some reasons I need to configure ubuntu in such way that it would turn off the computer if X-server or GDM hasn't started (but user is able to log in). By the way, what are the reasons for such situation besides errors with video drivers?

I was told that I should write a script, but I have no idea how to write scripts and where I should place it (I suppose in init.d with some parameters).

View 2 Replies View Related

Server :: Rsync Doesn't Finish If Started Remotely?

Jan 28, 2010

I am having some problems with rsync,I put the rsync command in a shell script, and I am calling the shell from a 3rd server, but it stops midway through.s anyone else experienced these problems?

View 3 Replies View Related

Server :: Postfix / Sasl Authentication Not Working When Started As A Service

Mar 15, 2011

I am re setting up a server of mine running red hat enterprise Linux server 6 and I had all of this working befor but for some reason I had troubles getting sasl to work and now when I login my smtp server I get an error stating that my username or password is incorrect though I am sure I am entering both correctly. Would anyone know what could be happening? I have been spending days on the web looking for the solution and only went from sasl not working when started as a service to this. For some reason I can't use Pam with saslauthd and had to use shadow instead of which from what I hear I get to use better methods of secure authentication with smtp

View 2 Replies View Related

CentOS 5 :: Html To Pdf Conversion For Web Server?

Jun 23, 2009

I have a web server running and want to take a html page, convert it to pdf, and then display it back to the user. I need some help finding free command-line software that can do that. The cgi scripts are written in C. I've seen some hits on html2pdf,

View 2 Replies View Related

Server :: Apache2 Not Serving Html Pages ?

Dec 24, 2010

I just did yet another fresh install of OpenSuse 11.1, (no DVD drive otherwise I would use the newer version), all updates have been performed, I installed apache2 and it's modules, php5 and some of the modules I needed, mysql, sshd for local only access, and webmin, postfix is used only for local mail between php scripts and the system, mainly because out-of-the-box, postfix is an open relay, and can take weeks to configure as an SMTP server, so I have to use php scripts that do not use a mail server, anyway.

The problem is, apache2 only seems to know how to serve php files, html files only get shown on ANY browser as source code not the contents.

I've been trying for 3 weeks,,, messing with this option, setting that option, and screwing up the system, hence reformatting and re-installing OpenSuse several times, so if anyone wants to try and get apache to serve html files properly and to have apache use mod_rewrite as default on ANY folder whether inside or outside the document root, I can give that person full ssh access. I've got to the point now, that I don't really give a damn what happens to the server.

What I should be able to do, is, leave the apache and php setting as default,,, upload either an html or php file to the document root and direct a browser to the address, and it'll work without changing a single item, the same is if that file has rewrite, it should work flawless, or if I upload an html or php file to a folder outside the doc root, I change the doc redirect to point to the folder, and it should work without changing anything else.

View 14 Replies View Related

Server :: Can't Display Index.html Under Fedora 12

Apr 6, 2011

I have displayed web pages (e.g., index.html) under fedora 4, 5, 7, 8 before with no difficulty. Now I troed to do similar thing under Fedora 12, and I cannot display index.html. Is Fedora 12 special? I did '#tail -f /var/log/httpd/error-log' and noticed a line:

"SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0"

Is the SELinux policy blocking me from displaying index.html page?

View 14 Replies View Related

Server :: Make Changes To SWAT Html Files?

Jan 28, 2010

I want to make some changes to the SWAT browser interface, does anyone know where the html files reside? I am using Ubuntu hardy

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved