Programming :: PHP - POST Not Working?

Dec 29, 2010

The following script keeps telling me: Notice: Undefined index: name in /usr/files/www/rage.php on line 6 Name:

PHP Code:
<html>
<?php

[code]...

View 7 Replies


ADVERTISEMENT

Server :: SVN Post-commit Not Working

Feb 27, 2011

I have been searching EVERYWHERE for a solution to my problem, I have been sent to the red-bean "answer" so many times I think I know it word by word.Here is my problem, I run a WHM/cPanel server and want to make a repository (/home/<user>/svn) update a working copy (/home/<user>/public_html/dev) to work on a dev. subdomain on each site we have.I have the the SVN part working but can not get anything about the post commit to work. I even simplified it to the point that all the /hooks/post-commit file contained was.

View 3 Replies View Related

Programming :: Using Wget With Post Data

Nov 29, 2010

I've been pulling my hair out trying to get wget to post data to a webpage to automatically download some files. I've tried many methods of syntax, but wget always downloads the html for the login page. A snippet of code I found in the login html page is below. Some of the characters are japanese, because it's a japanese website.

View 7 Replies View Related

Programming :: Perform A Permutation, Which Did Using One Post From This Forum?

Feb 1, 2011

I am really a Newbie in bash programing and I need to perform a permutation, which I did using one post from this forum as follow.

#!/bin/bash
list=`echo {1..12}`
for c1 in $list

[code]....

View 5 Replies View Related

Programming :: POST Method And PHP - Login Verification

Mar 20, 2010

I wrote a code for login verification..I got output with GET. But I need output with POST since it is more secure. Any error in my code.

javascript code:
var xml;
function verifyusernamepasswd(pass)
{ //pass is password that will be passed as parameter
xml=new XMLHttpRequest();
var url="http://localhost/loginvalidate.php";
var para="q="+username+"&p="+pass;//username is global
xml.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
xml.setRequestHeader("Content-length", para.length);
xml.setRequestHeader("Connection", "close");
xml.open("POST",url,true);
xml.onreadystatechange=statechanged1;
xml.send(para);
} .....

The verification does not return anything, cos my alert is not displayed at all.

View 1 Replies View Related

Software :: RedHat Kickstart Post Fglrx Rpm Install Not Working

Feb 23, 2010

As the title says, I'm building a kickstart for a RedHat installation.I'm trying to incorporate the firegl driver rpm installation and its halfway working, not completly. What I've tried so far is to place the rpm in the --nochroot and in the normal chroot enviornment and neither one works. In the --nochroot, install it with rpm --root /mnt/sysimage/ and in the normal post i just do an rpm -ivh. In either case the fglrx folder is built within /lib/modules, however everything thats supposed to be installed never makes it to the newly installed root. I'm thinking that its actually getting installed to the installation / as opposed to the new /.

View 3 Replies View Related

Programming :: Ajax To Open An Ftp Connection - Download A File And Then Turn Around And POST It To A Web Server?

Jun 23, 2011

just curious, this might not be possible, but is there any way with ajax to open an ftp connection, download a file and then turn around and POST it to a web server? the reason i ask is because i'm writing a script on a shared hosting plan that doesn't give me permission to directly talk outbound on the ftp port but i need to synchronize a file from a csv on an ftp server, this means i have to do the process manually, is there any way i can just click the button and let my browser do the work?

View 4 Replies View Related

Server :: Apache2 SVN Post-commit Script Certificate Error Post-commit Hook Failed (exit Code 1) With Output?

Oct 12, 2009

I am using apache2 with subversion and trying to get post commit script to run an svn update command. All svn commands seem to work fine manually

Everything used to work fine but then the server ip changed and I can no longer access it with the web name and have to use the ip directly

I am using tortoise svn with vista on my work machine

Here is the script

#!/bin/sh
export LC_CTYPE=en_US.UTF-8
/usr/bin/svn update /home/common/webroot/bob

Here is the result.

Command: Commit
Modified: C:UsersMattDesktopcheckout - bobindex.php
Sending content: C:UsersMattDesktopcheckout - bobindex.php
Completed: At revision: 63
Error: post-commit hook failed (exit code 1) with output:
code....

I think what i need to do is update the certifcate for the apache2, but I'm not sure how to do this, where to put it, and then which of the thousand apache config lines needs to be changed

