wildteen88
Staff Alumni-
Posts
10,480 -
Joined
-
Last visited
Never
Everything posted by wildteen88
-
[quote author=wamasterhunter link=topic=121968.msg508190#msg508190 date=1169161402] I am having the same problem, except I have php5 and Apache 2.2. Here is what I wrote: LoadModule php5_module c:/php5/php5apache2.dll I even went and checked to see if that was the right address and it was. But when I try to start apache it says I have an error and referrs me to this line. ???[/quote] If you have PHP5.2 use php5apache2_2.dll instead this is the Apache2.2.x module. php5apache2.dll is the APache2.0.x module and php5apache.dll is the APache1.3.x module.
-
Yeah, fireFTP is good. I use it all the time. Very easy to use.
-
phpmyadmin - how to turn on bookmarks?
wildteen88 replied to mameha's topic in PHP Installation and Configuration
What do you mean bookmarks? Do you mean you wnat to save a page to your browsers favourites? If you do you can't as phpMyAdmin uses frames. -
A Problem displaying PHP files
wildteen88 replied to Drew_13's topic in PHP Installation and Configuration
Look in Apaches error log, should be in the logs folder with in the root of Apache's installation folder, eg C:\Program Files\Apache Group\Apaches\logs It may be Apache's configuration that may be the problem. Rather than loading PHP as CGI load it as an Apache module instead. -
downgrade from PHP ver 5 to 4.3.11
wildteen88 replied to blobby's topic in PHP Installation and Configuration
Why do you need to downgrade? You shouldn't need to downgrade PHP as PHP4 and PHP5 are the same, just PHP5 has better OOP support. You probably just need to change PHPs configuration. As for downgrading MySQL, it wont be easy if you installed WAMP. If you didn't install WAMP and installed AMP (Apache, MySQL and PHP) manually then you it'll be easy. Again why the reason to downgrade, MySQL4 and MySQL5 are backwards compatible. -
cant run the password utility file in my apache install directory
wildteen88 replied to mojito's topic in Apache HTTP Server
You need to run it via the command promt. before you do that you need to change to Apache's bin directory, from example when you go to Start > Run > type cmd You will get the windows command line and by default you are in your work area C:\Documents and Settings\USERNAMEHERE in order to change directories you need to type [b]cd[/b] and then the path to the folder you want to go, example: [tt]cd C:\Program Files\Apache Group\Apache2\bin[/tt] Now press enter. You will now notice that C:\Documents and Settings\USERNAMEHERE and has changed to C:\Program Files\Apache Group\Apache2\bin You can now run the password program via command line. -
The forums have been updated recently and the disappeared. The mod should be added back in soon. The Admins are working on it. For now just post SOLVED when your problem is solved and an moderator/admin will come along and edit the title for your thread and mark it solved for you.
-
A Problem displaying PHP files
wildteen88 replied to Drew_13's topic in PHP Installation and Configuration
The extension_dir should be set the location of PHP's extensions folder. FOr example say you have PHP installed the root of your hard drive [nobbc](C:\)[/nobbc]: in a folder called PHP (C:\PHP) then the extension_dir should be set to "C:\PHP\ext" WHen you've set the extension_dir save the php.ini and restart Apache. -
Installed WAMP5. . . Now What?
wildteen88 replied to idlewild's topic in PHP Installation and Configuration
[quote]So in a nutshell any and all files associated with a php site would be in the WWW folder right?[/quote] Yes, you also place your other files in that folder too, such as html, css, JavaScript, images etc. [quote]Yeah, I know this is gonna take awhile to learn. I've found that the best way I learn how to use a programing code is to get a tutorial with a intact script that then talks me through step by step and tells me what does what and what will happen if I edit this and so on. I've been trying to find some to-the-point tutorials that will help, but so far I've just found a bunch that just blab on and on about stuff and don't give you alot code (and as a result i just get bored and go elsewhere). I'll definetly check out the links you provided though![/quote] If you want to know how to create web applications such as creating a basic blog/forum/cms then there are books out there that show you how to create such PHP apps. However in order to understand whats going on you will need to have a good understanding of the basics of PHP and MySQL. Also create stuff yourself. The more you create stuff yourself the more you learn and understand. [quote]Then I have some questions about phpmyadmin. Well, pretty much, what exactly does it do? It's like it's similar to mySQL but not quite. I've had some expierence with mySQL in cPanel and know how to work that, but I've never done anything with phpmyadmin.[/quote] phpMyAdmin is a web based MySQL control panel if you like. phpMyadmin allows you to manage your MySQL databases/users through a web interface rather than using the command line. It also gives you a nice easy to use user interface. Also phpMyAdmin is created in PHP! [quote]Well, I messed some more around with GoLive, unless I'm blind or just dense, as far as I can see it does not make or provide the ability to save php files. you can add php to a html document, but you can't create a .php file. (I've been using this program for a couple years now and know how it works, it is an older version and only creates .html .css and .jv files. I wonder if a newer version would create a .php file... hmm...). For now I'm trying to find a freeware php editor to download so that I can have the capability to save .php files. Any suggestions?[/quote] Whenever you are developing in PHP code or any other programming language you should use an IDE. IDE's usually have debugging/testing facilities, code highlighting, code suggestions and other tools to help you develope and test your PHP scripts. I use an IDE called RapidPHP2006 has pretty much what I need. There are free alternatives such as jEdit and PHP Designer 2006. Using an HTML editor or any WYSIWYG editor is not recommended when creating PHP scripts especially Dreamweaver! -
just installed MySQL... can't connect phpMyAdmin!
wildteen88 replied to phpaddict's topic in MySQL Help
Installing PHP manually and installing via the installer is completely the same, except the installer attempts to configure the http server you are using automatically for you. I think the installer for windows was an experimental project however it looks asthough it has improved and is stable. I prefer a manual install myself. Also no need to run the setup script for PHPMyAdmin. I prefer to edit the config file myself. You can get this file from phpMyAdmin/libraries you will want to copy config.default.php to the phpMyAdmin folder and then rename this file to config.inc.php. Once you've done that open in Notepad or your preferred PHP editor and change the PMA's configuration to your needs. The configuration file is fully documented so you should be able to adjust the configuration without any trouble. -
Change this: [code]while ($row = mysql_fetch_array ($result)) echo $row['name']. " - ". $row['image'].$row['descr']. " - ". $row['price']; echo " ";[/code] To this: [code=php:0]while ($row = mysql_fetch_array ($result)) { echo $row['name']. ' - <img src="'. $row['image'] . '" />' . $row['descr'] . ' - ' . $row['price'] . "<br />\n"; }[/code]
-
Does the file you are running ending with .php? Also does your 1&1 hosting account allow you to use PHP? If you are learning PHP it is best to install Apache, PHP and MySQL on your computer locally. This saves you from have to upload to your host and you can learn PHP whilst off-line. There is a package you can install called WAMP (Windows Only) or XAMMP (for Macs and Linux).
-
Installed WAMP5. . . Now What?
wildteen88 replied to idlewild's topic in PHP Installation and Configuration
I'm not experienced with that editor but I think it does allow editing of PHP files. When you save PHP files they must have a .php extension. When you save the PHP files you will want to move them to WAMPs www folder (C:\WAMP\www). Then to run your PHP files go to http://localhost/ About the Start All Services and Resume All Services they allow you start and restart WAMP server. You will need to restart WAMP when you change the configuration files, mainly php.ini and httpd.conf I'm not sure what the Put Online function does. I'd recommend you to consult WAMP's documentation for that. Now to learn PHP you wont pick it up straight away. It takes time. PHP is a programming language. When you start out with PHP start with something small and then build on it whilst you are learning PHP. The best place to go to learn PHP is php.net - go there when you don't know what something does. The manual is simple to read. You can never go wrong. Also to get up to speed on basics of PHP go to [url=http://www.w3schools.com/php/default.asp]w3schools.com[/url] (click [next] buttons to go through the tutorials) and [url=http://www.php-mysql-tutorial.com/]php-mysql-tutorial.com[/url] too. -
A Problem displaying PHP files
wildteen88 replied to Drew_13's topic in PHP Installation and Configuration
have you set-up the [size=4][tt]extension_dir[/tt][/size] directive in the php.ini Also turn on the [size=4][tt]display_startup_errors[/tt][/size] too in the php.ini Also it is better to add the PHP folder to the Windows PATH and keep all PHP files in one location - the PHP folder. -
When you apply a background and you 'll want it to be static, then add [tt]background-attachment: fixed;[/tt] to your CSS This then only scroll the content, the background will not move. I'm not sure about your second question. Perhaps provide an illustration
-
Thread locked PLease search the forum there are many topics open suggesting the best editors and such. Please look in the Miscellaneous and Polls forums. Thank you.
-
HELP! How to redirect visitor after form submission?
wildteen88 replied to youngsuccess's topic in PHP Coding Help
Usee thorpe's code. I didnt realise there was a function setup for redirections in your code. You are using AJAX to submit the form. There may be an problem within your javascript that's causing this. -
add backticks (`) to load as well, eg [tt]`load`[/tt]. I think load is a mysql reserved keyword and MySQL is getting confused. There is nothing wrong with the string in $gfa. It something in the query that is kicking up a fuss.
-
Did you restart your server after the edit? Also what version of PHP are you using?
-
[quote author=tarun link=topic=120152.msg503935#msg503935 date=1168689997] im not using a server its jst my computer [/quote] weknowtheworld ment the server software. Not the hardware. Anyway a server is a computer. ;) Also did you read my post (3 posts up from this)? It walks you through setting up PHP and Apache (http server).
-
My very first PHP question: register_globals
wildteen88 replied to robbbert's topic in PHP Coding Help
[quote author=robbbert link=topic=122128.msg503922#msg503922 date=1168687805] ... while I'm still wondering why the .htaccess file doesn't work ... ??? [/quote] Have you configured Apache to allow configuration overriding through .htaccess files? Look for the following in your httpd.conf: [code]# AllowOverride controls what directives may be placed in .htaccess files.[/code] After that it should have the [tt]AllowOverride[/tt] directive. Post what it is currently set to here. In order for .htaccess files to override the servers configuration the [tt]AllowOverride[/tt] directive must have atleast [tt]fileInfo[/tt] listed. Otherwise Apache will ignore .htaccess files. I usually set this directive to [tt]All[/tt], eg: [tt] AllowOverride All[/tt] -
The output is comming from or around line 6 in login.php. Post lines 3 - 9 here.
-
My very first PHP question: register_globals
wildteen88 replied to robbbert's topic in PHP Coding Help
If OSCommerce requires register_globals to be on thne enable it for that script only. Don't enable it site wide. If I remember correctly OSCommerce should have an .htaccess file in the OSCommerce folder. Just edit that and add the following to it: [code]php_flag register_globals On[/code] OSCommerce should now work. Also php_flag or php_value will only work if PHP is loaded as an Apache module. They will not work if PHP is running in CGI mode. -
No. PHP is nothing like javascript. PHP allows you to create a dynamic sites, such as a blog, forum or whatever. It cannot be used for rich media content like drag and drop, pull down menu's etc.
-
help with mysql and php
wildteen88 replied to shermili's topic in PHP Installation and Configuration
No. It is to do with PHP having trouble loading up the MySQL extension. There may be older versions of the following files on your computer that may be causing this: - libmysql.dll - php_mysql.dll Search your computer for these files. php_mysql.dll should be in PHP's ext folder and libmysql should be listed in C:\WINDOWS and in MySQLs bin folder. If the search finds any others rename these to something else, eg: libmysql.dll.bak Restart your server. Do you still get the error message? Also have you added PHP to the Windows PATH?