Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Re: [Johnny23] adding an entry/add.cgi

Quote Reply
Re: [Johnny23] adding an entry/add.cgi In reply to
Wrong forum Wink (I've moved it for you)

It could be a couple of things:

1) Your form in the HTML is corrupt, and thus its not sending any useful values
2) There is another hack you've done thats stopped it working - when did it stop working, and what were your last "tweaks"?

You could try adding:

Code:
use Data::Dumper;
print "Content-Type: text/html \n\n";
print "<pre>" . Dumper(%in) . "</pre>";

if (keys %in != 0) {
&process_form;
}

..and then see what gets printed out (i.e if any values are actually sent). I'm afraid I'm a bit rusty with Links2, as I tend to work only with the SQL products.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Subject Author Views Date
Thread adding an entry/add.cgi Johnny23 14863 Apr 26, 2012, 12:52 PM
Thread Re: [Johnny23] adding an entry/add.cgi
Andy 14527 Apr 27, 2012, 2:45 AM
Thread Re: [Andy] adding an entry/add.cgi
Johnny23 14521 Apr 28, 2012, 6:50 AM
Thread Re: [Johnny23] adding an entry/add.cgi
Andy 14509 Apr 28, 2012, 7:04 AM
Thread Re: [Andy] adding an entry/add.cgi
Johnny23 14501 Apr 28, 2012, 7:40 AM
Post Re: [Johnny23] adding an entry/add.cgi
Andy 14513 Apr 28, 2012, 10:01 AM
Post Re: [Johnny23] adding an entry/add.cgi
PerlFlunkie 13969 Aug 22, 2012, 9:10 PM