[PHP-DB] Special Characters
Hi I am a bit of a newbie to some of this... but I have an issue where I need to read in a file that contains German characters and display them in a browser.. It appears the german ß (ss) gets translated etc I have tried get_html_translation_table(HTML_ENTITIES) and htmlentities() I am using the latest PHP 4.3.2 on OSX My example code is: ?php $filename=/Library/WebServer/Documents/aointernational/datasource/test.xml; $data = (file_get_contents($filename)); print $data; ? Any help would be great! TIA Daz -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DB] WebSite Submissions Question
Hi All On the website I am building, my Index page (index.html) does a check to see if it is Internet Explorer or Netscape Navigator that the user has for a browser.. and redirects the user to either header(Location: ../nav/index.html); or header(Location: ../ie/index.html); depending on the result... I have one worry though, and that is how do search engines react to this, when ranking the site? I have all the meta data optimization etc after the redirection but do the search engines see this or follow the link?? Do they ignore the ? .. ? structure?? I already parse all .html through PHP with Apache, hence the .php is not required or penalized... Thanks for any advice... Daz -- -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DB] php.ini Question
Hi could anyone point me in the right direction please?? I needed to use php to upload some large files into mysql and reading through previous posts saw that the php.ini file has a default entry limit of 2M... this explained why small files were ok but not large ones... OK.. but I didnt have a php.ini... hence I downloaded the lastest php and used the 4.2.1 php.ini-dist file renaming it to the php.ini and putting it in usr/local/bin as listed in phpinfo() I changed the min file upload limit to 1000M setting and rebooted the machine.. Since then phpinfo() says the default php.ini file is just /php.ini and also worse is that all my forms no longer work! basic variables are not being passed across... I also read that this can be caused by a setting in the php.ini file.. but which one? Also is there a limit on the file size I can upload?? I noticed that there is also a limit in the php.ini file on the amount of data post can handle.. is this a concern?? Setup: OSX Server 10.1.4, PHP 4.2.1, Mysql 3.23.46 Cheers for any advice! Daz -- -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DB] php.ini Question
Hi could anyone point me in the right direction please?? I needed to use php to upload some large files into mysql and reading through previous posts saw that the php.ini file has a default entry limit of 2M... this explained why small files were ok but not large ones... OK.. but I didnt have a php.ini... hence I downloaded the lastest php and used the 4.2.1 php.ini-dist file renaming it to the php.ini and putting it in usr/local/bin as listed in phpinfo() I changed the min file upload limit to 1000M setting and rebooted the machine.. Since then phpinfo() says the default php.ini file is just /php.ini and also worse is that all my forms no longer work! basic variables are not being passed across... I also read that this can be caused by a setting in the php.ini file.. but which one? Also is there a limit on the file size I can upload?? I noticed that there is also a limit in the php.ini file on the amount of data post can handle.. is this a concern?? Setup: OSX Server 10.1.4, PHP 4.2.1, Mysql 3.23.46 Cheers for any advice! Daz BTW Sorry if you get this twice but I had a response from the list saying could not be delivered... mailing list (Mailbox or Conference is full.)? -- -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php