Slackware :: Showing Code - Trying To Run PHP File?

Dec 29, 2010

I've been trying to learn php but I can't find a way to get started. I have mysql, php, etc. I have the daemons running and if I go to http://localhost it says it works! But if I try to "run" a php file like http://localhost/test.php all I get is the source code showing in my browser.

Lets say I want to output a simple message:
<?php
echo "Hello world";
?>

Well that's what I get in my browser I don't see the message but the code itself. I had to uncomment Include /etc/httpd/mod_php.conf at the end of htppd.conf .

View 1 Replies


ADVERTISEMENT

Programming :: FORTRAN77 Code Not Working - Showing No Error

May 17, 2010

I have written FORTRAN77 code,also a makefile. But is not working at all. how to start looking for errors?

View 9 Replies View Related

Programming :: Valgrind Output Showing Addresses Not Code Against Errors - 2 Errors From 2 Contexts (suppressed: 0 From 0)

Feb 26, 2010

I am running Valgrind on my program. It shows me two errors but mentions only addresses against them and not actual code even on a debug build.

The output is

==23002== Memcheck, a memory error detector.
==23002== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
==23002== Using LibVEX rev 1575, a library for dynamic binary translation.

[code]....

View 1 Replies View Related

Slackware :: Cannot Find The Source Code

Jan 19, 2011

I need a mixer app called envy24control. Nobody seems to have a Slackware package for it, which would not be a big deal except that I cannot find the source code either! Does anyone know where I can find this thing?

View 8 Replies View Related

Slackware :: What Is The First Code Executed In The Kernel

May 29, 2011

I am looking at the kernel code (just out of interest). What would be the first piece of code the kernel executes when the machine boots?

View 1 Replies View Related

Ubuntu :: Showing File Permissions In File Roller?

Aug 23, 2011

How do I show a list column in file roller that shows permissions and ownership of files?

View 2 Replies View Related

Slackware :: Where Is The Installer Setup Source Code

Jan 20, 2010

