[PHP] Re: Postnuke Anyone ?

2002-05-05 Thread Ricardo Fitzgerald
Kirk, Thanx for your help, I've tried with another script and it worked, I successfully retrieved variable content after issueing a POST, I had to add my code after the heather code --- ?php header code ? ?php my code ? ? footer code ? This code simply posts the form and uses javascript to

Re: [PHP] Re: Postnuke Anyone ?

2002-05-04 Thread Ricardo Fitzgerald
How about some code? Here is the code ?php include 'includes/pnAPI.php'; pnInit(); include 'includes/legacy.php'; pnThemeLoad(); # includes the mainfile functions and the header junk if (!isset($mainfile)) { include(mainfile.php); } include(header.php); # When submit starts db connection

[PHP] Re: Postnuke Anyone ?

2002-05-04 Thread Kirk Babb
Ricardo, I have noticed several things from just a quick look at your code: 1. If your not able to post any data/receive any variables from your form when the submit button is clicked, you could have register_globals set to Off. Here is a example form used for that situation: form name=form1

[PHP] Re: Postnuke Anyone ?

2002-05-03 Thread Kirk Babb
How about some code? Ricardo Fitzgerald [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, I've been unsuccesfully trying to add a php script to a postnuke menu. What I did is a simple form, that connects to a mysql database, and inserts data, then some