[PHP] HELP: Text editor that deals with BOM very well
Hello everyone, Just need to ask a simple question, where can a find a text editor that deals with byte order mark very well? I've been using dreamweaver for a few years now but im not impressed by how it deals with BOM. i need a text editor that can view a bom and can remove it from the file and still save it as utf8. any suggestions? Ryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: problem with install php 5.2.3 on apache 2.2.4 in windows xp sp2
Arvin, You inserted the codes to your index.html file? ""arvin lee"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > system: windows xp sp 2 > apache: apache_2.2.4-win32-x86-no_ssl > PHP: php-5.2.3-win32-installer.msi > > i try to install php on my computer so that i can finish my homework, but > after download these files nightmare begins. Install apache with default > settings, install php with default settings. Restart apache server .While > I > modify index.html add , open 127.0.0.1 , apache > server > default page pops up with no change. Creat a new file named as > phpinfo.php, modify > httpd.conf , add line AddType application/x-httpd-php .php then restart > apache. open broswer key in address 127.0.0.1/phpinfo.php ,it show me > nothing. is there anyone can help ? > PS. I have reinstall my windows system, nothing change.( Now I am using > Appserv to finish my homewhere.) > one thing, after install php 5.2.3 on apache server, when I stop apache > server ,windows system show my two error message. > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] #2003 - The server is not responding
okay. I'll check on that one. Thanks ""Daniel Brown"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On 7/16/07, Ryan Lao <[EMAIL PROTECTED]> wrote: >> I uninstalled my old versions of apache, mysql and php then installed >> wamp >> on my computer. everything seems to be working when i access localhost, >> except when i go to phpmyadmin. I get this error on screen "MySQL said: >> #2003 - The server is not responding"... so i updated the config.php file >> but still i get the same error. does this have to do with the old >> password >> or username that i used before with my old mysql? or is it something else >> entirely? some help would really be appreciated >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> > >That's actually a MySQL rather than PHP question, but the error > message gives you the answer in context: > >"The server is not responding" > >1.) Check to make sure it's installed properly. >2.) Check to ensure that MySQL starts and runs properly without > quitting. >3.) Check the ports on which MySQL's daemon is set to listen. >4.) Attempt to connect via the shell to MySQL. >5.) Check your configure.inc.php (I think that's what phpMyAdmin uses) >5a.) Make sure the IP/hostname is correct >5b.) If not localhost, make sure the port number is correct >6.) If connecting to anything other than `localhost` check your > firewall settings > >The username/password combination will have nothing to do with > this particular error, but may become an issue once you've connected > to the server. > > -- > Daniel P. Brown > [office] (570-) 587-7080 Ext. 272 > [mobile] (570-) 766-8107 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Creating a text file
okay, i'll try that example you gave me... thanks! ""Daniel Brown"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On 7/17/07, Ryan Lao <[EMAIL PROTECTED]> wrote: >> i made a simple PHP form that would ask for the users complete name, a >> button that would browse to a file that the user wants to upload, a text >> area for additional comments, and a submit button. This form works just >> fine. what i want to achieve next is for my form to also create a text >> file >> when it is submitted. The text file will contain the users complete name, >> the filename that was being uploaded and the additional comments from the >> user. Can anyone give me some ideas on how to do this? >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> > >Ryan, > >Are you trying to create individual files for each form > submission, or one file that will be appended with new data upon > submission? > > -- > Daniel P. Brown > [office] (570-) 587-7080 Ext. 272 > [mobile] (570-) 766-8107 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Creating a text file
i made a simple PHP form that would ask for the users complete name, a button that would browse to a file that the user wants to upload, a text area for additional comments, and a submit button. This form works just fine. what i want to achieve next is for my form to also create a text file when it is submitted. The text file will contain the users complete name, the filename that was being uploaded and the additional comments from the user. Can anyone give me some ideas on how to do this? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] #2003 - The server is not responding
I uninstalled my old versions of apache, mysql and php then installed wamp on my computer. everything seems to be working when i access localhost, except when i go to phpmyadmin. I get this error on screen "MySQL said: #2003 - The server is not responding"... so i updated the config.php file but still i get the same error. does this have to do with the old password or username that i used before with my old mysql? or is it something else entirely? some help would really be appreciated -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php