View 5 Replies View Related

OpenSUSE Wireless :: Followed Sticky Post On Wireless Not Working Till Got Confused?

May 24, 2011

i read the sticky post on here about how to try and get my wireless card working.

i have installed opensuse 11.4
i followed step 1 of post and got following: /usr/bin/lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

[code]...

View 9 Replies View Related

Server :: LDAP SERVER: Post A Tar.gz With The Working Configuration Files?

Jan 14, 2010

LDAP is endlessly not working, due to difficulties to simply configure it. I even cannot make the first steps of the installations ... It seems so difficult ... After many howto, wiki, reading, re-reading the errors are still there, always different, and not working.Is there an admin, coming from hell, that made running a LDAP server for sharing the basic configuratin files /var.. /etc... of a working LDAP Server in a tar.gz?

View 18 Replies View Related

Ubuntu :: Cannot Post On Forum - Click On "submit" To Post A Thread The Page Will Just Say "loading..."

Sep 28, 2010

For some odd reason, I cannot post on the ubuntu forum and the LinuxMint forum. Yea, I know.... the irony... I am using Mozilla and have tried Chromium, but that did not fix my problem. When I click on "submit" to post a thread, the page will just say "loading..." and nothing happens for a really long time. Does anyone know what is up? I tried posting on one other forum that I go to often and it seems to work out fine. I haven't tried any other forums though.

View 7 Replies View Related

OpenSUSE Wireless :: Wireless Not Working Post?

Jan 29, 2011

I followed what I could of the "Primer on wireless issues" post and here's what I get:

/sbin/lspci
Code:
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express

[code]...

View 9 Replies View Related

Programming :: Find And Cp Not Working?

Aug 6, 2010

The below script takes a date and table name from the user. It unzips and untar a file from archive folder based on date. Then select the required file based on the tablename provided and copy it to ../posextract folder.The folder posextract contains already extracted files for the user.

Code: echo "Enter date
"
read lookdate

[code]....

View 2 Replies View Related

Programming :: How To Get Perl Qt4 Working

Jul 24, 2010

I really would like Perl Qt4 bindings. The best I could find is this:[URL]The problem is that the sources would not compile, and the RPMs are for 32-bit machines.Is there really no such thing as good Perl Qt4 bindings?

View 8 Replies View Related

Programming :: LD_PRELOAD Not Working?

Jul 28, 2010

I'm trying to create my own version of the printf function. I'm using the following code:

Code:
#ifndef _GNU_SOURCE
#define _GNU_SOURCE

[code]....

View 3 Replies View Related

Programming :: Php Session Not Working?

Apr 21, 2011

I try to learn using session. I created sess1.php with the following code:

<?php
session_start();
// makes an array

[code]...

View 5 Replies View Related

Ubuntu :: Cannot Figure Out How To Post A Bug?

Feb 11, 2010

i think this is not the right place for this post, but i can not figure out how to post a bug. i am talking about the permissions of: /tmp/orbit-root. please don't tell me now "don't" log in as root if you once login as user root from the login screen the permissions of /tmp/orbit-root are set to: drwx root but if log out the permissions are not set back / or the entry will be deleted. this will end for the next login as a normal user that you will get a bulp of error messages. easy to reproduce. this is not a feature - it's a bug.

View 1 Replies View Related

Ubuntu :: Where Do I Post Bugs?

May 30, 2010

I've been using ubuntu almost exclusively for more than a year. I am now running 10.04. I was trying via launchpad to post some bugs I've run into in Ubuntu. None of the bugs relate directly to a certain process. And if they do, I have no idea how to find out their PIDs.

View 4 Replies View Related

General :: Awk/regex With A Post?

Apr 2, 2010

I have a data file with the following format 0 i j # # # # with other random lines of text to be filtered out.The following script works when there aren't many #s, but it shuffles long lists of data.