Just as the title says, where on earth is the source for the setup command during the install? I'm guessing that setup is a script, but I'm not sure (can't find it).

View 5 Replies View Related

Slackware :: Wifi Adapter Now Showing As Wired?

Jun 10, 2010

Strange, just fired up my laptop and Wicd is telling me that I am on a Wired Network. Somehow, I have no clue as to how but my wireless connection is now being interpreted as a wired one.

View 7 Replies View Related

Slackware :: Kdestartupconfig4 Does Not Exist Or Fails - Error Code Is 127?

Nov 21, 2010

I got a problem with my Slackware installation after upgrading to slackware-current. I made a clean 13.1 install on my laptop, then I logged in as root, connected to the net and upgraded to slackware-current. Then, after rebooting, I try to log in to kde as root but I get this error:
Code:
kdestartupconfig4 does not exist or fails. The error code is 127. Check your installation. After getting these errors, I made a completely new fresh installation but I got the same errors again.

I even added another user with the adduser command just in case that was the problem but that didn't help. I can't log in to KDE.

View 8 Replies View Related

Slackware :: Firefox Showing Pages Differently To Other Platforms?

May 14, 2010

The scrollbars you see around the form do not show up on Firefox on Mac or Windows, and don't show up in Opera.Why is Firefox on Slack displaying pages in a slightly different manner?

View 14 Replies View Related

General :: Wireless On Slackware 13.1 Won't Work When Network Has Security Code / Fix It?

Apr 28, 2011

I'm using a hp dualprocessor athlon 11 g42-415dx notebook pc and my wireless wont work i put the passcode in wicd program and it says bad password. So i tried the pin code on the wireless router and that didnt work so am i doing something wrong or is there something wrong with the hardware? i got the wired connection to work but cant get wireless its a little more complex.

View 1 Replies View Related

Slackware :: H Article: Vsftpd Backdoor Discovered In Source Code?

Jul 4, 2011

Before anyone panics, the source tarball for Slackware 13.37 doesn't appear to be the "bad" tarball that Chris Evans mentions here:

[URL]

Code:

$> sha256sum vsftpd-2.3.4.tar.gz
b466edf96437afa2b2bea6981d4ab8b0204b83ca0a2ac94bef6b62b42cc71a5a vsftpd-2.3.4.tar.gz

I checked str.c for the call to vsf_sysutil_extra() if the user is specified as and I also checked for the rogue shellcode in sysdeputil.c but I didn't find it, so it looks like the backdoor was uploaded recently.

[URL]

Quote:

Chris Evans, aka Scary Beasts, has confirmed that version 2.3.4 of vsftpd's downloadable source code was compromised and a backdoor added to the code. Evans, the author of vsftpd - which is described on its web site as "probably the most secure and fastest FTP server for Unix-like systems" - was alerted on Sunday to the fact that a bad tarball had been downloaded from the vsftpd master site with an invalid GPG signature. It is not known how long the bad code had been online.

The bad tarball included a backdoor in the code which would respond to a user logging in with a user name "" by listening on port 6200 for a connection and launching a shell when someone connects.Evans has now moved the source code and site to [URL] a Google App Engine hosted site. The GPL-licensed source code can be downloaded (direct download) from the same site, along with the GPG signature for validating the download, a step that Evans recommends. Evans says that the lack of obfuscation and lack of victim identification leads him to believe that "perhaps someone was just having some lulz instead of seriously trying to cause trouble".

View 1 Replies View Related

Slackware :: Id3-0.78 Homepage For Source Code 404 Error - Slackbuild Fails

Dec 19, 2010

I am trying to build abcde from slackbuilds.org and include needed packages like id3. When I went to build it I was unable to download the source from [url] and I get a 404 error in dutch. I was wondering if anyone had this issue or if there was another trusted place to grab the source code? I checked the archives of the slackbuilds-user mailing list to see if the issue is already known, but I didn't see anything.

View 3 Replies View Related

Slackware :: Showing Command Output On The Screen While Simultaneously Logging It?

Feb 4, 2010

I'm still learning about bash scripting. Not too long ago, with a lot of help from folks on this forum, I developed the following script to keep Slackware -stable up-to-date:

Code:
#!/bin/bash
#update_slackware.sh

[code]....

View 3 Replies View Related

Slackware :: Broadcasted Network (ssid) Is Showing As Hidden (wicd-client)?

Aug 3, 2010

using ndiswrapper for a usbwlan device. Configured and modprobe ndiswrapper confirmed working. When I 'iwlist wlan0 scan'I get cell (wifi network) profiles including my own and several of the neighbours - all showing ssid name and whether key managed or not. When I 'wicd-client' this shows my network as hidden. What makes it even stranger is that wicd-client shows all the neighbours network ssid. Check to see if my router is broadcasting ssid and is without a doubt. I have tried to connect to my router via CLI commands (iwconfig) but unable to connect as is wicd-client - will update with log files on this soon.

View 5 Replies View Related

Ubuntu :: Error Creating File System: Helper Exited With Exit Code 1: Cannot Open /dev/mmcblk0p1: Read-only File System

May 2, 2010

I bought a new SD card which I intend to put some MP3s on - except that I can't write to it because it tells me the destination is Read Only. No-probs thinks I: I'll just reformat it.

"Error creating file system: helper exited with exit code 1: cannot open /dev/mmcblk0p1: Read-only file system"

Various chmod commands all result in Read-only file system. I tried umount then mount commands, but it couldn't find it to mount once I'd unmounted it using the same /media/ file path (I assume it's the only one).

View 9 Replies View Related

OpenSUSE :: Setting File Filter For File Open Dialog (to Suppress Showing "hidden" Files, Etc.)?

Dec 10, 2010

On both my 32-bit laptop (openSUSE 11.3) and my 64-bit desktop (openSUSE 11.2) I have been unable to find out how to prevent seeing all the "hidden files" when opening files in many applications, including (for example) GIMP, Xournal, OpenOffice, gedit.In the Control Centre "File management" options "Show hidden and backup files" is NOT checked in "File Management Preferences.

View 2 Replies View Related

Programming :: Cannot Open .dbf File Via A Code ?

Jun 12, 2011

I created a dbf file via a code but the file does'nt seems to open.

Quote:

Code is running file and the file emaster.dbf and etran.dbftoo is created in the home directory but it does'nt opens(Libre Office 3 can't open it).

How to open the file.? I want to add information to the database file(Dbf) file. But until it opens how will I achieve my purpose?

View 3 Replies View Related

Ubuntu :: File System Not Showing Up

Jul 1, 2010

I noticed that I am missing the icon to my file system in file manager.

View 6 Replies View Related

Server :: Df -h Not Showing File System

Dec 30, 2010

I have install 5.5 kernel in rhel and after rebooting got the error to control+d to continue or rootpassword. I have done the same but df -h not showing the lvm filesystem.I have tried to remounnt but showing resource busy.I have rebooted on the previous kernel but getting the same issue.Its a VM.df -h showing only/dev/ mapper/ vg_osdata-lv_root /

View 10 Replies View Related

Ubuntu :: Where's Mupen64plus Cheat Code File?

Sep 20, 2010

Where's the cheat code file located?
It should be in the home folder, right? but I can't find it there.
Why I need to know this? Because editing the file manually will probably go way faster then adding the codes in the emulator.

View 3 Replies View Related

General :: Find And Delete A File Using A Code?

Apr 27, 2011

I am trying to find and delete a file using this Code: find . -type f -name ph2964781400100954291.jpg -exec rm -f {} ; It does not work, I think because by default on my distro rm is iterative.

View 2 Replies View Related

Programming :: Protect File From Deletion In C Code?

Apr 26, 2011

I create the file mytest.txt. Since this process is using this file. if I run this code in background and simply run "rm -rf mytest.txt" than file gets delete. Here is my code

int main()
{
FILE *fp;
fp = fopen ("mytest.txt","wb");
if (NULL == fp)
{

[Code]....

View 7 Replies View Related

General :: Code To Find The Md5 Checksum Of A File In C++?

Jul 16, 2010

send me the code to find the md5 checksum of a file in c++.

View 7 Replies View Related

General :: Read/Write Xml File Through C++ Code?

Mar 18, 2011

I am trying to write a C++ Code to read write a XML file in C++.I researched a lot and find xerces is used for that but I am not able to write the code for that.Please provide me some links on how to run a code that R/W a xml file in C++.

View 1 Replies View Related

Software :: Source Code For File Command

Nov 21, 2008

Does anyone know where is the source code for file command?

View 2 Replies View Related

Programming :: Save File From Deletion In C Code?

Apr 26, 2011

I create the file mytest.txt. Since this process is using this file. if I run this code in background and simply run "rm -rf mytest.txt" than file gets delete.Please help me how to save this file from other process.Here is my code

int main()
{
FILE *fp;

[code]...

View 9 Replies View Related

Fedora :: Zenity - Bash: [/code]: No Such File Or Directory

Apr 9, 2010

Awhile back, PabloTwo pointed me to zenity as a way to create bash scripts with changeable parameters. That thread is here, for anyone interested in reading about it: [URL] Anyway, my problem is that I'm trying to capture input that contains double-dashes ("--") but zenity (or maybe or it's bash???) complains with the following error message:

"This option is not available. for all possible usages.
bash: [/code]: No such file or directory"

Here's an example of what I'm doing:

Code:

# Select the time of day
Flytime=`zenity --list --text="Select the Time" --radiolist --height=300 --width=300 --hide-column=2 --column="Select" --column="Code" --column="Time of Day"
"" "--timeofday=real" "Local Time"

[code]....

What I want to accomplish is for the variable $Flytime to contain either "--timeofday=real" or "--timeofday=dawn" (without the quotes) depending upon which radio button is selected. I have tried escaping "--timeofday" (e.g. "--timeofday" and even "--timeofday") but that's not working.

View 3 Replies View Related

Ubuntu :: How To Reset File Enigma_active.so To Source Code

Mar 11, 2011

How to Reset File enigma_active.so to Source Code Is in the compressed file Makefile

View 7 Replies View Related

Programming :: Interact With The File System By Own C Source-code?

Jun 1, 2010

I'm investigating how to copy a file located in my file system into another device. I googled to find a solution for my case but I didn't find anything. My original problem was to find a way to permit my code to move a file into a USB device. I wonder If is there a way to implement the cp command or some mechanism that permits my code to interact with between the file system on my computer and the second one on USB external driver (FAT32) ?

View 3 Replies View Related







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