February 28, 200619 yr comment_2602 Hi, I just discover this server and think it's fantastic, but I got a problem. I've downloaded Uniserver 3.3 and wrote a page with dynamic link, for example: test.php?id=6The variable id didn't show up, if I echo it in test.php. Do I have to change any setting to have it work? mynpc Report
February 28, 200619 yr comment_2603 Have you tested this script on other web servers. I've had no problems with URL parameters using Uniform Server (using either php or perl). Are you using $_REQUEST['id'] to get the parameter? I just created a dirt simple test.php script in w:/www/rick/php: <HTML><BODY><?phpecho "<p>id is " . $_REQUEST['id'] . "</p>";?></BODY></HTML> With Uniform Server running, executing it via http://localhost/rick/php/test.php?id=5results in:id is 5as I'd expect. Report
March 1, 200619 yr Author comment_2604 Thank you for the quick answer. I didn't used $_REQUEST, that's why it doesn't work. I was used to just to write echo $id. On my web server it work without $_REQUEST, so I thought that the configuration of Uniform Server 3.3 was different. Thanksmynpc Report
March 1, 200619 yr comment_2605 $_GET['id'] will also work... <?php echo $_GET['id']; // URL: test.php?id=5 // 5 is outputted ?> Known Languages:adv-XHTML, int-PHP, int-SQL, int-CSS, beg-PythonCurrently reading: Take off in Japanese, How to play popular piano in 10 easy lessons, The Magicians' GuildCurrently learning: Python, Piano, JapaneseCurrent project: RelaxingCurrently playing: Report
March 2, 200619 yr comment_2614 That did not work because Register Globals has been turned Off. Best Regards Olajide Olaolorun The Uniform Server Development Team Report
June 18, 200619 yr comment_3284 Yea, register_globals is a real pain for me. If it is off, NONE of my scripts will run, and it just annoys me to hell! But, I suppose it is best I adapt my scripts to work with it off. ^^' - Hail my own banner for UniServer! Report
June 22, 200619 yr comment_3304 Best Regards Olajide Olaolorun The Uniform Server Development Team Report
July 11, 200619 yr comment_3520 just create a .htaccess file with the following php_flag register_globals Onto the directory that has the script if you like this Uniform Server User Sing take em i do not mind share Report
July 12, 200619 yr comment_3525 Be careful with it.... Best Regards Olajide Olaolorun The Uniform Server Development Team Report
July 14, 200619 yr comment_3548 Agree again..... but if its just for a small site with no biggies, then thats ok... Best Regards Olajide Olaolorun The Uniform Server Development Team Report
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.