Pages: Previous12345...LastNext
Current Page: 3 of 13
Results 61 - 90 of 388
11 years ago
c2dan
This is not a forum to help you with your code, but you're getting the error because in your sql query here $query="select email,fname from members where (password=password($pword) && email='$email')"; You're only grabbing the email, and fname columns from your members table. However on this line if($row['admin']==1){ You're using the column named admin, which you're not se
Forum: WampServer English
11 years ago
c2dan
I would not advise you to use any PHP scripts which insists on register globals to be enabled. It was disabled when PHP4.2 was released which was way back in 2002. Register globals was disabled for a reason (due to security issue) and is soon to be removed completely in PHP6 (when released).
Forum: WampServer English
11 years ago
c2dan
Wamp is not the problem. The problem is more likely to do with Apache (the http server wamp installs). I find it strange you're hosting a live site under a virtual machine tho. Also Wampserver is not intended for hosting live sites. It should only be used for development/testing purposes.
Forum: WampServer English
11 years ago
c2dan
Make sure you have defined localhost as a virutalhost too, eg place the following in extra/httpd-vhosts.conf <VirtualHost localhost:80> ServerName localhost DocumentRoot "C:/wamp/www" </VirtualHost>
Forum: WampServer English
11 years ago
c2dan
WAMP cannot be run under a non-admin user due to the fact Windows requires administrator privileges to be able to start/stop services.
Forum: WampServer English
11 years ago
c2dan
PHP5.3 has dropped support for POSIX based functions -> . You should update your code so it uses the PCRE based functions instead ->
Forum: WampServer English
11 years ago
c2dan
You should downgrade PHP to 5.2.x OR alter your script so its compatible with PHP5.3. Disabling warning messages does not fix anything.
Forum: WampServer English
11 years ago
c2dan
How have you coded your login form. If you're mixing PHP with your HTML then make sure you're using full PHP syntax, eg <?php echo "whatever here"; ?> and not <?="whatever here"?> or <? echo "whatever"; ?> as the above will not work by default as short tags are not enabled. To enable short tags left click wamp tray icon and choose PHP > Settin
Forum: WampServer English
11 years ago
c2dan
You need to configure Apache for Server Side Includes (what .shtml files are used for). Link to manual for SSI
Forum: WampServer English
11 years ago
c2dan
You need to use ServerName and ServerAlias ServerName itrepairlab.com ServerAlias www.itrepairlab.com
Forum: WampServer English
11 years ago
c2dan
To prevent access to a directory place a .htaccess in the directory you want to prevent access to and add the following commands Order allow,deny deny from all NOTE: This will also prevent access to all files/folders within the directory too.
Forum: WampServer English
11 years ago
c2dan
to turn short tags on left click wamp tray icon and go to PHP > settings > short open tag
Forum: WampServer English
11 years ago
c2dan
What color is wamp tray icon? If its yellow/red then wamp is not running due to an error. The "It Works" message is the default text on a fresh Apache install. Have you setup Apache seperatly? Uninstall Apache if you have installed it seperately. WAMP comes with Apache.
Forum: WampServer English
11 years ago
c2dan
Make sure you're restarting Apache after making any changes
Forum: WampServer English
11 years ago
c2dan
To edit php.ini left click wamp tray icon and go to php > php.ini
Forum: WampServer English
11 years ago
c2dan
Once a database/table is deleted it is unrecoverable. Unless you have a backup of the database.
Forum: WampServer English
11 years ago
c2dan
Thoes vhosts appears to be fine, although you can delete these entries <VirtualHost *:80> ServerAdmin webmaster@dummy-host.localhost DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/docs/dummy-host.localhost" Serve
Forum: WampServer English
11 years ago
c2dan
If you changed the port Apache runs on you'll have to add this port the url.
Forum: WampServer English
11 years ago
c2dan
The go-pear.bat file for some reason does not run properly, which is appears to be a common issue. Instead open a command prompt (Start > Accessories > Command Prompt) Run the following command first cd C:/wamp/bin/php/php5.3.0/ Press Enter. Now run the following command to run the pear installer php -d phar.require_hash=0 PEAR/go-pear.phar
Forum: WampServer English
11 years ago
c2dan
1) localhost does not have a link to sqlitemanager, but it does have 2 links to phpmyadmin (2nd link is under "Your Aliases". * Also note the page is blank under "Your Projects" sqlitemanager no longer comes with wamp 2)phpmyadmin has a notice above the password warning: "The additional features for working with linked tables have been deactivated. To find out why
Forum: WampServer English
11 years ago
c2dan
If you go to log_in.php (http://localhost/inv/log_in.php) directly does it load? You should check your PHP error log too in case there is something in your code which is preventing the page from loading. To check the PHP error log Left click WAMP tray icon and choose PHP > error log. Scroll to the bottom of the file for the latest errors.
Forum: WampServer English
11 years ago
c2dan
By default WAMP configures Apache to only parse PHP code within .php files. If you want .html files to be parsed by PHP you'll need to open the httpd.conf (left click WAMP tray icon and choose Apache > httpd.conf Find the following line AddType application/x-httpd-php .php Now underneath that line add AddType application/x-httpd-php .html Save the httpd.conf and restart the Apache ser
Forum: WampServer English
11 years ago
c2dan
Well if the files you deleted are required by the other PHP apps then you'll need to get them back, either by using file recovery program or by downloading the required files from the original developers or wherever you got them from previously.
Forum: WampServer English
11 years ago
c2dan
There is no password set. When prompt for password just press enter.
Forum: WampServer English
11 years ago
c2dan
What do you mean by virtual server? You only need to add your files/folders to C:/wamp/www and go to to run your php sripts etc.
Forum: WampServer English
11 years ago
c2dan
Left click wamp tray icon and choose PHP > extensions > and click on php_mysqli if there is not a tick by it. Try phpmyadmin again.
Forum: WampServer English
11 years ago
c2dan
phpMyAdmin needs to be configured to use the new password you setup. Go to C:/wamp/apps/phpmyadmin Find a file called config.inc.php and find the following line $cfg['Servers'][$i]['password'] = ''; Add your password between the quotes. Personally I prefer phpmyadmin to ask for username/password. If you wish phpmyadmin to ask for username/password simply find this line $cfg['Servers'][$i][
Forum: WampServer English
11 years ago
c2dan
Wamp is running fine. Its your script that is the problem. After this line in your code $conn=mysql_connect("$location","$username","$pass word"; //connect to sql server You need to call mysql_select_db to connect your database. eg mysql_select_db('YOUR_DATABASE_NAME_HERE', $conn); This forum is for issues with WAMP only, not coding issues.
Forum: WampServer English
11 years ago
c2dan
Any version of Apache is compatible with 5.3.0
Forum: WampServer English
11 years ago
c2dan
Sorry I misread your file paths. Ignore my post. I agree with steven to use virtualhost instead of aliases.
Forum: WampServer English
Pages: Previous12345...LastNext
Current Page: 3 of 13