-
Posts
1,516 -
Joined
-
Last visited
Everything posted by Ric
-
This post cannot be displayed because it is in a password protected forum. Enter Password
-
This post cannot be displayed because it is in a password protected forum. Enter Password
-
This post cannot be displayed because it is in a password protected forum. Enter Password
-
This post cannot be displayed because it is in a password protected forum. Enter Password
-
This post cannot be displayed because it is in a password protected forum. Enter Password
-
Note: Only changing the password in file mysql_password without changing the database user root first is the main cause for this error message. “#1045 - Access denied for user 'root'@'localhost' (using password: YES)” For changing root password check out these pages: http://center.uniformserver.com/uniserver/...check_list.html or http://center.uniformserver.com/new_users/...#mysql_security If you want to host multi-MySQL users and use phpMyAdmin check out this page: http://center.uniformserver.com/mysql/mysql_accounts.html Hope that helps
-
I use KISS keep it simple and stupid so it works in IE first. When another version of IE pops up its always a “kiss” of death. I would recommend never ever use Firefox or Opera they are too standard compliant and just make life far to easy. No stick with IE they have introduced another new instruction with the release for IE7 making your life that little easier. I find these two-instructions works fine: <!--[if IE 6]>Special instructions for IE 6 here <!--[if IE 7]>Special instructions for IE 7 here They give you the ability to target CSS directly for a particular version using conditional comments. Need more info follow this link? http://www.quirksmode.org/css/condcom.html Seriously you have to live with these non-standard compliant browsers so bite the bullet and except the need to re-style part of your CSS. Try to avoid any hacks in your main CSS use the “if selector comments” to target the problem areas. The one thing I could not find in either Firefox or Opera was an equivalent “if selector comment” I honestly do dread firing up IE to check any code be it CSS or JavaScript.
-
Hi metaltailz Thanks for that post I had no idea that cPanel was commercial. Like you I would also ask do they have an unlimited free version. Now please do not get me wrong on that comment. To be reasonably consistent with open software, any free commercial software shall not have a time limit on it. That said I expect reduced functionality however if it meets my needs then no problem, but if I get cut off after say thirty says then it is an issue. I am in the process of looking at another commercial product and will put this on UniCenter. Even with its limited free version functionality it is an ace product. It’s not a closed secret look for OM3 or Office Mail from Burrotech. I am looking at another two weeks before publishing. Sorry for the ramble but when something strikes my heart and beliefs I have been know to ramble on and on. Hi DJC Google is a very good place to start for alternatives. Try XAMP, TINY server, MINI server, WEB server on a USB, the bottom line find something that suits your needs and use it.
-
Ho! For a static IP address Your first port of call could be this page: http://center.uniformserver.com/uniserver/..._it_online.html Then take it from there I have never used Cpanel X hence no idea Give it a bash and see if it works.
-
I think you have one of two problems! 1) If you are running a version of MySQL below version 5 you need to upgrade to 5. 2) OK so you are running UniServer 3.3 and MySQL is version 5.0.17 I ran a quick test and can confirm the mysql.proc error. I think you need to run mysql_fix_privilege_tables.sql script to fix the problem. Almost sure you need the correct version of the script to match 5.0.17 The script is not included with UniServer 3.3 and I could not find one on the net. I pass this one over to Olajide I could be totally wrong.
-
Excellent deduction, if you are in the mood to hack some code visit this page: http://center.uniformserver.com/new_users/problems_1.html :angry: Hi Olajide great to see you back I know you have been busy hence will not know of the above pages existence.
-
I am not sure if my ramblings on this are of any help: http://center.uniformserver.com/tomcat_ins..._install_1.html Its not a plugin but may be useful to get you started.
-
Just for reference, there are a few other minor things that need changing in UniTray.ini take a look at the link below. http://center.uniformserver.com/unitray/un..._install_1.html What I like about UniTray, it is not UniServer specific, by that I mean you can use it to run other programs. In keeping with UniServer you can hack it around for your own use. If you break it just load a fresh copy and start again.
-
The caps lock key is a real pain. For home users why not turn it into something that is more useful. Take a look at ClipControl turns that caps lock key into a clipboard control key. http://sourceforge.net/project/downloading...xe&47440710 Additional information: http://clipcontrol.anticapslock.com/ The ideal solution would be to disable the key using PHP; a user visiting your site would not then have this problem. The bottom line, you cant in any version of PHP or in future versions (security risk). If a user accidentally hits the caps lock key that person will have problems not only entering a user name but also a password and any forms they fill in. I mention passwords because ideally these contain both upper and lowercase characters along with digits (security). Mixed case characters in a name are easy to handle just convert all characters to either upper or lower case and then perform a comparison. You can do the same with a password (note this reduces security). I have assumed you just want to do this for web pages and not server access. If this is the case you need to use something similar to this: Save as form.html <html> <head> <title>Test form</title> </head> <body > <p>Please enter your name<p/> <form action="check.php" method="post" > User Name: <input type="text" name="Name" value="Mike SmITH" /> <p>Calls page check.php</p> <input value="Enter" type="submit"> </form> </body> </html> Save as check.php <html> <head> <title>Check</title> </head> <body > <? $some_name = $_REQUEST['Name']; //read name $upper_case_name = strtoupper($some_name); // convert to upper case echo "Your name is : <b> $some_name</b><br>"; echo "Your name is : <b> $upper_case_name</b><br>"; if($upper_case_name == "MIKE SMITH"){ echo "Your name is valid welcome<br>"; } else{ echo "Your name is invalid!!!<br>"; } ?> <p><a href="form.html">Back to form page form.html</a></p> </body> </html> The above is just an example what you use depend on the application. It will not resolve the form-filling problem.
-
No just one instance of UniServer (it will not allow you to start another). Any way that’s the power of Apache you can server pages from any location. Using VirtualHost makes it very easy.
-
Thanks for the info, there are no directives to collectively allocate disk space allowing several drives to appear as one. You have the following options to resolve your problem: 1) Remove the disk partitions giving you that extra space required. 2) Add an extra hard drive with increased capacity. 3) If you are hosting more that one site using VirtualHost you can map these across drives. For example DocumentRoot C:/site1/www Or DocumentRoot E:/site2/www Note: Use absolute paths If site1 becomes too large for drive C install a new drive for example Z and just re-map using DocumentRoot Z:/site1/www Any other ideas or thoughts are welcome
-
Thanks kalpz for some reason I forgot to add $_POST and $_GET to avoid any confusion I have replaced my original post. Note: Most books refer to $_POST, $_GET and $_COOKIE these are separate arrays as you rightly point out $_REQUEST can be used its advantage is that it incorporates all three of the above.
-
Could you post the two test files! OR Check out these scripts: Save the following to your www folder on UniServer Note: I have corrected this post, thanks kalpz for some reason I forgot to add $_POST['Name'] Save as test1.html <html> <head> <title>Test1</title> </head> <body > <p>This test uses a standard link to call a PHP page</a></p> <p><a href="test3.php?Name=Fred from test page 1">test3.php?Name=Fred from test page 1</a></p> </body> </html> Save as test2.html <html> <head> <title>Test2</title> </head> <body > This test uses a form <form action="test3.php" method="post" > Name: <input type="text" name="Name" value="Fred from test page 2 using post" /></br> <input value="Click to go to Test3.php" type="submit"> </form> </body> </html> Save as test3.php <html> <head> <title>Test3</title> </head> <body > <? echo 'You came from page test1.html using GET <b>'. $_GET['Name'].'</b><br>'; echo 'You came from page test2.html using POST <b>'. $_POST['Name'].'</b>'; ?> <p><a href="test1.html">Back to test page Test1.html</a></p> <p><a href="test2.html">Back to test page Test2.html</a></p> </body> </html> Start UniServer and type http://localhost/test1.html into your browser And follow the three links. Note: Test2 method="post" you can use method="get"
-
A character set mapping could cause the problem! I am not sure however because you have two working copies of Apache you could try the following: Open the configuration file for UniServer located in *\UniServer3_3_temp\Uniform Server\diskw\usr\local\apache2\conf\httpd.conf Open the corresponding httpd.conf file for your Windows default installation: C:\Program Files\Apache Group\ apache2\conf\httpd.conf Note: The locations (paths) may be different depending on your setup Now search for AddCharset in both files (there will be several entries) and look like this: AddCharset ISO-8859-1 .iso8859-1 .latin1 AddCharset ISO-8859-2 .iso8859-2 .latin2 .cen AddCharset ISO-8859-3 .iso8859-3 .latin3 AddCharset ISO-8859-4 .iso8859-4 .latin4 AddCharset ISO-8859-5 .iso8859-5 .latin5 .cyr .iso-ru Any differences add them to the UniServer config file this may resolve your problem. Not a definitive answer but at least a place to start. If it works would be interesting to see what the lines are, thanks
-
I am not sure what you are trying to do; a little more detail would help.
-
1) Open the file .htaccess located in folder www Comment out the three lines so they look like this: #Order Deny,Allow #Deny from all #Allow from 127.0.0.1 This opens your server up for external access. 2) Check you PC IP address as follows: Start > run > type in cmd and click OK In the window that pops up type in ipconfig /all Look for your IP address it will look something like this: 192.168.1.6 Note the value: 3) On the remote machine type this value in for example http://192.168.1.6 That will display your server on the remote machine.
-
Done http://center.uniformserver.com/virtual_ho...host_pac_1.html Hope it is of some help
-
With those last two questions I now have three to answer! The alias solution works fine for relative links however it will fall over with root relative links. The CNAME cannot be resolved within Apache its only possible using a DNS server or local DNS like the host file. Looking at the original problem I think your use of NameVirtualHost sections in Apache is the correct way to precede. Since this is a test environment you can do what you like. I am thinking treat UniServer as a proxy and let the browser take the strain and become effectively your DNS server. I will take a look at this over the weekend it involves using a PAC (Proxy Auto-Configuration) file for your browser.
-
What an ace post dimo414 Absolutely agree, and then you go on to this: Are! So no flash things with turbo spin! Now we are talking size! Who are these “most” people! Well I am one of those people, no spin, why does this not fit on a floppy (size). I have designed my new site using UniServer version # and my provider has not upgraded. Hey now it’s your server you can do what you like and use what ever like. To the UniServer team: Sadly in the UK we get ****all, no PHP or MySQL as standard, want a server script “yep free site counter! Well”. Run your own scripts, no problem, now you need a business account, upgrade extra dosh. What! You need to run out of safe mode, no problem that’s gold class business account, more dosh. Are! Did you really want that MySQL thing; we only offer IIS, it’s in the small print! Ho dear you are locked into a twelve-month agreement. Sorry our systems are proven and are reliable MySQL 1.001 and PHP 0.001 have served the industry for as long as the Internet was invented. OK, a little exaggerated but the point is, give us something that works, clean, neat and tidy. If we need to be cleaver restrict us to local, remember that when we publish; service providers are restrictive. Then again we do need to use the new techno stuff an interesting balancing act! Please not for the sales person or the sound bit, but for real users.
-
That’s an interesting one, if your sites use relative links and you are not really bothered with what’s displayed in your browser address bar you can use an alias For example say you have two sites, site2 and site3 (located in folder www) they are complete and independent with their own index page. You would for test purposes access these using the following: http://localhost/site2/ http://localhost/site3/ Those lines represent your real top-level domain names. Such as www.site2.com or www.site3.net when you publish that’s what you would use and see. However in a test situation you would see http://localhost/site2/ and http://localhost/site3/ respectively. If you are happy with that set the aliases as follows: Open the file httpd.conf Located in: *:\UniServer3_3\Uniform Server\diskw\usr\local\apache2\conf Search for this section: Alias /apanel/ "/home/admin/www/" <Directory "/home/admin/www/"> Options Indexes Includes AllowOverride All Order allow,deny Allow from all </Directory> Below this add the following: Alias /site2/ "/www/site2/" <Directory "/www/site2/"> Options Indexes FollowSymLinks MultiViews ExecCGI AllowOverride All Order allow,deny Allow from all </Directory> Alias /site3/ "/www/site3/" <Directory "/www/site3/"> Options Indexes FollowSymLinks MultiViews ExecCGI AllowOverride All Order allow,deny Allow from all </Directory> Note: You do not need the virtual host section at the bottom of the page for a test server. That may help! :angry: I am not sure on that one