Re: [PHP-WIN] What's wrong with these two programs?

2004-11-22 Thread Michael Purdy
Anthony Assuming you have not omitted any of the code for script 2: You need to have a get the posted value at the start of script 2 i.e. $username = $_REQUEST['userName']; Mike - Original Message - From: "aomarlow" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 2

RE: [PHP-WIN] What's wrong with these two programs?

2004-11-22 Thread Armando
Anthony, there is nothing wrong with what you've done, but try changing your 'print' line in hiUser.php to: print "Hi there, ". $_POST["userName"] .""; And it should now work. Cheers. Armando -Original Message- From: aomarlow [mailto:[EMAIL PROTECTED] Sent: November 22, 2004 9:36 PM To

php-windows Digest 23 Nov 2004 03:36:10 -0000 Issue 2479

2004-11-22 Thread php-windows-digest-help
php-windows Digest 23 Nov 2004 03:36:10 - Issue 2479 Topics (messages 25013 through 25026): 'Unable to load' extension dll if VS.net 2003 not installed 25013 by: Tang, Ming-Chung 25025 by: Edin Kadribasic Insert keys into an array using variables 25014 by: Rafael Soa

[PHP-WIN] What's wrong with these two programs?

2004-11-22 Thread aomarlow
Hi,   Can anyone tell me what's wrong with the two following programs?  The first (whatsName.html) is straight HTML, and is supposed to build a form that asks a question.  The second program, (hiUser.php) is supposed to read the value input by the user, and process it.  I'm not having any trouble w

[PHP-WIN] Re: 'Unable to load' extension dll if VS.net 2003 not installed

2004-11-22 Thread Edin Kadribasic
Hi, You are right, VS.net 2003 compiles all dlls against a newer version of C runtime (msvcrt7.dll). You can check this by running "depends php_devarticlesmod.dll" or double clicking on it on a machine that has VS.net installed. Edin "Ming-Chung Tang" <[EMAIL PROTECTED]> wrote in message news:[E

RE: [PHP-WIN] Re: Passing an Array in HTML

2004-11-22 Thread Vail, Warren
Only real array I've ever seen in HTML is one passed to JavaScript. Anyone else found another way? I suppose you could do it as a pull down list (preselecting all selections), but risk is your user will screw up the data by clicking on the list, but that struck me as kind of hokey (a technical te

[PHP-WIN] Re: Passing an Array in HTML

2004-11-22 Thread MikeA
So the only way to do it is by separating all of the elements instead of sending it as one big array? Hmmm. There is no better way to pass an array? Thanks. Mike "Vail, Warren" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > You can pass array data by adding it to the form (prob

RE: [PHP-WIN] Passing an Array in HTML

2004-11-22 Thread Vail, Warren
You can pass array data by adding it to the form (probably not a good practice, I would choose sessions to pass the data, but incase you have some need that is ok, try the following); // To add the data to your form; Foreach($data_old as $k => $v) echo "\n"; // to get the data returned from the

[PHP-WIN] Passing an Array in HTML

2004-11-22 Thread MikeA
I am reading a file into an array ($data_old = file("config.old");) and then processing it as I receive information from the user. As we all know, the Internet is stateless, so I need to read back in the array after I get my answer. Array definitions are $data_old = array(); $data_new = array();

RE: [PHP-WIN] How can I?

2004-11-22 Thread Gryffyn, Trevor
What's the lowest common factor in how changes are applied? If everything created in "/company/" is going to have the same style, same left hand navigation, etc... And everything in "/clients/" is going to have the same style, same left hand navigation, etc... Then I'd recommend something like t

RE: [PHP-WIN] Insert keys into an array using variables

2004-11-22 Thread Wagner, Aaron
try this.. $value)); } } ?> $stack = array_merge($stack, array("one"=>"test")); Aaron N Wagner WagnerWebDesign.net > -Original Message- > From: Rafael Soares [mailto:[EMAIL PROTECTED] > Sent: November 22, 2004 10:58 > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Inser

RE: [PHP-WIN] How can I?

2004-11-22 Thread Tony Devlin
Well it's not "just" stylesheet changes. We have links that are different for the different folders. For example we have a left navigation bar, those links displayed there will change based on the directory, as well as a couple H1 tags that display some basic info that differs directory to direct

RE: [PHP-WIN] How can I?

2004-11-22 Thread Gryffyn, Trevor
I think you're over-thinking this one or maybe doing it the hard way. If everything in a particular folder is always going to have the same theme, then just put the stylesheet in that folder and references it in the HTML you output. "localstyle.css" Something like that. If you want to be able t

RE: [PHP-WIN] How can I?

2004-11-22 Thread Tony Devlin
The reasoning for this is so that I can apply different stylesheets and formatting to different pages inside a specific site. The entire site is dynamic and changeable, they can add pages/subtract pages, etc.. so the layout information needs to be controlled on the header page, the only static/unt

RE: [PHP-WIN] How can I?

2004-11-22 Thread Gryffyn, Trevor
I'm not quite sure what you're asking for here, but let me take a shot: Do you want the scripts in, say, your index.php's to know what folder they're in and act accordingly? So you'd essentially have exactly the same index.php in every folder, but they would do different things depending on if th

[PHP-WIN] Insert keys into an array using variables

2004-11-22 Thread Rafael Soares
Hello! I have a script that gets some _POST variables (all, except some ones specified in an array) and puts into another array, to use them in an e-mail message later. But the script needs to catch ANY vars, like I don't know which vars will be sent in _POST. This script will show it better:

[PHP-WIN] 'Unable to load' extension dll if VS.net 2003 not installed

2004-11-22 Thread Tang, Ming-Chung
-Original Message- From: Tang, Ming-Chung [mailto:[EMAIL PROTECTED] Sent: Monday, November 22, 2004 10:50 PM To: '[EMAIL PROTECTED]' Subject: 'Unable to load' extension dll if VS.net 2003 not installed Hi all, I followed the great intro '

php-windows Digest 22 Nov 2004 14:20:12 -0000 Issue 2478

2004-11-22 Thread php-windows-digest-help
php-windows Digest 22 Nov 2004 14:20:12 - Issue 2478 Topics (messages 25012 through 25012): How can I? 25012 by: Tony Devlin Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to t

[PHP-WIN] How can I?

2004-11-22 Thread Tony Devlin
First off, I wanna thank everyone who helped me with the GD image issue. I have fixed the problem and appreciate the responses. Onto the real question. I'm trying to make a switch statement that switches a header file based upon what folder you are in... An example: Let's say I have 3 folders