/^0/ {
split($0,token)
printf("%s %s ", $2, $3)

[code]...

View 4 Replies View Related

Fedora :: C Programming Library Not Working?

Dec 9, 2010

I jus found that #include<stdio.h> is not working with gcc and neither any function from the library like clrscr(); i found due to <stdio.h> is a windows lobrary file so its not come with linux. But I want to to know if I have to call any function from that library what should I do? Is there any way to install <stdio.h> in linux?

View 5 Replies View Related

Programming :: Referencing In Latex Isn't Working?

Jun 28, 2009

I have some strange behavior in Latex. I have added labels to all of my tables (currently there are 3) and my figure (currently there is only 1). So far I only notice this behavior with tables, though it may happen with figures as well...I will have to add another figure to test that.However, what is happening is that my list of tables is correctly generating the numbers of the tables (which are 3.1, 3.2, and 4.1). In the resulting PDF document, the tables have the correct numbers in the captions as well. The odd thing is that when I attempt to reference them using ef, it is printing the Chapter.Section[.Subsection] number the table is located in instead of the table's number itself.Right now I have two tables inside of Chapter 3 Section 3. They are as follows:

Code:
egin{table}[htdp]
egin{center}

[code]....

View 3 Replies View Related

Programming :: GDB (Control C) Command Not Working

May 12, 2011

I've just started using gdb at my new job, and I'm having a small issue debugging C++ with it. After I execute "continue" or "run" through gdb, I'm not able to return control to gdb. Based on the documentation I read, I should be able to use Control-C to interrupt the program, and have control return to gdb.

This does not work on my setup. Not sure if it's related, but I'm debugging on a remote machine. I tried through PuTTY and xterm using Exceed XServer. In both cases, gdb does not respond to Control-C. This is quite annoying because I have to restart my program every time I want to set a breakpoint.

View 2 Replies View Related

Programming :: Multiple Command In Ssh Not Working?

Apr 22, 2011

I have prepared a script which will login to each server and search for a keyword.
I want output on same machine from where m running script.

When i try to run command on any machine.. It works well.

w=$(grep -irH "keyword.com" /home/*/public_html/*);if [ $? -eq 0 ];then echo -e "
$HOSTNAME";echo $(grep -irH "keyword.com" /home/*/public_html/* | cut -d: -f1 | uniq | awk '{for (i=1;i<=NF;i++) printf "%s
",$i}');fi

[Code]....

View 9 Replies View Related

Programming :: Ping Command Not Working In Tcl/tk?

Feb 16, 2010

I can't get exec ping to work on my system. wish is located in /usr/bin/wish8.4

Code:
#!/usr/bin/wish8.4
text .txt
set in [open "/root/hosts.txt" r]
while {[gets $in line] != -1} {

[Code]....

View 2 Replies View Related

Programming :: S_ISDIR Not Working In RHEL 6.1?

Jul 6, 2011

I've got a program that was working fine in RHEL 5.4. On my RHEL 6.1 test server, the program failed to pick up the files on my samba mounted folders. I went through the code and found that S_ISDIR returns the folder in the mounted drive as FALSE. It has no problem with files on the local filesystem though. Any suggestions on how to fix this?

View 2 Replies View Related

Programming :: Using `jobs` In A Script Not Working

Aug 30, 2010

why when I use "jobs -l >> tmp" in a script file it does nothing, and when typing it at the prompt it creates the tmp file I expect it to...?

View 9 Replies View Related

Programming :: Working With Strings In An Xml File C++?

Mar 7, 2011

I have a function that retrives text between title and links tags from an XML file, but what i want is to test if the title and link tags are between item tags. This is my code:

Code:
istringstream iss(content);
string line;

[code]...

View 1 Replies View Related

Fedora :: Where Can Post My Desktop Theme?

Nov 12, 2010

I've been looking for a place to post my desktop theme. I remember seeing it before.

View 5 Replies View Related

Fedora Hardware :: CPU 1 Not Responding At Post?

Jan 2, 2011

Got a gigabyte ga-ma78g-ds3h mobo with an amd athlon dual core 5050e processor that occasionally causes this warning at post. Removed and replaced the processor but still occurs, possibly slightly less frequently so it might just be a bent pin and this will be tried again. However i am curious as to whether others have seen the warning in case it is software although i am assuming it must be hardware. I guess it could be a bios bug, the bios was updated about a year ago. Log files and system monitor confirm the missing cpu.

View 4 Replies View Related

Ubuntu :: Attaching An Image To A Post?

Mar 12, 2010

I can't, for the life of me see a way to attach an image to a forum post. Maybe it's time for a nap, it has been a very very long day. I've seen attached images on this forum in the past.

View 3 Replies View Related







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