Software :: Using PHP Inside Of HTML On A Slackware Server?

Jun 15, 2010

My website is domaintoolscentral dot com, I want to use PHP inside of my HTML pages but I can't seem to figure it out. I know it has to do with the httpd.conf file or I think it does. I do not want to use a .htacess file.

View 14 Replies


ADVERTISEMENT

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 :: Use AWK To Search For A Specific String Inside Html?

Jan 26, 2010

how to search for a specific string of text inside an html document. I then want to cut out that specific data that the field or string contains. I want to do a shellscript that makes this function automaticly.

For example:

#
#Here i want to find the field "town" inside the html/java and then cut #out the town name from it and paste that to an file.
#
#

[Code].....

View 8 Replies View Related

Programming :: Html Tags Inside PHP Mail Body Message?

Mar 9, 2010

Trying to write a small php program to send emails using a form. I have collected all the information in php variables and I can send the mails just fine. But I need some neat and clean formatting for the mail that is received and hence thought html tables would be nice. But all the html tags are received as plain text and not html though I have mentioned in headers content-type to be html. Any links? If anyone can put some light on it? I thought that html tags would just work fine without much issue. I have tried same with asp and it worked.

PS: I am no programmer. Just trying my hands out on some php.

Edit: I am using a php mailer class from php classes to send mails. I need some way to use an external smtp server for sending mails. I have seen pear but I do not want to use pear. It is not available on the server I am testing and it is not possible for me to install it. I do not have access to install pear and can not ask to install it.

View 7 Replies View Related

Slackware :: Lilo Not Booting Slackware Correctly - Errors Inside?

Mar 1, 2010

I'm fairly new to Linux so I'm going to need a step-by-step guide to get me out of this rut. The install of Linux was fine but when I booted up I got this error. VFS: Cannot open root device "302" or unknown-block (3,2) append a correct "root=" boot option;here are the available partitions;

0800 78150744 sda driver:sd
0801 47428608 sda1 <-- this is my Windows partition
0802 30719552 sda2 <-- this is my Linux partition
0b00 1048575 sr0 driver:sr
0b01 1048575 sr1 driver:sr

Kernel panic - not syncing:VFS:Unable to mount root fs on unknown-block (3,2) I guessed from reading this error Lilo isn't pointing to the right partition to boot from? How will I fix this? I read another thread about boot problems on these forums and a guy said to do this:

#mkdir /slacktemp
#mount /dev/device /slacktemp
#chroot /slacktemp
#cd /slacktemp/etc <-- for me it told me that doesn't exist
#vi lilo.conf <-- couldn't do nothing and was frozen
#lilo -v -t -b /dev/device
#lilo -v -b /dev/device

The above solution did not work for me. Can anyone shed a light on a Linux rookie?

View 14 Replies View Related

Slackware :: Screen Inside A Non X Environment?

Sep 7, 2010

You don't run x windows in the cession. Let say you run init 3 at the prompt and login your acount. Is it possible to run a command that let you open a little screen with graphic interface and that accept the mouse. Exactly the inverse of the console in an X environment.

View 10 Replies View Related

Programming :: Firefox Scripting Add-on (Scripting HTML / Javascript Inside Firefox)?

Sep 17, 2009

Is there a firefox add-on to script HTML and/or Javascript directly inside firefox

View 1 Replies View Related

Slackware :: Including Add-ons Inside A Firefox Self-compiled Package ?

Mar 26, 2010

is it possible to include an add-on (or more) inside a self-compiled txz package for firefox? Actually I'm trying to build a fully localized version adding UI localization and (possibly) the italian dictionary. The latter is distributed as an .xpi (zip archive) and is supposed to be installed from inside firefox, so I don't know how to include it at compile time or at least before building the txz...

View 3 Replies View Related

Slackware :: Kick Off Dolphin From Terminal Emulator Inside KDE

Apr 8, 2010

I try to kick off dolphin from regular user account after executing "su -" from terminal emulator inside KDE, but got a error:

Code:

Is this something to do with xwindow authorization?

View 9 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

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

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

Ubuntu :: End The X Server From Inside The Gui?

Jul 11, 2010

