Pages: PreviousFirst...34567...LastNext
Current Page: 5 of 20
Results 121 - 150 of 577
15 years ago
toivo
Hi, An error message about a syntax error in MySQL means that the statement indeed has a syntax error. If in doubt, copy and paste both the exact statement and the full error message here and someone will be able to interpret it for you. Regards,
Forum: WampServer English
15 years ago
toivo
Hi, If you have just installed the latest version of WAMP2, you already have PHP 5.2.6. If your application for some reason requires you to run PHP from the command line, meaning from the Windows command prompt (Start - Run - cmd - OK), you need to add the path to php.exe into the system variable PATH through the Control Panel - System - Advanced - Environment Variables - System variables.
Forum: WampServer English
15 years ago
toivo
Hi, Unless you have turned the option short_open_tag on in php.ini, you need to use the normal open tag: <?php Regards,
Forum: WampServer English
15 years ago
toivo
Hi, Have you checked the PHP error log in c:/wamp/logs for any errors which usually explain the blank pages? You could also search for 'smtp' in this forum from the last 90 days - just click the line that asks you to click it to see the results. Keep in mind the security of your site and do some reading regarding 'mail injection' and 'sql injection' and protect your forms first before pu
Forum: WampServer English
15 years ago
toivo
Cheers. I support several sites with one external IP address serving a number of domains and subdomains through name-based virtual hosts. Even though I have not used two servers exactly like your configuration, I do not think IIS cares where the request comes from when it sends the response to the browser :-) Regards,
Forum: WampServer English
15 years ago
toivo
Cheers, Tom. After a day of +35C, it has been raining for a couple of days here in Sydney. By the way, if you want to administer your MySQL server remotely from the LAN, it is easier to use a client application like MySQL Administrator which is not dependent on the web server running on the local machine. Regards,
Forum: WampServer English
15 years ago
toivo
127. Re: smtp
Hi, If you do a search on this forum for 'smtp' from the last 90 days, you will find out all the answers and more. Just click the line that prompts you to click it to see the hits. Remember, if you are planning to publish your site, you need to make sure you follow the standard security guidelines to prevent your server from becoming 'owned' due to badly written forms and scripts. Do some
Forum: WampServer English
15 years ago
toivo
Hi, The ProxyPass directive maps remote servers to the URL space of the current Virtual Host, so that the content served by the other server becomes part of the domain of the current Virtual Host, which is not the case here. Your Virtual Host does not want to know about the DocumentRoot folder in the server running IIS, therefore it throws a syntax error. You can use mod_rewrite to sol
Forum: WampServer English
15 years ago
toivo
stevenmartin99 Wrote: ------------------------------------------------------- > try this code > > > <?php > $link = mysql_connect('localhost', 'root'); > if (!$connect) { die('Could not connect: ' . > mysql_error());} > echo 'Connected successfully'; > mysql_close($connect); > ?> Hi Steven, You mean 'if (!$link)' ;-) Regards, Toivo
Forum: WampServer English
15 years ago
toivo
auttranadhie Wrote: ------------------------------------------------------- > Hi, again, Steven, > > Here below you will find the entire code. This is > just a test in order to know if I am able to > connect to my database (what is called "ccea". > The PHP files are under a directory called > \www\ccea (where WWW is the WAMP working folder). > > fun
Forum: WampServer English
15 years ago
toivo
Hi, If you created a database, you gave it a name and you need to use that name when connecting to the database. Use phpMyAdmin to create a user and give that user a password. Add a host 'localhost' under your user and assign database-specific access rights required by your application (while testing you can add all rights) to that combination of user, host and database. That shoul
Forum: WampServer English
15 years ago
toivo
Hi, Edit the file ConfirmAccount.sql and do as it says, replace the string /*$wgDBprefix*/ as indicated in the instructions with the prefix of the tables in your wiki, probably ece. with the dot at the end. Open phpMyAdmin. If you have any problems in accessing it, just do a search on this forum for phpMyAdmin to find previous posts how to set the password (click the line that says so to s
Forum: WampServer English
15 years ago
toivo
Hi, Stopping the notices in php.ini works all right: error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT In a production server you would also have: display_errors = Off log_errors = On Make sure you have edited the correct php.ini file. It is in c:\wamp\bin\apache\apache2.2.8\bin. Remember to restart the Apache service from the WAMP icon in the system tray. Regards,
Forum: WampServer English
15 years ago
toivo
Hi, If you want to use mysqldump to back up the database, you can enter the full path when typing the command, or add the path c:\wamp\bin\mysql\mysql5.0.51b\bin to the System variable PATH in Control Panel - System - Advanced - Environment Variables - System variables. You can make a backup from the command line or a scheduled task in Windows like this, assuming that myusername and mypassw
Forum: WampServer English
15 years ago
toivo
Hi, It is best not to embed a document root into another. The document root of a virtual host does not have to reside in c:\wamp\www, it can be for example in E:\www\emg. That way you can avoid the complexity altogether. Regards,
Forum: WampServer English
15 years ago
toivo
Hi, I hope you are not connecting your server directly to the net. Usually one has a firewall combined with the modem or router which connects your LAN to the ISP. Regards,
Forum: WampServer English
15 years ago
toivo
Hi, Forwarding TCP port 80 allows your WAMP to function as a web server. Regards,
Forum: WampServer English
15 years ago
toivo
Hi, You can always install MySQL GUI Tools to any workstation, and also on the same box that WAMP runs on, which makes it easier to set the initial root password and add users to connect remotely using the GUI Tools. If you connect to the MySQL server remotely, you need to add the host from which you connect under the user in User Administration - User Accounts. Regards,
Forum: WampServer English
15 years ago
toivo
Hi, It is possible to run command line interface (CLI) scripts. The configuration is set in a php.ini file in the php folder. You can add the folder where php.exe resides to system variable PATH through the Control Panel and call the script from a task in Windows Scheduler. Regards,
Forum: WampServer English
15 years ago
toivo
Hi, The php.ini file in the php folder is used only by the command line interface (CLI) scripts. The one in the apache folder is used by the web server. Regards,
Forum: WampServer English
15 years ago
toivo
Hi, Try this: create database word; Regards,
Forum: WampServer English
15 years ago
toivo
Hi, 1) Yes 2) I do not think you can install a web server on GoDaddy, you can just use the servers they have installed. You can install WAMP for local development but you can also install it in a data centre on a dedicated server box or into a guest host in a virtual server environment, no problems. Regards,
Forum: WampServer English
15 years ago
toivo
Hi, It is not a right click, just a left click. Regards,
Forum: WampServer English
15 years ago
toivo
Hi, As the PHP manual says at , the Open Source version that comes with PHP is PDFlib Lite which "...allows free use only under certain conditions". If you plan to use PDFLib in a commercial setup, you will need to purchase a licence. The FPDF product is self-contained and free. Regards,
Forum: WampServer English
15 years ago
toivo
Hi, This earlier thread has some points about the topic: There are a couple of differences to the Linux environment, though: I have not found a solution how to the rotate the log files, and therefore once a fortnight I usually stop Apache, rename the log files and start Apache. If you need to support large file transfers (100s of MB or more), make sure you follow the Windows speci
Forum: WampServer English
15 years ago
toivo
Hi, According to the manual at , this is the format you need to use: $p = new PDFlib(); Rather than using PDFLib Lite for development and having to buy the licence to use the real thing for a commercial site, I use FPDF from . Regards,
Forum: WampServer English
15 years ago
toivo
Hi, You can use the BLOB datatype. More info: Depending on how the data gets there, you will need to adjust certain limits in the MySQL server, and the PHP upload size. Regards,
Forum: WampServer English
15 years ago
toivo
Here is an example from a working system, to restrict access to the admin folder to IP addresses in the LAN: Order deny,allow Deny from all Allow from 10.176 Make sure your file is .htaccess and not .htaccess.txt. Regards,
Forum: WampServer English
15 years ago
toivo
Hi, Try changing the order of the virtual host definitions. The first listed virtual host is the default virtual host. By the way, I would keep the documentroots of virtual hosts as separate, not embedded, folders. These folders do not have to reside in c:/wamp either. Regards,
Forum: WampServer English
15 years ago
toivo
Hi, You can add an .htaccess file to the directory and use the allow directive: Regards,
Forum: WampServer English
Pages: PreviousFirst...34567...LastNext
Current Page: 5 of 20