I've just installed ubuntu 10.04 server on an old box to use as a home server for network storage. I've managed to get wireless working, and now have started to tinker with the base system (it's more of an experimental machine than a critical backup server!). I've installed xorg-core and JWM, and have set it up to function as a basic GUI in case my main box goes down and I need access to these forums. I can start JWM by using

Code: startx, but I need to know how to end the X server from inside the gui, so that I can create a kind of 'exit' button. I know I can end the session by going back to tty1 with ctrl-alt-f1 and using ctrl-c, but is there a way of doing this from inside of the gui? Is it even possible?

View 1 Replies View Related

General :: See All Ip's Inside Server?

Sep 17, 2010

I want to see all my ip's inside server. ip a command and ifconfig not working. Because i am under su root login. Is there any possibilities to view all my IP reside in the server..

I am using CentOS release 5.5 (Final) server.

View 5 Replies View Related

Networking :: Connect To The 201 FTP Server From Inside?

Feb 23, 2011

I know this is a common problem, but i have a special case that troubles me and i can't find an answer anywhere. The facts are like this: I have a linux router. I have 2 FTP servers. One on port 21, one on port 201 (on the same internal IP). The FTP works great when connecting on both servers from the outside. My problem is when i'm trying to connect to the 201 FTP server from inside the network using the external ip.

I get this:
ftp> ls
200 Port command successful
150 Opening data channel for directory list.
And it stays like this forever.

View 2 Replies View Related

Ubuntu :: Apache Server Ignores <?php...php> And Everything Inside

Jan 29, 2011

I got Apache and php5. I was able to insert php scripts from tutorial and see the results in Mozilla browser. But now something happened and Apache seems to ignore php script. I don't remember what i had done to my system that might have caused this problem, but most likely it is moving partitions in partition aditor, as this was the most serious thing I had undertaken.

View 1 Replies View Related

Server :: SQL Commands Inside Bash Script?

May 5, 2011

I'm trying create script to manage one mysql database, including new db and user creation. But I'm not able get it working when I put SQL commands into function. So I create simple script for testing which is still not working

Code:

#!/bin/bash -x
MAIN_DIR="/admin/mysql"
MYSQL_CNF="$MAIN_DIR/auth.cnf"
MYSQL_CMD="mysql --defaults-file=$MYSQL_CNF"

[code]....

View 1 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 :: Glibc Included Inside Initramfs Causes Reboot?

Jun 7, 2010

I'm attempting to build a linux appliance.The main root file system will be the initramfs image.I've got everything else working except for this problem. It seems as soon as I install the glibc 32-bit libraries in the initramfs imageduring boot it willautomatically reboot on me.System software using:

binutils: 2.18
gcc: 4.2.4
glibc: 2.7

[code]....

View 2 Replies View Related

Server :: Vsftpd - Keep Ftp User Inside Home Directory

Aug 22, 2010

I'm using Slackware 13.0 on my server and am going to be employing a file-sharing service for a client. I was able to enable a quota, but my problem now is keeping the user inside their home directory. I've searched around and found an old thread on here (from 2003) that gave me some ideas, but it still isn't working. Should I be running vsftpd standalone or leave it on the inetd? If I set the shell to /sbin/nologin or /bin/false, the user can't log in through FTP, even.

chroot_local_user=NO
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list
from /etc/passwd:

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

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 View Related

General :: DHCP Server Inside A Virtual Machine Can't See Other Machines

Jun 2, 2010

I setup a private network from virtual machines and one of the machines is the DHCP server for the group. I want to specify a next-server for the DHCP server but I'm having trouble connecting to any of the machines that I lease IPs to. I'm just trying to do a simple ping/ssh to 10.0.0.252 (a machine with a lease) but it doesn't seem to respond. I'm assuming I need to be able to connect to my next-server but maybe I'm wrong.

View 1 Replies View Related

General :: Route A Security Video Server Which Is Inside Network?

Jan 18, 2010

I am trying to route a security video server which is inside my network to the internet. my network is two interface eth0 (internet network xxx.xxx.xxx.198 and internal network 192.168.5.1

I am trying to see an web server on 192.168.5.184

View 2 Replies View Related

Server :: LVM - Mount Specific Partition Inside Logical Volume?

Sep 4, 2009

I've just started playing with virtualization and I started my first VM. I would like to know if it's possible for the host machine to mount the partitions of the VM when it's closed. Right now the VM uses /dev/vg0/vm1 and has 3 partitions on it. I tried mount /dev/vg0/vm1 ~/vm1 at first before I remembered that I'd need a way to mount a specific partition inside the logical volume, not the volume itself!

View 2 Replies View Related

Server :: Sendmail - Block Email To Root From Outside But Keep Receiving From Inside

May 5, 2010

I have a small internal network with about 8 or so servers or workstations. My mail server is getting spammed from all over to the root and other administrative accounts. I also get valid email sent to the root and administrative accounts from within my local network. Is there a way to block all email coming from outside my local network while still receiving it inside the local network to these specific accounts?

View 2 Replies View Related

CentOS 5 Server :: Cannot Ping Webmail Address Inside Proxy

Dec 23, 2010

I am using CentOS 5.5, I installed squid3 in that machine. From my users machine i am not able to use our webmail address. Outlook shows pop3 error.cannot ping webmail address inside proxy.

View 1 Replies View Related

Programming :: Execute C Program Through HTML On HTTP Web Server?

Oct 15, 2009

I would like to execute an already written C program that I am running on my embedded Linux, but from afar - through a HTML page. I am running an embedded Linux on my FPGA prototype board with a MicroBlaze soft processor. On this Linux i am running a httpd web server - I can serve html web pages to the outside through Ethernet connection. Now, I have a program written in C in this embedded Linux in /bin/gpio-test that does some stuff with my IO devices. Now I would like to control these IO devices through HTML web page - so I would like to be able to run this gpio-test program from a html web page and possibly send the program some parameters.

View 2 Replies View Related







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